I believe we found the cause of the errors. It's due to
non-RFC compliant formatting of email files. Please look at the email file
"Ind737F.tmp" in your badmail directory. It does not comply with RFC standards,
and contains both of the "problems" that are causing SpamFilter to reject the
message. If you edit the file with notepad you'll be able to verify the
following.
The first is the fact that one of the lines in the message
is 101,009 characters long. per RFC 2821 ( http://www.ietf.org/rfc/rfc2821.txt - http://www.ietf.org/rfc/rfc2821.txt )
each line of text in an email should be no more than 1,000 characters.
SpamFilter will accept up to 16,384 characters in lenght, but in this case we
are well over the limits! This will cause the error:
Exception occurred during ProcessQuarantineQueue -
Msg.LoadFromStream: Max line length exceeded.
to be logged.
The
second problem is an invalid date format used in the "Date"
header:
Date: 29. desember 2006 10:00:00 Per RFC 822 ( http://www.ietf.org/rfc/rfc822.txt - http://www.ietf.org/rfc/rfc822.txt )
the date format in the "Date:" header must have the month specified as "Dec",
while in that email it's specified as "desember". This will casue the
error:
Invalid Message
file:D:\SpamFilter\queue\Ind737F.tmp
to
be logged.
Are
you generating these emails programmatically, or is a mail server generating
them? If you are creating them, it should be rather easy to fix the formatting
to make it RFC compliant. If they are coming from a mail server, we recommend
you contact them to inform them of the problems.
------------- Roberto Franceschetti
http://www.logsat.com" rel="nofollow - LogSat Software
http://www.logsat.com/sfi-spam-filter.asp" rel="nofollow - Spam Filter ISP
|