Chris Johnson <[EMAIL PROTECTED]> writes:
| I'm seeing more and more of qmail-smtpd exiting with status 256, which usually
| indicates that the remote host is trying to send mail with bare linefeeds.

Be sure to patch your qmail-smtpd to log accurate descriptions of
failures.  (I posted a diff a while back; other's have posted similar
patches.)  It helps a lot. 

| What is one to do? Are we fighting a losing battle against bare linefeeds?
| Should I just give up and pipe everything through addcr, or patch the
| functionality into qmail-smtpd? What would I be risking by doing so?

You might as well change qmail-smtpd.  On the one hand, if some system
sends you malformed smtp traffic any message corruption that occurs is
their fault; do you mind being a party to it?  On the other hand, if
you make the change, then given correct smtp input qmail will wrongly
treat a smtp line with an embedded control-j character as two lines,
split at the control-j (because queue files are stored in unix format
instead of smtp format).  (In practice, Unix systems never generate
such smtp lines, although other operating systems might.)

Reply via email to