Hi,

> Another question - as a result of this problem locking my server (its
> all now under control), I have a locked file in
> var/spool/mail/.username.pop. How do I go about deleting this file?
> The rm command doesn't seem to do it? The user can not get mail
> because of this.

Do not delete the file willy nilly! (or you could lose some emails much to
your user's chagrin).

the file is locked by popper (pop3d).  There may also be a file named
username.lock in /var/spool/mail

First do a "ps" command

ps awxu|grep pop3

This will identify the pop3d process that is the locked users's. 

Then kill that process (kill -9 PID#) where PID# is the process ID number
Do not do a "killall pop3d" !  Only kill that user's pop3d

then you should check the file "/var/spool/mail/username" and if it is of
non-zero size, then some emails came in since the lock happened.  Execute
these commands:

cd /var/spool/mail
cat username >> .username.pop
mv .username.pop username
rm username.lock

that should do it.

best regards
Mike Salim

Reply via email to