-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Davide Libenzi
Sent: 31 mars 2009 11:58
To: XMail Users Mailing List
Subject: Re: [xmail] POP3 locks

On Tue, 31 Mar 2009, fred wrote:

> For the second time in about a month, a specific user of my XMail-1.25
server running on FreeBSD-7.0 RELEASE is having
> problem with his POP3 account.
>
> I don?t know why but the account gets locked for some reason, a file is
created inside
> MailRoot/pop3locks/[email protected] and the file contains this:
34387167856
>
> I have to manually delete the lock file or restart the server to fix the
problem. While locked, it?s impossible for him or
> me to retrieve his emails. I was wondering what could have caused this?
Under what circumstances a user gets his account
> locked? What can I do to prevent this from happening again?

Hmmm, lock file are always removed when the POP3 sessions ends. Even if
XMail would crash in the middle of the request, during part of its boot
up, it clears the lock files. So I find it strange of a lock file being
permanently stuck there. Can you try a netstat (when the lock file is left
there) to see if the connection with the client IP (on inbound port 110)
is still there?


- Davide


Hi Davide,

I will paste the output of the netstat cmd when the problem occurs once
again.

Here are the startup switches that I use if it can help:

XMAIL_CMD_LINE="-Y- -F- -Pl -Ph -Sl -Fl -Cl -Ll -Yl -Qt 5 -Qi 5 -Ql -Qg"

Could the -Ph switch be causing this? Hang the connection in bad login
response? Don't think so.

Also, maybe setting the -Pt <timeout> switch would help?


Thanks!

-fred


_______________________________________________
xmail mailing list
[email protected]
http://xmailserver.org/mailman/listinfo/xmail


_______________________________________________
xmail mailing list
[email protected]
http://xmailserver.org/mailman/listinfo/xmail

Reply via email to