Re: [exim] Some help with getting 'log_message' to write e-m…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Chris Edwards
日付:  
To: 'exim-users@exim.org'
題目: Re: [exim] Some help with getting 'log_message' to write e-mail header linefeeds to the log file
On Tue, 16 Dec 2008, Chambers, Phil wrote:

| Is Paul aware that if a message is rejected at the end of the DATA
| phase, the messages headers are written to the rejectlog file? Does he
| need the headers when messages are not rejected?


If he does, then sticking a "warn" at the top of the DATA ACL would
(I think) achieve this.

Another way to record all headers for all email is via the system filter.
For example:

logfile /var/log/exim/filter

logwrite $message_headers

(note this is the system message-filter file, not the main config file).