Hi Michael,

You are the first to report this, though it does make sense.  From the msmtp 
documentation...
--
‘domain argument’
This command sets the argument of the SMTP EHLO (or LMTP LHLO) command. The 
default is ‘localhost’, which is stupid but usually works. Try to change the 
default if mails get rejected due to anti-SPAM measures. Possible choices are 
the domain part of your mail address (provider.example for 
[email protected]) or the fully qualified domain name of your host (if 
available).
--

Any suggestions how to handle this ?  I suspect that improperly setting the 
"domain" option could cause more issues than the default 'localhost' value is 
currently.  My hunch is simply setting:
--
domain $DOMAIN
--
could cause issues if the SMTP server did a DNS lookup of $DOMAIN and try to 
match it with the actual client IP address.  I'm thinking we should have a new 
variable for this.

We already have the variable SMTP_DOMAIN related to addressing the 
envelope-from address (maildomain).

How about SMTP_HOST_DOMAIN for setting the "domain" option ?

Lonnie


On Aug 24, 2012, at 1:14 PM, Neuer User wrote:

> Hi
> 
> I can't get astlinux to send emails. Some debugging shows that the
> DOMAIN config option is not set and msmtp then takes "localhost" as
> domain name for the EHLO/HELO. This however, is rejected by quite some
> mailservers with the error message:
> 
> 504 5.5.2 : Helo command rejected: need fully-qualified hostname
> 
> Adding:
> 
> domain $DOMAIN
> 
> to the /etc/init/msmtp init file fixes this.
> 
> Regards
> 
> Michael
> 
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Astlinux-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> [email protected].
> 
> 


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to