[exim-dev] [Bug 1195] New: read_message_data_smtp should com…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Simon Arlott
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 1195] New: read_message_data_smtp should comply with RFC5321
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1195
           Summary: read_message_data_smtp should comply with RFC5321
           Product: Exim
           Version: 4.77
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Mail Receipt
        AssignedTo: nigel@???
        ReportedBy: bugzilla.exim.simon@???
                CC: exim-dev@???



2.3.8. Lines

Lines consist of zero or more data characters terminated by the
sequence ASCII character "CR" (hex value 0D) followed immediately by
ASCII character "LF" (hex value 0A). This termination sequence is
denoted as <CRLF> in this document. Conforming implementations MUST
NOT recognize or generate any other character or character sequence
as a line terminator. Limits MAY be imposed on line lengths by
servers (see Section 4).

In src/src/receive.c:
FUDGE: It seems that sites on the net send out messages with just LF
terminators, despite the warnings in the RFCs, and other MTAs handle this. So
we make the CRs optional in all cases.


It's possible for <LF>.<LF> to be inside an attachment causing the message
to end early:

17:26:34 < cek> 2012-01-04 11:20:28 SMTP call from
snt0-omc2-s17.snt0.hotmail.com [65.55.90.92] dropped: too many syntax or
protocol errors (last command was

"<<94><E1>^W<D9>^VuD0d<A9>^G^C*s<C5>~~<FE><D1><FA><94>ڧ<8F>bImm<EC>;<87>^LRy^C&b<A0>^M<CE>}H
17:26:34 < cek>
<DB>]<F8>^X<DF>^QO<C8><FC><9F><C7>:ʏ^C<E2>^U<B7>q_<8A>^?<A1><F3>?<9C>^^r")


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