* Karsten M. Self <[email protected]> spake thus: > on Wed, Aug 22, 2001 at 02:21:19AM +0100, Stig Brautaset ([EMAIL PROTECTED]) > wrote: > > Diald keeps bringing up the link on request from exim. I have only had > > this problem since I made a fresh install about a week ago. Earlier, the > > exim cron-entry that run the queue was controlled by a set of scripts > > in diald's ip-up.d and ip-down.d directories, but not so now. Why is > > that? I could of course move the thing myself, but I want to do this the > > debian way. I have tried dpkg-reconfigure exim, but that didn't work... > > Two tacks that I could suggest. > > One is to run exim only when your PPP connection is up.
That was the plan. > Unfortunately, this has the side effect of disabling local deliver. There is no side effect; this is a standalone machine. > You can specify commands to run on up and down actions in ppp-up.d and > ppp-down.d. Here is what I did. ppp replaces resolv.conf and names the original one to resolv.conf.ppp.bak. I exploited this fact and added "-a -f /etc/resolv.conf.ppp.bak" to the end of the condition between [ ... ] in /etc/cron.d/exim. Feel free to let loose the applause :P Regards, Stig -- www.brautaset.org

