Re: [EXIM] Dial Up SMTP

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Paul Mansfield
Dátum:  
Címzett: Paul Slootman
CC: Exim users mailing list
Tárgy: Re: [EXIM] Dial Up SMTP
On Thu, 10 Sep 1998, Paul Slootman wrote:

> Now, I currently have queue_smtp set, so that exim doesn't immediately
> cause a dialout when a message is sent. However, I'd love to see some
> way of telling exim it's ok to immediately deliver a message when the
> connection is up and running (otherwise it'll be queued, and perhaps
> cause a dialout when 'exim -q' is run, and waste money).


could a script which did this under a cron-job...

    #!/bin/sh


    ping smarthost-at-isp
    if [ ?$ -eq 0 ] ; then
        exim -some-flags-which-trigger-email
    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/ ***