curl-library
Fwd: [PATCH] Add --mail-ehlo to set ehlo hostname.
Date: Tue, 12 Apr 2011 16:06:24 +0200
Hi,
This is a simple patch to allow sending email to more strictly
configured mail servers.
Curl was using the shore hostname of my machine as EHLO hostname,
not the FQDN. I also couldn't find an option to set the EHLO hostname.
Some mailservers check if the EHLO hostname does resolve using DNS.
This will fail in some cases if the (short) hostname of the machine is
used.
This patch will add a switch to set the ehlo hostname. This will
cover most cases.
It will not set the HELO hostname.
Please review this patch and commit it if it's useful.
Regards,
Daniël van Eeden
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- text/x-c attachment: 0001-Add-mail-ehlo-to-set-ehlo-hostname.patch