Re: [exim-dev] [Bug 1686] New: DSNs should give the sending …

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Viktor Dukhovni
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: Re: [exim-dev] [Bug 1686] New: DSNs should give the sending IP used
On Thu, Sep 03, 2015 at 01:25:31PM +0000, admin@??? wrote:

> Assuming the field was similar in form to the Remote-MTA field it would
> have 'mta-name-type ";" arg' content; the only current mta-name-type (
> per https://www.iana.org/assignments/dsn-types/dsn-types.xhtml ) is "dns"
> and gives a name. I'd prefer an IP address, and would for now use an
> experimental mta-name-type of "X-ip". Again, this would need an RFC for
> a proper assignment.


I would avoid "X-ip" and consider "X-Exim-Local-IP" or similar.
The idea is to make some effort to avoid collisions in "X-" headers.

Postfix generally has no idea what IP address it is sending from,
because by default we don't explicitly bind to a particular IP
address. There is at present no "getsockname()" to obtain that
once the connection completes, and the local address is not logged.
So rapid adoption of this DSN field seems unlikely.

-- 
    Viktor.