There's often problem with our postfix mail server (that runs Cyrus / Cyrus-imapd) :
I have scripts (using mutt) to send hourly mails out (& from another postfix server, I can send mails to it). I need a way / method such that if those hourly test mails were never sent out or received, I'll need to be alerted. Let me know the freeware tools & method to go about doing this? Will procmail (to verify if mails between the 2 postfix servers arrives at the mailboxes) be needed? I don't know anything about procmail. Or can we write scripts that run hourly (say 10 mins after test mails were sent) that checks maillog for arrival of the test mails & if they're not received, ......, hmm, how do I sent an alert email to notify support if outgoing mail is not working anymore? I've suffered quite a few postfix mails not being sent/received outages which have serious consequences : causes can be due to postfix Linux servers' resource were exhausted, too many "MAILER-DAEMON" or tens of thousands of stuck mails due to invalid email address (as shown by mailq) Roger