[exim-dev] [Bug 1031] Implement database logging of complete…

Inizio della pagina
Delete this message
Reply to this message
Autore: Gedalya
Data:  
To: exim-dev
Vecchi argomenti: [exim-dev] [Bug 1031] New: Implement database logging of completed remote delivery
Oggetto: [exim-dev] [Bug 1031] Implement database logging of completed remote delivery
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1031




--- Comment #7 from Gedalya <gedalya@???> 2011-08-07 23:12:02 ---
Hi,

I ended up patching the SMTP transport in order to allow for database
logging of remote host deferrals.
My purpose here is to allow a MX-relay/MX-backup service (called
relay.mx) to keep track of how the target hosts are performing, and make
decisions based on this data.
This patch therefore is intended to log every attempted delivery to a
remote hosts that failed with a host error, as defined in section 45.2
of the exim specifications, and excluding cases where the error could be
related to the specific message, sender or recipient addresses.

I have added a private option to the SMTP transport named
dbl_host_defer_query, and added the following variables:
dbl_delivery_port
dbl_defer_errno
dbl_defer_errstr

Perhaps this ended up becoming a rather special-purpose thing. I would
love to hear if someone else finds this interesting.

P.S. It would seem that EXPERIMENTAL_DBL is not a lookup type, so I
changed the place where exim prints it out when running exim -bV .

Gedalya


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