On Tue, 7 Aug 2007, Neil Youngman wrote:

> > given the following pipe transport, the Envelope-To header
> > just has a linefeed for the line ending, not CRLF (at least
> >  on Exim 4.66). This strikes me as inconsistent. Less polite
> > people might call it a bug ;-)
> 
> I got that wrong. The Envelope-To header is fine, it;s the initial
> "From [EMAIL PROTECTED]" that's wrong.

*That* is documented:

-----------------------------------------------------------------------
+-----------------------------------------------+
|use_crlf|Use: pipe|Type: boolean|Default: false|
+-----------------------------------------------+

This option causes lines to be terminated with the two-character CRLF sequence
(carriage return, linefeed) instead of just a linefeed character. In the case
of batched SMTP, the byte sequence written to the pipe is then an exact image
of what would be sent down a real SMTP connection.

The contents of the message_prefix and message_suffix options are written
verbatim, so must contain their own carriage return characters if these are
needed. Since the default values for both message_prefix and message_suffix end
with a single linefeed, their values must be changed to end with "\r\n" if
use_crlf is set.
-----------------------------------------------------------------------

... but maybe I should flag up the final sentence with "WARNING" or 
something...


-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book

-- 
## 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/

Reply via email to