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

Re: [cobalt-users] RaQ2 Mail Server Not Working



On Thu, Aug 10, 2000 at 09:06:59AM -0600, Michael Combe wrote:
> Or so we thought.  I have tried to send mail to various users on the server.
> This mail is not being received by these users.  I have checked all mail
> logs.  The messages ARE being received by the server, but the message are
> just not being sent to the mailboxes for the appropriate user.  I ran
> ps -aux and I saw MANY sendmail and procmail process in the queue waiting to

Sounds like you have some stale lockfiles.  Log into your RaQ2 as
root, and run 'cd /var/spool/mail ; ls -l *.lock .*.pop'

The user.lock file is the procmail style locking; however,
sometimes it can have problems.  When this happens, try
cat user.lock to get the PID of the locking process.  You
could even try something like the following:

ps -uh `cat /var/spool/mail/*.lock`

To look for processes that have been hung at some point, from
there you can use kill <pid> to eliminate the process or if
no matching process is found corresponding to the pid, terminate
the process.

Once you remove the stale lockfiles, the waiting procfile processes
will write out their data to the mail spools.

-- 
Robert G. Fisher		     NEOCOM Microspecialists Inc. 
System Administrator/Programmer      (540) 666-9533 x 116