[exim-dev] [Bug 431] Default HELO should be rDNS of Interfac…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: bug431
Data:  
Para: exim-dev
Asunto: [exim-dev] [Bug 431] Default HELO should be rDNS of Interface
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

http://www.exim.org/bugzilla/show_bug.cgi?id=431





------- Comment #1 from anomie@??? 2006-12-15 04:51 -------
On Mon, Dec 11, 2006 at 03:05:21PM +0000, marc@??? wrote:
>
> I'd like to suggest that the default HELO should be the rDNS of the transport
> interface IP or if the IP has no eDNS then the IP itself.


Why just that, and not ask for defaulting primary_hostname and/or
smtp_active_hostname to the rDNS on an incoming connection?

> interface = x.x.x.x
> helo_data = interface_rdns


Is it often that you won't know what x.x.x.x resolves to?

Anyway, try this
interface = x.x.x.x
helo_data = ${lookup dnsdb{ptr=x.x.x.x}{$value}{[x.x.x.x]}}
And hope the PTR has an RFC 2821-compliant value if it exists.

FWIW, in my configuration on a box with several interfaces I have things
set up for opposite effect:
interface = ${lookup dnsdb{a=$primary_hostname}}
That would perhaps be a more sensible default to change, if anything
were to be changed here. But I wouldn't change anything if it were up to
me (which it's not).

I've heard multi-homed systems like this are the reason for RFC 2821's
prohibition on rejecting if the HELO arg doesn't resolve to the
connecting address.

--
Configure bugmail: http://www.exim.org/bugzilla/userprefs.cgi?tab=email