Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - Read Timeout
  FAQ FAQ  Forum Search   Register Register  Login Login

Read Timeout

 Post Reply Post Reply
Author
mikek View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 February 2005
Location: Switzerland
Status: Offline
Points: 133
Post Options Post Options   Thanks (0) Thanks(0)   Quote mikek Quote  Post ReplyReply Direct Link To This Post Topic: Read Timeout
    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



Edited by mikek
Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4104
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post 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

LogSat Software

Spam Filter ISP
Back to Top
mikek View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 February 2005
Location: Switzerland
Status: Offline
Points: 133
Post Options Post Options   Thanks (0) Thanks(0)   Quote mikek Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
tek View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote tek Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4104
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post 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

LogSat Software

Spam Filter ISP
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.301 seconds.