Hi,

I am using libCURL for SMTP on a system with multiple network interfaces.

To be compliant with the SMTP RFC, either the IP-address literal or the 
fully-qualified-domain-name of the system should be specified as part of the 
EHLO/HELO command sent to the mail-server.

Since libCURL lets the networking stack pick the outgoing interface, I am 
seeing that the interface picked and the argument used in the EHLO command do 
NOT match.

I could potentially bind libCURL to use a specific outgoing interface using the 
CURLOPT_INTERFACE option and then specify the corresponding address in the EHLO 
command using CURLOPT_URL.

However, I do not wish to do that. I just wanted to check if libCURL offers any 
SMTP compliance support in this regard for systems with multiple interfaces.

Thanks!
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to