Hi,

Related to Michael's report, we have bumped the SVN version on the build engine 
to "astlinux-1.0-5644" with the standard images built:

http://build.astlinux.org/

The current pre-1.0.5 changes are documented here:

http://astlinux.svn.sourceforge.net/viewvc/astlinux/branches/1.0/docs/ChangeLog.txt

Per Michael's suggestion, there is a new variable SMTP_HOST_DOMAIN (define via 
user.conf) that will solve his msmtp issue...
--
## SMTP_HOST_DOMAIN
## Not required in most cases, the default is to use 'localhost'.
## Try changeing the default if mails get rejected due to anti-SPAM measures.
## Defines the hostname used by the SMTP EHLO (or LMTP LHLO) command.
#SMTP_HOST_DOMAIN="pbx.astlinux.org"
--
If this issue becomes more widespread, when SMTP_HOST_DOMAIN is undefined we 
could automatically set it with a default, such as "$SMTP_DOMAIN" or 
"$HOSTNAME.$DOMAIN", etc. but msmtp's default of "localhost" has been working 
for most for a long time.

Until then, this new SMTP_HOST_DOMAIN variable will give users all the 
flexibility to make it work.

Lonnie

PS: Michael, make sure you "rm /oldroot/mnt/asturw/etc/init.d/msmtp" to undo 
your changes.


On Aug 24, 2012, at 3:11 PM, Lonnie Abelbeck wrote:

> 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].

Reply via email to