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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Chris Edwards
Dátum:  
Címzett: 'exim-users@exim.org'
Tárgy: 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).