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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: dman
Datum:  
To: exim-users
Betreff: Re: [Exim] Getting exim to see a pid file
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').

-D

--

There are six things the Lord hates,
    seven that are detestable to him :
        haughty eyes,
        a lying tongue,
        hands that shed innocent blood,
        a heart that devises wicked schemes,
        feet that are quick to rush into evil,
        a false witness who pours out lies
        and a man who stirs up dissension among brothers.


        Proverbs 6:16-19