On Wed, 2004-07-21 at 13:37, Kevin Brown wrote: > Craig White wrote: > > > On Wed, 2004-07-21 at 13:27, elemint@theriver.com 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. > > perl or expect languages... --- when he started this thread, I was thinking expect but I never used it before. I guess expect would solve the issue of cron too. The only thing you would have to worry about is memory leakage. Craig --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss