sp...@po... wrote:
> I understand that You are trying to help users with bad pop3 servers.
> But I know my pop3 server (popa3d) and it will work fine without any
> delay after authentication.
>
> So, is there any way to add rc.file option which allow users to change
> this delay from 3 to any other number including 0?
The current development code (i.e. what will become the next release)
doesn't sleep there at all unless a flag is set at compile time:
/* Disable the sleep. Based on patch by Brian Candler
2004-04-19/2004-11-08,
* accepted by Matthias Andree.
*
* Rationale: the server must have locked the spool before returning +OK;
* this sleep just wastes time and hence, for modem and GSM CSD users,
money. */
#ifdef WANT_BOGUS
/*
* Empirical experience shows some server/OS combinations
* may need a brief pause even after any lockfiles on the
* server are released, to give the server time to finish
* copying back very large mailfolders from the temp-file...
* this is only ever an issue with extremely large mailboxes.
*/
sleep(3); /* to be _really_ safe, probably need sleep(5)! */
#endif
I'm not sure whether this is the Right Thing or not, but I'm pretty sure
that massive single-file mboxes are NOT the Right Thing, much less POP
servers that return +OK before they're really ready.
--
==============================| "A microscope locked in on one point
Rob Funk <rf...@fu...> |Never sees what kind of room that it's in"
http://www.funknet.net/rfunk | -- Chris Mars, "Stuck in Rewind"
|