著者: Chris Edwards 日付: To: exim-users 題目: Re: [exim] Full SMTP session log functionality
On Fri, 12 Dec 2008, Ted Cooper wrote:
| That's what debug mode is for. Having that much raw data stuffed into
| the logs would be one hell of a space hog, especially when you only need
| that information when something is wrong and you need to test a specific
| case.
Yep, debug mode does this. But it might be nice to be able to turn such
logging on in specific circumstances, e.g for certain hosts, via the
connect ACL.
| You could already do it with the existing functionality anyway, using
| log_write and the appropriate ACL hooks.
Good idea. But of course that would only show the conversation one way...
| The SMTP conversation is not particularly difficult to understand and is
| very predictable. The existing error messages and log messages provided
| in the default logging allow for easy interpretation of exactly where in
| the conversation any errors occurred.
Agree. In the vast majority of cases, the existing messages are
sufficient, particularly if you read them carefully and sit and think what
they mean.