Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 2004 22:05:29 -0500
From:      epilogue@allstream.net
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   sendmail off - no more accounting message to root
Message-ID:  <20040319220529.3e7184fb@localhost>
In-Reply-To: <20040320004407.GB38246@happy-idiot-talk.infracaninophile.co.uk>
References:  <20040319185823.09b12d26@localhost> <20040320003942.GA38246@happy-idiot-talk.infracaninophile.co.uk> <20040320004407.GB38246@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

that ought to do the trick.  many thanks for your help, matthew.


-----------
On Sat, 20 Mar 2004 00:44:07 +0000
Matthew Seaman <m.seaman@infracaninophile.co.uk> wrote:

> On Sat, Mar 20, 2004 at 12:39:42AM +0000, Matthew Seaman wrote:
> > On Fri, Mar 19, 2004 at 06:58:23PM -0500, epilogue@allstream.net wrote:
> > 
> > > because i'm only running a desktop and sylpheed has it's own mail
> > > transport system, i shut down sendmail.  however, since making this
> > > change, i've noticed that the root account is no longer receiving the
> > > daily accounting digest.
> > > 
> > > i've had a look at the 310.accounting file in periodic, but am not
> > > sure what to change to get the accounting back.  is sendmail an
> > > absolute requirement for this service or is there some other way one
> > > of you might now about?
> > 
> > Try looking at /etc/defaults/periodic.conf instead -- it's a lot
> > clearer in there how to make the daily/weekly/monthly jobs write their
> > output to a log file rather than in an e-mail.
> > 
> > Nb. Don't edit /etc/defaults/periodic.conf -- just create
> > /etc/periodic.conf and put in there the settings you wish to override.
> 
> Bah! I'll forget me own head next.  I meant to say that if you set the
> output to log files like so:
> 
>     daily_output="/var/log/daily.log"
>     weekly_output="/var/log/weekly.log"
>     monthly_output="/var/log/monthly.log"
> 
> then the default /etc/newsyslog.conf is already setup to cycle those
> logfiles neatly.
> 
> 	Cheers,
> 
> 	Matthew
> 
> -- 
> Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
>                                                       Savill Way
> PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
> Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
> 



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