On Mon, Jun 22, 1998 at 10:12:15AM +0100, Nigel Metheringham wrote:
> Exim is correct here. You should *never* have the From_ line in the
> header - its (part of) the envelope.
Okay, my clarification to my original bug report got lost because I wasn't
subscribed to the list -- I'll include the complete SMTP transcript and
resulting e-mail once again (uuencoded this time to avoid corruption) to
make sure we all know what I'm talking about :)
The problem here is an inconsistency in exim, made annoying by a
poorly-implemented Windows NT POP server.
The POP server includes the From_ "header" in each message, and fetchmail
(probably correctly) passes it through unchanged. Now the inconsistent
part:
- this used to work with smail.
- this works fine if I send the message from fetchmail into
/usr/sbin/sendmail, instead of via SMTP.
- if I send the message to exim via SMTP, exim thinks the From_
header is the beginning of the message.
Now, the program violating any RFC's is most likely the broken POP server.
However, it is exceedingly unlikely that the first line of the body of a
headerless message sent via SMTP without a leading blank line will start
with "From[space]" -- thus, it is probably safe to treat such a line as a
From_ header, and ignore it or whatever.
Note again that exim does exactly that -- ignores the From_ header -- if I
call it as /usr/sbin/sendmail. Smail does so for both SMTP and
/usr/sbin/sendmail invocations.
This is with exim 1.92.
Thanks for your patience.
Avery
begin 664 avelog
M"@HM+2TM+2TM+2TM+2TM4TU44"!S97-S:6]N+2TM+2TM+2TM+2TM"@I4<GEI
M;F<@,3(W+C`N,"XQ+BXN"D-O;FYE8W1E9"!T;R!L;V-A;&AO<W0N"D5S8V%P
M92!C:&%R86-T97(@:7,@)UY=)RX*,C(P(&EN<VEG:'0N=V]R;&1V:7-I;VYS
M+F-A($533510($5X:6T@,2XY,B`C,2!3=6XL(#(Q($IU;B`Q.3DX(#$S.C`P
M.C`W("TP-#`P"FAE;&\@;&]C86QH;W-T"C(U,"!I;G-I9VAT+G=O<FQD=FES
M:6]N<RYC82!(96QL;R!A<&5N=V%R<B!A="!L;V-A;&AO<W0@6S$R-RXP+C`N
M,5T*;6%I;"!F<F]M.B!A<&5N=V%R<D!L;V-A;&AO<W0*,C4P(#QA<&5N=V%R
M<D!L;V-A;&AO<W0^(&ES('-Y;G1A8W1I8V%L;'D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