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

Top Page
Delete this message
Reply to this message
Author: Sean Rima
Date:  
To: exim-users
Subject: Re: [Exim] Getting exim to see a pid file
On Sat, 16 Feb 2002, dman spake thusly:

> 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').
>


I do something similar when PPP comes up, but sometimes, I can stay on
the net for a few hours and until I reconnect, unless I do a sendmail
- -q, the mail sits in the queue. I may write a small daemon that would do
the job for me.

Sean
- --
BBS and Fidonet News Portal at http://www.tcob1.net
Offering feeds for Fidonet, Adventurenet, and many other nets
ICQ: 679813 TCOB1 BBS: 095 43852 Jabber: tcobone@???