Re: pop3 connection timeout & lock problem

2006-03-27 Thread Kevin McWilliams

>> Is there a reason I can't change the timeout to be less than 10 minutes
>> @ pop3d.c:407? Say 3-5 minutes?
>
>The reason you perhaps *shouldn't* do that is that it would violate RFC 1939:
>
>"A POP3 server MAY have an inactivity autologout timer.  Such a timer MUST be 
>of
>at least 10 minutes' duration."
>

OK, that makes sense. I still don't understand why the timer is reset
after each attempt to login.

Anybody have an idea as to why this would be?

Kevin McWilliams
Open LabNet
Lawrence Livermore National Laboratory
P: 925-422-0505
F: 925-422-2425

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


pop3 connection timeout & lock problem

2006-03-23 Thread Kevin McWilliams
I have a question about the timeouts on pop3 connections. It looks like
the code doesn't allow for a timeout less than 10 minutes. This causes a
problem with some of my users who are connecting via dial-up or some
other slow network connection. If they login and then lose their
connection to the server the mailbox remains locked.

However from what I can tell the timeout is reset after each attempt to
login, which keeps the mailbox perpetually locked if you attempt within
10 minutes. So when they get their connection backup and try again they
get the "Mailbox is locked" error.

So my questions are:

Is there a reason I can't change the timeout to be less than 10 minutes
@ pop3d.c:407? Say 3-5 minutes?

Why is the timeout reset on each connection?
Here I am refering to prot.c:1026 & 1032. As best I can tell this where
the timeouts are reset to "now + this_timeout".

I am running cyrus-2.2.12 on RedHat AS4 x86_64.

Any help would be appreciated.


Kevin McWilliams
Open LabNet
Lawrence Livermore National Laboratory
P: 925-422-0505
F: 925-422-2425

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