On Mon, May 07, 2001 at 12:58:12PM +0200, Sascha Dahl wrote:
> I considered that qmail seems to make a difference between DOS and UNIX
> style linebreaks ("\r\n" AND "\n") when sending mails from localhost.
Read RFC 2821 (obsoleted 821)
Bare LF without a preceding CR are invalid in SMTP dialogue.
> Is this the usual behaviour of qmail? That would mean, that it is not 100%
> sendmail compatible... or did I misconfigure something? If there is a
Compatibility to sendmail is irrelevant.
qmail implements the standard. Some version of MS exchange and Outloook
don't. The funny thing about it is that under some circumstances Outlook
can't decode email that has been sent by another Outlook client.
> solution for handling DOS style linebreaks with qmail I would appreciate any
> hints.
Do correct escaping of LFs according to RFC 2821.
Just a notice: it is also irrelevant if LF to CRLF conversion does make
sense in your opinion. The standard defines that it has to be converted.
\Maex
--
SpaceNet AG | Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research & Development | D-80807 Muenchen | Fax: +49 (89) 32356-299
Stress is when you wake up screaming and you realize you haven't fallen
asleep yet.