Showing posts with label Qmail. Show all posts
Showing posts with label Qmail. Show all posts

Error while restarting Qmail from Plesk

2 comments
“Unable to make action: Unable to manage service by mailmng: mailmng: Service qmail failed to start

0: /usr/local/psa/admin/htdocs/server/restart_services.php:28 psaerror(string “Unable to make action: Unable to manage service by mailmng: mailmng: Service qmail failed to start”)”

This error will occur if the sendmutex log file is missing. This can be resoved by creating this file.

touch /var/qmail/queue/lock/sendmutex
chown qmails:qmail /var/qmail/queue/lock/sendmutex
/etc/init.d/qmail restart

How to check mail queue in Plesk via SSH

0 comments
To check the mail queue in plesk from command line, you can use the command "/var/qmail/bin/qmail-qstat".

Quote:

[root@vps root]# /var/qmail/bin/qmail-qstat
messages in queue: 150
messages in queue but not yet preprocessed: 0