[Spambayes] POP3Proxy: too long delay

Sylvain Beucler beuc at beuc.net
Sun Jan 4 12:02:59 EST 2004


Hi,

The error message came at about 30 seconds. Balsa must give up a few  
seconds before the proxy send the full message.
I used a delay of 10 and it works very well.

Thanks.

-- 
Sylvain


> It should start to relay after thirty seconds, whether it's received
> the
> whole message or not - does your error appear before then?
> 
> You can change the timeout by editing sb_server.py - around line 215
> should be code like this:
> 
>         # Time out after 30 seconds for message-retrieval commands if
>         # all the headers are down.  The rest of the message will
> proxy
>         # straight through.
>         if self.command in ['TOP', 'RETR'] and \
>            self.seenAllHeaders and time.time() > self.startTime + 30:
>             self.onResponse()
>             self.response = ''
> 
> Just change that '30' to whatever suits.  You can use "which
> sb_server.py"
> to find out where sb_server.py is on your machine.
> 
> Please let us know whether this helps.  We should probably make the
> timeout configurable.
> 
> --
> Richie Hindle
> richie at entrian.com



More information about the Spambayes mailing list