Re: [Exim] Getting exim to see a pid file

Top Pagina
Delete this message
Reply to this message
Auteur: Derek
Datum:  
Aan: exim-users
Onderwerp: Re: [Exim] Getting exim to see a pid file
dman wrote:

> On Sat, Feb 16, 2002 at 12:54:14AM +0000, Sean Rima wrote:
> | Originally to: All
> |
> | I am curious, is it possble to get EXIM to see if there is a PID
> | file and if said pid file exists to send mail on without queueing
> | it. I am dialup and this would help me as I forget to do a sendmail
> | -q a lot of the time :)
>
> ~~~~ /etc/ppp/ip-up.d/exim
> #!/bin/sh
>
> # Flush exim queue
> if [ -x /usr/sbin/exim ]; then
>    /usr/sbin/exim -qf
> fi
> ~~~~

>
>
> With this file (part of the debian package, btw), the exim will be
> told to deliver the mail whenever the PPP link comes up (ie you run
> 'pon').


No. That works only if you don't use pppd's support for demand dialing.
If you use it, sending mail to exim will normally start it dialing.

derek