Set inactivity timer pop3d.c

Bartosz Jozwiak bartek at
Mon Mar 13 06:46:43 EST 2006

Hi guys,

I would like to change to 2 minutes inactivity timer on pop3.
We have problem with dialup clients while they downloading
big mails and they get disconnected, then they have to wait 10 minutes
until box is going to "unlock".

If I set in code below time out to 2 minutes should it cause any problems?

/* Set inactivity timer */
    timeout = config_getint(IMAPOPT_POPTIMEOUT);
    if (timeout < 10) timeout = 10;
    prot_settimeout(popd_in, timeout*60);
    prot_setflushonread(popd_in, popd_out);

Thank you in advance.

More information about the Info-cyrus mailing list