Error in log |
Post Reply ![]() |
Author | |
brekkjen ![]() Newbie ![]() ![]() Joined: 23 February 2005 Location: Norway Status: Offline Points: 15 |
![]() ![]() ![]() ![]() ![]() Posted: 20 December 2006 at 9:00am |
I've got this error creeping up in my log today, any suggestions? Running 3.1.3.605 registered 12.20.06 10:00:05:965 -- (31868) Exception occurred during ProcessQuarantineQueue - Msg.LoadFromStream: Max line length exceeded. |
|
![]() |
|
brekkjen ![]() Newbie ![]() ![]() Joined: 23 February 2005 Location: Norway Status: Offline Points: 15 |
![]() ![]() ![]() ![]() ![]() |
This might be related? 12.20.06 15:06:21:281 -- (3532) Adding to D:\SF-Filterfiles\White\AutoWhiteListForceDelivery.txt:"send eraddress"|"rcptaddress" |
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
![]() ![]() ![]() ![]() ![]() |
If the events had occurred closer togeter, there may have been a correlation. They are several hours apart however, so that is less likely.
In either case, both of the errors are absolutely not normal. Could you please zip the entire logfile and email it to us at support at logsat dot com? |
|
![]() |
|
brekkjen ![]() Newbie ![]() ![]() Joined: 23 February 2005 Location: Norway Status: Offline Points: 15 |
![]() ![]() ![]() ![]() ![]() |
Yea, I know they'r not directly related. The second error occured after I restarted the box and tried a delivery of a quarantined message via the GUI. The message was delivered alright execpt that error showed in the logs. I'll zip and mail the log to u first thing in the morning. Morning for us anyways... :) |
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
![]() ![]() ![]() ![]() ![]() |
Received the logs. The error:
Exception occurred during TUpdateListViewQuarantineThread.Execute is occurring when you interact with the Quarantine tab in SpamFilter's GUI, most likely when clicking on the "Refresh" button. The problem is strictly related to the user (you) interacting with the control. While the error should not happen, it does not interfere with SpamFilter's functionality. We've seen a few instances of similar errors, and are trying to fix them in the next release of SpamFilter. On the other hand, the errors: Exception occurred during ProcessQuarantineQueue - Msg.LoadFromStream: Max line length exceeded are related to the specific messages being processed. In your logs, they are followed by another error similar to: 12.20.06 10:00:06:059 -- (31896) EMail from: ?????_no_reply@???????.com to: ???@??? -- was returned to sender - server error - Invalid Message file:D:\SpamFilter\queue\Ind151F.tmp There is something in these messages that is causing the delivery to fail. Unfortunately SpamFilter by default will delete the problem-message. But... Please change the following setting in the SpamFilter.ini file: EnableBadMailDir=1 This will cause SpamFilter to save a copy of messages that cause delivery problems to the \SpamFilter\badmail directory. If you can then replicate the problem, a copy of the message file will be saved to that directory. You may find other message files in that directory, it does not indicate a problem, as there may be legitimate reasons for certain "bad messages". Please zip and email us both SpamFilter's activity logfile, and a copy of the \badmail directory. As a side note, usually there is never a need for SpamFilter to be restarted when making changes to the configuration files, but in this case SpamFilter does need to be restarted. |
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
![]() ![]() ![]() ![]() ![]() |
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)
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) 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.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.211 seconds.