Print Page | Close Window

Read Timeout

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
URL: https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5167
Printed Date: 21 January 2025 at 2:37am


Topic: Read Timeout
Posted By: mikek
Subject: Read Timeout
Date Posted: 17 May 2005 at 5:19am

I have been getting a lot of "server error - Read Timeout" errors when SpamFilter tries to forward the E-Mail to the mailserver. The E-Mail gets returned to the sender immediately after such an error.

05.17.05 00:10:36:015 -- (1580) EMail from: xxx to: yyy, zzz  was returned to sender - server error - Read Timeout

Just searched the forums and found the definition for a read error and set the timeout to 300. Still looks the same though. I must admit that our mailserver is performing rather sluggish due to the high load of the german spam but I don't agree that an e-mail should be sent back to the sender because of a read-timeout, rather it should be put into the queue and retried. Maybe Roberto could add an option like 'QueueEMailsWithReadTimeouts=1'?

Cheers, Mike




Replies:
Posted By: LogSat
Date Posted: 17 May 2005 at 4:42pm
Mike,

Sometimes the "Read Timeout" occurs when SpamFilter tries to read a spooled file with the messsage cached on disk, but that message was truncated somehow and does not have the trailing <CR><LF>.<CR><LF> end-of-email sequence.

Usually if an email is infected and you have antivirus on the server monitoring the filesystem, the A/V either deletes the infected file or removes the virus from it. We designed SpamFilter knowing this could happen, and usually is not a problem - SpamFilter will realize this happened and proceeed happily. However if the end-of-email sequence is missing (because the A/V truncated the file, thus "breaking" it), the Read Timeout occurs.

Can you check if there are any files in the SpamFilter\temp and/or SpamFilter\queue directories, and if so, if they have the <CR><LF>.<CR><LF> sequence at the end? If not, you may want to exclude those directories from the scan, or upgrade the A/V software.

-------------
Roberto Franceschetti

http://www.logsat.com" rel="nofollow - LogSat Software

http://www.logsat.com/sfi-spam-filter.asp" rel="nofollow - Spam Filter ISP


Posted By: mikek
Date Posted: 18 May 2005 at 4:10am

Roberto,

I have no such files. It is really our mailserver which is misbehaving, so I really would like to see a possibility to queue messages which can not be delivered due to the mail server not responding during a session.

Regards, Mike



Posted By: Guests
Date Posted: 18 May 2005 at 12:22pm
by the sound of it you would be getting these problems even if spamfilter was not there. How about fixing your email server.



Posted By: LogSat
Date Posted: 18 May 2005 at 4:29pm
Mike,

If the destination SMTP server is not available at all, then yes, SpamFilter will queue the messages until it's back online. If you're sure the issue is not caused by the antivirus software, this would mean that the SMTP server is reachable at first, but while transamitting the email "something" happens and the error occurs. SpamFilter does not recognize the error, and currently assumes your SMTP server "rejected" the email and thus won't retry again, as if it's rejected once, it's usually rejected all the time (ex user does not exist, mailbox disabled, etc.).


-------------
Roberto Franceschetti

http://www.logsat.com" rel="nofollow - LogSat Software

http://www.logsat.com/sfi-spam-filter.asp" rel="nofollow - Spam Filter ISP



Print Page | Close Window