On Sun, 17 Feb 2002, dman verbalised:
>| 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.
>
> Mmm, if you're still connected, why wouldn't the messages be sent
> immediately instead of being queued?
Because I tell exim to queue because I am a dialup user so instead of
bringing PPP up, it queues them.
> As for a deamon :
>
> sh -c "while [ 1 ] ; do sleep 10m ; exim -q ; done" &
>
Umm,
sh -c "while [ -e /var/run/ppp0.pid ] ; do sleep 10m ; exim -q ; done" &
I am hoping this will just stay running until I drop PPPD :)
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@???