Peter Bowyer wrote:
>Toralf Lund said:
>
>
>>I just noticed that the following
>>
>> warn !verify = helo
>> message = Message sent with invalid HELO/EHLO ($sender_host_name
>>[$sender_host_address] presented itself as $sender_helo_name)
>>
>>
>>in "check_recipient" will produce
>>
>>X-ACL-Warn: Message sent with invalid HELO/EHLO (localhost [127.0.0.1]
>>presented itself as [127.0.0.1])
>>
>>in all outgoing messages sent via "localhost". That's when using Mozilla
>>client. What's the best way around this? Perhaps I don't need the HELO
>>check when sending like this, but I do want it for incoming messages,
>>and possibly also hosts the setup relays for...
>>
>>
>
>It's easy enough to disable it for localhost (hosts = ! 127.0.0.1 for
>example).
>
It turns out I have
helo_try_verify_hosts = !127.0.0.1 : \N!^(.*\.|)(DOMAINS)$\N
(where DOMAIN is the list of local domains.) Shouldn't that mean that
localhost isn't checked? Or do I need to exclude it in the actual ACL?
I'm not sure I understand exactly how e.g.
warn !verify = helo
is "connected" to "helo_verify_hosts" or "helo_try_verify_hosts"
> But the problem is probably caused by inadequate DNS resolution
>- maybe you've not got reverse resolution for 127.0.0.0/8 or something?
>
>Try
>
>host 127.0.0.1
>host localhost
>
>and see what shows up. Then tweak your DNS zone files / hosts file / other
>resolution mechanism.
>
>
No, it's looking good... Also, I think the warning message indicates
that Exim has successfully looked up the host - it's the client that
fails to do so, possibly because it never bothers to try.
- Toralf