Mail Locking

Darren <nospam-Rhwquk7XF2Z+t3ND/uZzZ7yq0pUa53/[email protected]> Wed, 07 Jul 2004 12:01:31 +0100
Newsgroups gmane.linux.admin.managers
Message-ID <[email protected]>
Hi,

I have a redhat 9 system running sendmail, fetchmail, ipop3d and 
spamassassin serving about 25 light load users (500 mails a day max).  I 
have seen problems with mailbox locking before as a result of a dropped 
connection and they usually sort themselves or I can kill the process, 
but I have the following in /var/log/maillog

Jul  4 12:25:28 wws-fs ipop3d[21506]: pop3 service init from xxx.xxx.xxx.xxx
Jul  4 12:25:28 wws-fs ipop3d[21506]: Can't open INBOX (file 
/var/spool/mail/pi-jane): not in valid mailbox format
Jul  4 12:25:29 wws-fs ipop3d[21506]: Error opening or locking INBOX 
user=pi-jane host=[xxx.xxx.xxx.xxx]
Jul  4 12:25:29 wws-fs ipop3d[21506]: Login user=pi-jane 
host=[xxx.xxx.xxx.xxx] no mailbox
Jul  4 12:25:29 wws-fs ipop3d[21506]: Logout user=pi-jane 
host=[xxx.xxx.xxx.xxx]

The client is told 'error opening users INBOX'.  The two scenarios,

- mailbox format is not valid
Usermin also runs on this machine to allow checking via the web.  
Usermin is still working fine, so perhaps it has mangled the file in 
some way it can still read it.  What are my options for verifying this?

- something has a lock on the file
I can see no evidence of a lock using 'ps' or 'lsof'.  The machine has 
also been restarted and the problem still persists.

I've been googling for a while now and can't find a solution ...

Thanks,
Darren
_______________________________________________
LinuxManagers mailing list - http://www.linuxmanagers.org
submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected]
subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers