> -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Ted Cooper > Sent: Tue 16 December 2008 12:22 > To: [email protected] > Subject: Re: [exim] Some help with getting 'log_message' to > write e-mail header linefeeds to the log file > > [email protected] 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 -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
