Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2004 00:44:07 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        epilogue@allstream.net, freebsd-questions@freebsd.org
Subject:   Re: sendmail off - no more accounting message to root
Message-ID:  <20040320004407.GB38246@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20040320003942.GA38246@happy-idiot-talk.infracaninophile.co.uk>
References:  <20040319185823.09b12d26@localhost> <20040320003942.GA38246@happy-idiot-talk.infracaninophile.co.uk>

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

--Pd0ReVV5GZGQvF3a
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
>=20
> > because i'm only running a desktop and sylpheed has it's own mail trans=
port
> > 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.
> >=20
> > 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?
>=20
> 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.
>=20
> 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=3D"/var/log/daily.log"
    weekly_output=3D"/var/log/weekly.log"
    monthly_output=3D"/var/log/monthly.log"

then the default /etc/newsyslog.conf is already setup to cycle those
logfiles neatly.

	Cheers,

	Matthew

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

--Pd0ReVV5GZGQvF3a
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAW5PXdtESqEQa7a0RAguNAJ9/ZYsHL68TreXVD+vT1nker3ApHQCeOjpq
G9JtocATAESW2TJ3j+rshp4=
=tn+3
-----END PGP SIGNATURE-----

--Pd0ReVV5GZGQvF3a--



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