[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim in cron - why for dialup system?



On Thu, Jan 10, 2002 at 07:18:11PM -0500, Brenda J. Butler wrote:
> 
> 
> 
> On Thu, Jan 10, 2002 at 11:22:15PM +0200, Shaul Karl wrote:
> > > Since I have a dial-up system to my isp for email collection and
> > > delivery why does cron have an entry for exim? It runs whenever I
> > > dial up and connect?  Should I remove this entry?
> > 
> > Are you referring to /etc/cron.daily/exim?
> > 
> > As far as I understand this cron.daily script is for
> > routine tasks that are carried out even when the machine
> > will never be connected to some network. There fore you
> > should not remove that entry.  What runs every time you
> > dial up and connect is etc/ppp/ip-up.d/exim.
> 
> I have /etc/cron.d/exim and /etc/cron.daily/exim.
> 


hi 
i still have dialup, so i need to deliver mail when it connects ,
in my /etc/ppp/ip-up.d/exim, removed all lines and added this to work exim 
regardless of retry times.

#!/bin/sh
#/etc/ppp/ip-up.d/exim
for i in /var/spool/exim/msglog/*
do
        exim -M $(echo $i|cut -b24-)
done


-jijojose





Reply to: