Re: [EXIM] Dial Up SMTP

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Paul Mansfield
Fecha:  
A: Paul Slootman
Cc: Exim users mailing list
Asunto: Re: [EXIM] Dial Up SMTP

On Thu, 10 Sep 1998, Paul Slootman wrote:
> >     ping smarthost-at-isp
> >     if [ ?$ -eq 0 ] ; then
> >         exim -some-flags-which-trigger-email
> >     fi


erm, how about something like
    ifconfig ppp0 | fgrep UP
    if [ $? -eq 0 ] ; then
        ....run the queue...
    fi



Paul
----
* A third of our time is spent fixing things broken by others, another third *
*    doing real work, and the final third breaking things others will fix    *




--
*** Exim information can be found at http://www.exim.org/ ***