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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Chambers, Phil
Datum:  
To: 'exim-users@exim.org'
Betreff: Re: [exim] Some help with getting 'log_message' to write e-mail header linefeeds to the log file


> -----Original Message-----
> From: exim-users-bounces@???
> [mailto:exim-users-bounces@exim.org] On Behalf Of Ted Cooper
> Sent: Tue 16 December 2008 12:22
> To: exim-users@???
> Subject: Re: [exim] Some help with getting 'log_message' to
> write e-mail header linefeeds to the log file
>
> paul.mcilfatrick@??? wrote:
> > Does anyone know if there is a way to get 'log_message' to
> write e-mail
> > header linefeeds to the log file or is there another way to achieve
> > this?
>
> Check out ${sg{<subject>}{<regex>}{<replacement>}} in the manual. It
> operates like perl string replace so you should be able to replace all
> the new lines with spaces or empty string and get the whole
> line out to
> the log file.


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?

Phil.
--------------------
Phil Chambers
Postmaster
University of Exeter