on Thu, Aug 23, 2001 at 02:51:41AM +0100, Stig Brautaset ([EMAIL PROTECTED]) 
wrote:
> * Karsten M. Self <kmself@ix.netcom.com> 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. 

Standalone systems still use mail for local delivery, e.g.:  cron and at
jobs are mailed to user on completion.  Mail is a useful thing.

> > 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

Cool, if it works.

-- 
Karsten M. Self <kmself@ix.netcom.com>          http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?             There is no K5 cabal
  http://gestalt-system.sourceforge.net/               http://www.kuro5hin.org
   Free Dmitry! Boycott Adobe! Repeal the DMCA!    http://www.freesklyarov.org
Geek for Hire                        http://kmself.home.netcom.com/resume.html

Attachment: pgp7HSv4wsaSZ.pgp
Description: PGP signature

Reply via email to