[Pkg-exim4-users] sporadic invalid helo -- setting primary_hostname
Jonathan Addleman
jono at redowl.ca
Wed Mar 2 17:29:43 UTC 2016
On 02/03/16 11:06 AM, J G Miller wrote:
> At 22:37h, on Tuesday, March 01, 2016,
> in message <56D65FF7.90302 at redowl.ca>,
> on the subject of "Re: [Pkg-exim4-users] sporadic invalid helo -- setting primary_hostname",
> Jonathan Addleman reported --
>
> > Thanks, that helps a lot! I'm a little wary of this fix though, because
> > the docs say pretty clearly "Please refrain from using primary_hostname
>
> And did you read the sentences before that one?
Indeed. It is worrisome. I'm at quite a loss as to troubleshooting it
though. It seems that hostname -f doesn't use gethostbyname() or
getipnodebyname() (at least as far as I can see from a strace). Are
there other command line tools that I could use to test things?
Also, I've tried a few things, but I haven't been able to get exim to
consistently send just the hostname without domain. I changed the line
in 10_exim4-config_transport-macros to read just
REMOTE_SMTP_HELO_DATA==$primary_hostname, but it seems to still return
the fqdn as expected every time I try. I don't know what might change in
those cases where it doesn't work.
Any suggestions are very welcome!
--
Jonathan Addleman - http://www.redowl.ca
More information about the Pkg-exim4-users
mailing list