Version 1.03 of qmail-smtpd is currently configured to reject incoming mail
with bare linefeeds.  If a bare linefeed is received, qmail-smtpd returns
an error 451 and a reference to http://pobox.com/~djb/docs/smtplf.html
which explains the error by reference to an IETF draft document known as
822bis.

The current version of this draft, which has apparently superceded the
draft referenced, can be found at
<http://www.ietf.org/internet-drafts/draft-ietf-drums-msg-fmt-08.txt> and
contains the following:

>4. Obsolete Syntax
>
>Earlier versions of this standard allowed for different (usually more 
>liberal) syntax than is allowed in this version. Also, there have been 
>syntactic elements used in messages on the Internet whose interpretation 
>have never been documented. Though some of these syntactic forms MUST 
>NOT be generated according to the grammar in section 3, they MUST be 
>accepted and parsed by a conformant receiver. This section documents 
>many of these syntactic elements. Taking the grammar in section 3 and 
>adding the definitions presented in this section will result in the 
>grammar to use for interpretation of messages.

A bare line feed is considered 'obsolete syntax' as defined subsequently in
section 4.1, 'Miscellaneous obsolete tokens'.  Please note from the above
that while compliance with this draft requires that originating MTAs or
MUAs must NOT generate such syntax, it is required of conformant receivers
that such syntax be accepted and properly parsed.

It is therefore apparently appropriate, and in fact required by the draft,
that message processing by the existing straynewline() function in
qmail-smtpd.c be bypassed or eliminated in some fashion so that such
messages can be received.

I also note that editorship of the draft is credited to P. Resnick of
Qualcomm.  Qualcomm's MUA product, Eudora, has been guilty of errors of
this sort in the past.  It's also worth noting that this draft expires in a
little over 2 months.

Comments will be appreciated.

Lindsay Haisley                   (______)
FMP Computer Services               (oo)        "The bull 
[EMAIL PROTECTED]                /------\/            stops here!"
Austin, Texas, USA           / |    ||  
512-259-1190                *  ||---||             * * * * * *
                               ~~   ~~        http://www.fmp.com

Reply via email to