Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2001 19:10:41 +0100
From:      Bernd Walter <ticso@cicely5.cicely.de>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        Peter Wemm <peter@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/etc crontab
Message-ID:  <20010216191041.B32780@cicely5.cicely.de>
In-Reply-To: <200102160018.f1G0I2106462@hak.lan.Awfulhak.org>; from brian@Awfulhak.org on Fri, Feb 16, 2001 at 12:18:02AM %2B0000
References:  <peter@FreeBSD.org> <200102160018.f1G0I2106462@hak.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 16, 2001 at 12:18:02AM +0000, Brian Somers wrote:
> I think this'd be more suited to being a daily script and should be 
> turn-offable in periodic.conf.
> 
> It'd probably also be better to source the rc.conf files and not 
> bother doing anythin if $sendmail_flags contains '-[a-zA-Z]*q'.
> 
> The reason I don't like /etc/crontab having this is that I keep all 
> (well, most of) my machines with virgin /etc/crontab files and all 
> local root crontabs are maintained with crontab(1).  This just makes 
> the mergemaster bit one step longer (for people who don't want to run 
> this extra sendmail -q) :-(

And I like to start sendmail with special parameters:
/usr/sbin/sendmail -bd -OLogLevel=14 -C /databases/mail/sendmail.cf       -ODae=A=10.1.6.9
/usr/sbin/sendmail -bd -OLogLevel=14 -C /databases/mail/sendmail.cf       -ODae=Family=inet6,A=fec0:0:0:103::7
/usr/sbin/sendmail -bd -OLogLevel=14 -C /databases/mail/sendmail.cf       -ODae=A=127.0.0.1
/usr/sbin/sendmail -bd -OLogLevel=14 -C /databases/mail/sendmail.cf       -ODae=Family=inet6,A=::1
/usr/sbin/sendmail     -OLogLevel=14 -C /databases/mail/sendmail.cf       -q30m
/usr/sbin/sendmail -bd -OLogLevel=14 -C /databases/mail/sendmail.mail2.cf -ODae=A=10.1.129.2

Yes - I am one of those who don't want to run this extra sendmail -q.
Switchable via periodic.conf would be fine as it doesn't hurt when updateing
once you've setup it properly.

> 
> > peter       2001/02/14 17:34:37 PST
> > 
> >   Modified files:
> >     etc                  crontab 
> >   Log:
> >   Manually run /usr/sbin/sendmail -q once a day.  Folks seem to be too
> >   trigger happy and turn off sendmail_enable entirely (instead of setting
> >   sendmail_flags to -q30m instead).  I have seen boxes with things like daily
> >   run reports that have sat in mailq for 5 months.  Since /usr/sbin/sendmail
> >   is actually mailwrapper, this should be safe for the other plugins that
> >   provide the sendmail calling interface.
> >   
> >   Revision  Changes    Path
> >   1.30      +5 -1      src/etc/crontab

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso@cicely.de         Usergroup           info@cosmo-project.de



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010216191041.B32780>