Re: Shell script for a mail queue notification!
- From: Snowbat <snowbat@xxxxxxxxxxxxx>
- Date: Thu, 08 Mar 2007 23:30:52 -0300
On Thu, 08 Mar 2007 02:18:58 +0100, Nightman wrote:
I am looking for a script to run in cron and notify the admin, if the mail
queue exceed some predefined level. i have made the script and it working
fine by executing the qmHandle -s command.
But I found out these mail notification is not suitable to alert the
admin, since if the mail queue is huge then notification mail will also
wait until the other mails been delivert. so the solution is not ideal.
What other way I can make this alert? is there any way to alert another
server to send an email? or any other suggestions?
Does your distro have nail (now known as Heirloom mailx)?
http://heirloom.sourceforge.net/mailx.html
"Supports SMTP to send messages directly to a remote server."
Alternatively you could consider sending via IM or as SMS message to
admin's cellphone.
--
--
Posted via a free Usenet account from http://www.teranews.com
.
- Follow-Ups:
- Re: Shell script for a mail queue notification!
- From: Nightman
- Re: Shell script for a mail queue notification!
- References:
- Shell script for a mail queue notification!
- From: Nightman
- Shell script for a mail queue notification!
- Prev by Date: Re: Creating a CD image
- Next by Date: Re: Linspire?
- Previous by thread: Shell script for a mail queue notification!
- Next by thread: Re: Shell script for a mail queue notification!
- Index(es):
Relevant Pages
|