Byteplant Forum

Home » CleanMail Support » CleanMail Home Talk » Timeout handling
Timeout handling [message #2107] Wed, 31 August 2005 18:27 Go to previous message
oxygen
Messages: 5
Registered: August 2005
Junior Member
Looks like there's a timeout problem with NST & Thunderbird

I have a slow dialup and when I download 100 - 200 kb email it may take from 30 to 60 seconds. Everything worked fine, until I found that I have 1 message on the server, thunderbird downloads it, but there's no email in folder.

Looking at logs revealed this:
Aug 31, 2005, 17:03:17 Session 1: RETR 1
Aug 31, 2005, 17:03:17 Session 1: +OK 88940 bytes will follow
Aug 31, 2005, 17:03:18 Session 1: (Attachment Filter) From: "OKHA"
Aug 31, 2005, 17:03:18 Session 1: (Attachment Filter) To:
Aug 31, 2005, 17:03:18 Session 1: (Attachment Filter) Subject: їющысью∙х сщЇю∙х яыюс
Aug 31, 2005, 17:03:53 Session 1: Received end of data, mail size 87kB
Aug 31, 2005, 17:03:53 Session 1: (Attachment Filter) Filter result is accept/deliver
Aug 31, 2005, 17:03:53 Session 1: (SpamAssassin) Executing: sa\spamassassin.exe -x -c "sa\ruleset" -e 255
Aug 31, 2005, 17:04:02 Session 1: Connection closed by client
Aug 31, 2005, 17:04:02 Session 1: Connection from 127.0.0.1 closed
Aug 31, 2005, 17:04:03 Statistics load: 1 rows 14 columns
Aug 31, 2005, 17:04:03 Statistics save: 1 rows 14 columns

And something like this (shorter sample):
Aug 31, 2005, 17:03:18 Session 1: (Attachment Filter) From: "OKHA"
Aug 31, 2005, 17:03:18 Session 1: (Attachment Filter) To:
Aug 31, 2005, 17:03:18 Session 1: (Attachment Filter) Subject: їющысью∙х сщЇю∙х яыюс
Aug 31, 2005, 17:04:02 Session 1: Connection closed by client
Aug 31, 2005, 17:04:02 Session 1: Connection from 127.0.0.1 closed

Looked like thunderbird just timed out and closed connection (without saying a word to me!). Downloading through Outlook Express went fine. So i tweaked Thunderbird a bit and set "mail.pop3_response_timeout" param from 45s to 5min. Everything went fine then.

So. It's all nice and great, but. I can get messages which are more than 5 min to download -- meaning I will have to tinker timeout again. I think NST should handle this problem.

You can send every 30s-60s a blank line to email client, or send some headers to prevent timing out, while downloading big message or scanning it with spamassassin. POPFile uses "X-POPFile-TimeoutPrevention" header so some message headers start like this:
X-POPFile-TimeoutPrevention: 0
X-POPFile-TimeoutPrevention: 1
X-POPFile-TimeoutPrevention: 2

I hope you'll address this problem in NST, because other program are aware of it and handle it fine.

P.S. NST! V2.3.1.2



Post Edited (08-31-05 18:28)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Duplicate email probs OUTLOOK2K
Next Topic: port errors
Goto Forum:
  


Current Time: Thu Mar 30 18:42:54 CEST 2017