[exim-dev] [Bug 576] New: Unix style line ending on first li…

Pàgina inicial
Delete this message
Reply to this message
Autor: Neil Youngman
Data:  
A: exim-dev
Assumpte: [exim-dev] [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@???
        ReportedBy: neil.youngman@???
                CC: exim-dev@???



When use_crlf is set in a pipe transport, the initial "From user@???"
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@??? Mon Aug 06 10:34:50 2007$
Envelope-to: asdf@???^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