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 user@???" 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