[Spambayes] POP3Proxy: too long delay
Richie Hindle
richie at entrian.com
Sun Jan 4 10:27:42 EST 2004
Hi Sylvain,
> maybe it did not relayed the authentication confirmation fast enough?
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