Hi everybody!

I considered that qmail seems to make a difference between DOS and UNIX
style linebreaks ("\r\n" AND "\n") when sending mails from localhost.
As it makes no difference between these linebreak styles when receiving and
delivering remote mails to local users I expected qmail also to handle
locally sent DOS style mails properly. Furthermore I considered sendmail
does this.

My qmail is running on a linux box.

I tested it with PHP using the mail() function and in addition by using
qmail-inject and sending a mail from a textfile that looked like this:

  to: [EMAIL PROTECTED]<USLB>
  <USLB>
  Line1<LB>
  Line2<LB>
  <LB>
  Line4<LB>

where <USLB> always was a Unix style linebreak ("\n") and <LB> either was a
Unix style linebreak too or a DOS style linebreak ("\r\n").

The results in my Outlook were as follows:

Unix style linebreaks:

>Line1
>Line2
>
>Line4

DOS style linebreaks:

>Line1 Line2  Line4

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
solution for handling DOS style linebreaks with qmail I would appreciate any
hints.

Regards,

Sascha Dahl
_______________________________________________________________
  b e s t E s h o p . d e   A G � Sascha Dahl � IT Consultant
  TZ/Friedrich-Ebert-Str. � 51429 Bergisch Gladbach � Germany
  Phone: +49 (0)2204 - 84 34 03 � Fax: +49 (0)2204 - 84 34 19
  mailto:[EMAIL PROTECTED]http://www.besteforschung.de

Reply via email to