Been doing more research, looks like the "Header line length limited
only by memory" thing only applies to qmail-inject
(http://cr.yp.to/qmail.html).
I think qmail's only accepting headers of up to 998 characters unfolded
length. RFC 2822 and 5322 both mention this number as the max length
for a single line in a message. The "References:" header is displayed
as a multi-line entity, but when you 'unfold' it, or remove the CRLF at
the end of each line so it's one line, it can only be up to 998 characters.
I've tested this using blat as well as a vbscript that uses Microsoft's
CDO.Message. If I try to send a message with a "References:" header of
998 characters it goes through. If I try with 999 characters, qmail
drops the connection without any kind of log entry or message to the
remote machine such as 'malformed header'.
Of course, if I send messages directly to my Exchange server via port
25, the messages go through.
Now I'm a position where I have to tell our clients that Microsoft's
SMTP implementation is not compliant, or I have to find a way to get
qmail to relax its standards.
Has anyone else run into this?
Brent Gardner
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]