How can I get a notification from my server if the mail queue stops

Posted by Ash on Server Fault See other posts from Server Fault or by Ash
Published on 2012-07-03T19:05:19Z Indexed on 2012/07/03 21:17 UTC
Read the original article Hit count: 210

Filed under:
|

I am using QMail with Plesk 10 on an Apache server.

Occasionally the mail queue stops processing emails - this most recently happenend when an email account got hacked and started sending hundreds of emails.

We did not find out about this until a client of ours contacted to say that their emails were not being recieved, so we checked the mail queue and lo and behold the service had stopped.

In future I would like to be notified when the mailqueue stops.

How can I set something up so the server will run a command whenever the mailqueue stops?

© Server Fault or respective owner

Related posts about plesk

Related posts about qmail