Re: Creating a Script to see if amavis is alive

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
To: plug-discuss
Subject: Re: Creating a Script to see if amavis is alive
On Wed, 2004-07-21 at 13:27, wrote:
> Since it is amavis that is having a problem what about setting up a
> script to "telnet 127.0.0.1 10024" and if it fails then send emial to
> user@..,.
>
> This is how it looks when amavis is runnning
>
> telnet 127.0.0.1 10024
> Trying 127.0.0.1...
> Connected to 127.0.0.1.
> Escape character is '^]'.
> 220 [127.0.0.1] ESMTP amavisd-new service ready
>
> This is how it looks when amavis is down
> telnet 127.0.0.1 10024
> Trying 127.0.0.1...
> telnet: Unable to connect to remote host: Connection refused

---
OK - I understand that.

but if new mail comes in, doesn't postfix hold it in the queue until
amavis is ready? Does mail (postfix) refuse mail?

Also, how does one 'script' a telnet login, capture standard out and
then logout? That's what I cannot fathom.

Craig

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