How to close POP3 session which is inactive for 60s

Joe Hrbek jhrbek-cyrus at gplsinc.com
Mon Feb 23 10:14:52 EST 2004


I think what you are looking for can be found in:

pop3proxyd.c
pop3d.c

If you search those files for poptimeout you get:

    /* Set inactivity timer */
    timeout = config_getint("poptimeout", 10);
    if (timeout < 10) timeout = 10;

I'd imagine that that the 10 is the default, minimum time limit. Not sure if
that's all of it though. :)

-j

> -----Original Message-----
> From: owner-info-cyrus at lists.andrew.cmu.edu
> [mailto:owner-info-cyrus at lists.andrew.cmu.edu]On Behalf Of Bartosz
> Jozwiak
> Sent: Monday, February 23, 2004 5:49 AM
> To: Wil Cooley
> Cc: Cyrus-IMAP
> Subject: Re: How to close POP3 session which is inactive for 60s
>
>
>
> >> Hello,
> >>
> >> Can somebody tell me how to close POP3 session which is inactive for 60
> >> seconds.
> >> In imapd.conf poptimeout value cannot be set less then 10 minutes.
> >> Can somebody tell me how to close it in 60 seconds ?
> >
> >Modify the source to allow you set it below 10 minutes.  Should be
> >relatively straight-forward with a minimal knowledge of C.
>
> Well I do not have even minimal knowledge of C.
> I would be very pleased if you can show me where I should change it.
>
>
> >
> >Wil
> >--
> >Wil Cooley                                 wcooley at nakedape.cc
> >Naked Ape Consulting                        http://nakedape.cc
> >* * * * Linux, UNIX, Networking and Security Solutions * * * *
> >* Naked Ape Consulting                   http://nakedape.cc  *
> >*         Tired of spam and viruses in your e-mail?          *
> >*  Get the Naked Ape Mail Defender! http://nakedape.cc/r/md  *
>
> ---
> Home Page: http://asg.web.cmu.edu/cyrus
> Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list