qmail
Manage Mail from a Mail Queue
service qmail start – Start Qmail
service qmail stop – Stop Qmail
/usr/local/psa/var/log/maillog – maillogs
/var/qmail/mailnames – mailbox locations
find /var/qmail/queue -name XXXX | xargs cat | less – read entire contents of mail
/var/qmail/bin/qmail-qstat – Display all Messages in the Email Queue
/var/qmail/bin/qmail-qread – To list multiple messages in the queue, type
/usr/local/psa/admin/bin/mailqueuemng -a – push the mail
/usr/local/psa/admin/bin/mailqueuemng -s –
cat /var/qmail/control/me – check the qmail FQDN
vi /var/qmail/control/me – change the domain to FQDN
service qmail restart
kill -ALRM `ps ax | grep qmail-send | grep -v grep | awk ‘{print $1}’` – force Qmail to process mail that is stuck in the queue