> -----Original Message----- > From: owner-postfix-us...@postfix.org [mailto:owner-postfix- > us...@postfix.org] On Behalf Of Jan P. Kessler > Sent: 22 October 2012 15:44 > To: postfix-users@postfix.org > Subject: Re: Alert of unusually large queue > > > >> I'm not sure, if sending an e-mail about a "full mailqueue"-condition > >> is the best way to go ;-) > > depends > > > > if you have no bulk-mail on your server it will tak enot too long to > > find a good value to adjust the "50" and as example if i have > > 500 queued messages i like to look if there is soemthing going wrong > > > What I meant was, that there is a good chance, that you will not receive > this notification, because whatever condition causes your mails to stuck > in the queue could stop that notification, too ;-) > > As mentioned by other posters you should set up a real monitoring > system, that periodically checks your queue or generates an alert (e.g. > snmp trap) on the server which does not rely on the mechanism that you > are trying to monitor (here smtp). > > cheers, jpk
That's a good point, it might be worthwhile looking into something like a php script that interfaces with an SMS API. I've seen that done in the past. Kind regards, James Day (IT Engineer)