Re: Creating a Script to see if amavis is alive

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Jeremy C. Reed
Dato:  
Til: plug-discuss
Emne: Re: Creating a Script to see if amavis is alive
On Wed, 21 Jul 2004, Craig White wrote:

> Without really thinking this completely through, my initial inclination
> would be to set up a mail alias that routes mail to /dev/null. Then I
> would have a shell script that has something like...
>
> if mail user_whose_mail_goes_to_dev_null -s "testing for accepting mail"
> = 0; then mail real_mail_notification_address -s "Problem with mail
> server"; fi


mail should always return 0 even if mail alias is missing. It is not
mail's responsibility (and it does not know how) to check this.


Jeremy C. Reed

                 technical support & remote administration
                http://www.pugetsoundtechnology.com/


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss