Monday, March 2, 2009

Plesk: mailqueue

How do I check the mail queue

sendmail -bp
It will print a list of emails

Command of check the number of messages waiting to be sent on the server is:


/var/qmail/bin/qmail-qstat

How to force qmail to process all messages in queue immediately?

If you send ALRM signal to the qmail-send process, Qmail will try to process all messages in queue again immediately.

# ps ax | grep qmail-send
# kill -ALRM