[exim-dev] [Bug 937] Ability to enable debugging from an ACL

Góra strony
Delete this message
Reply to this message
Autor: Phil Pennock
Data:  
Dla: exim-dev
Temat: [exim-dev] [Bug 937] Ability to enable debugging from an ACL
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #2 from Phil Pennock <exim-dev@???> 2009-12-19 09:16:08 ---
To grab some text I'm about to send to exim-users, because it further documents
the behaviour (and I want to find the desc here when I come to write docs):

This will trigger the creation of debuglog files in the normal Exim log
dir. If you want to embed the IP address in the filename, then you
might use "control = debug/tag=_$sender_host_address".

If the resulting filename is too long, you just get "debuglog" as a
fallback. If you support IPv6 and are running Exim on Windows, you
might want to be careful to keep colons out of the name -- I make no
effort to filter the characters of anything except a '/'.

If you want per-message debug logs, wait to enable "control = debug"
until you can use something like $message_exim_id or something near to
it.

Once debug logging is enabled, you can't change where it points to. So
you can't override to a more specific debug log.

Note that these logs only apply to reception and do not affect delivery.
There's not a way yet to trigger debugging in anything except an ACL but
I wrote the enabling routine to be agnostic, so we might add a generic
Router option and/or Transport option to trigger debugging later.


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