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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Viktor Dukhovni
日付:  
To: 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.