Mailing List Archive

[Bug 576] New: Unix style line ending on first line when use_crlf set on a pipe
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=576
Summary: Unix style line ending on first line when use_crlf set
on a pipe
Product: Exim
Version: 4.66
Platform: x86
OS/Version: Linux
Status: NEW
Severity: bug
Priority: medium
Component: Transports
AssignedTo: ph10@hermes.cam.ac.uk
ReportedBy: neil.youngman@wirefast.com
CC: exim-dev@exim.org


When use_crlf is set in a pipe transport, the initial "From user@example.org"
is written without a CR before the LF, resulting in the output mixing Unix
style (LF) and MIME style (CRLF) line endings.

e.g.

store_mail:
driver = pipe
return_fail_output
batch_max=999
use_crlf=yes
envelope_to_add

neily neily 08:08:16 490 > cat -A test_message.txt | head -3
From Neil.Youngman@wirefast.com Mon Aug 06 10:34:50 2007$
Envelope-to: asdf@fax.test.wirefast.net^M$
Received: from mailserver.wire2.com ([192.168.103.206]
helo=mailserver.wirefast.com)^M$
neily neily 08:08:46 491 >


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##