cURL / Mailing Lists / curl-library / Single Mail


Re: SMTP Invalid Address (501 5.5.4)

From: Tom Sparrow <>
Date: Wed, 21 May 2014 23:40:13 +0900

Thanks for your reply.
>I thought it would be but just wanted to be 100% sure ;-)
>Out of interest I take it the full cannonical name of the machine that your running from is not "&&&&&" ?
For setting such name to reproduce issue, I used following command
[sudo sysctl -w kernel.hostname="&&&&&"] on my linux machine (as
hostname command does not allow to set "invalid" name).Writing such
string to /proc/sys/kernel/hostname is one more alternative.

>Does your app work with the problematic server if you perform either of the following:
>a) smtp://
>b) smtp://
Yes.. App works fine with both of the above cases.

(Curl_gethostname is not getting called. *path in
smtp_parse_url_path() is non-null - set to "DUMMY_HOST" for case a and
"" for case b)

Thanks and Regards
List admin:
Received on 2014-05-21