Re: Mailbox is locked by POP server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2006-12-19 at 21:21 -0500, Martin Schiøtz wrote:
> > > Personally I do not use POP3 any more - however I remember that there
> > > was a limitaition of 1 connection per mailbox in other servers.
> >
> > Yes.
> > The POP3 RFC states that operations such as DELEte a message will become
> > "final" after issuing a "QUIT" command. If connection breaks, no change is
> > made to the mailbox.
> >
> > For having multiple concurrent POP3 access to a mailbox a complete
> > transaction based model including rollbacks would be needed to implement
> > proper POP3. I don't think anybody wants to improve pop3d to accomplish
> > that ;-)
> >
> 
> Personally I use IMAP and Thunderbird, but a lot of the users on this
> postfix/cyrus server use POP and Outlook. It looks like the problem
> occurs with Outlook clients using POP. At least I have seen the
> problem with Outlook 2002.

The problem has networking nature and does not depend on any MUA.

Connect to pop3 and leave it active, try to connect second time 
and you experience it.

In real life it happens when client connection brakes ( MUA dies,
someone pours coffe on his desktop, power dies and zillion 
other possible causes ).
Server keeps the connection until timeout ( surprised? ); if the
client connects again before timeout kicks in server sees incoming
connection as second and refuses it. 

No need to restart whole mail system; just wait for the timeout 
or remove that user's lock if you want to be polite. In old mbox
times one would simply remove /var/mail/<user>.lock file; in cyrus
one can kill manually pop3 process (not) handling hanging customer
and remove it's info in /var/imap/proc/<pid>

MJ

-- 
Miroslaw "Psyborg" Jaworski
GCS/IT d- s+:+ a C++$ UBI++++$ P+++$ L- E--- W++(+++)$ N++ o+ K- w-- O-
M- V- PS+ PE++ Y+ PGP t 5? X+ R++ !tv b++(+++) DI++ D+ G e* h++ r+++ y?

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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux