Date: Fri, 01 Jun 2007 08:11:49 -0400 From: Steve Bertrand <iaccounts@ibctech.ca> To: mats.lindberg@se.transport.bombardier.com Cc: questions@freebsd.org Subject: Re: purging old mail Message-ID: <46600D05.2070709@ibctech.ca> In-Reply-To: <OF78AB1FA2.BF39D79A-ONC12572ED.0029E012-C12572ED.002AA959@UK.BOMBARDIER.TRANSPORT.COM> References: <OF78AB1FA2.BF39D79A-ONC12572ED.0029E012-C12572ED.002AA959@UK.BOMBARDIER.TRANSPORT.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
mats.lindberg@se.transport.bombardier.com wrote: > Hi all, > I'm setting up a FreeBSD 5.4 system that need to run unattended for a year > or more. > I've noticed that the /var/mail/root file grows a bit over time. > > Do I need to configure the system in some way to prevent this file from > growing indefinately, filling up the /var partition? Are you actually interested in reading root mail? Are you running sendmail? If so, in the /etc/mail/aliases file, change the root alias to an email address that someone actually POP's. If you don't want to read the email at all, change the root alias to point to /dev/null. Then run 'newaliases'. I've found that the postmaster account is much more prone to filling up a partition, so ensure that you redirect this address as well. Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46600D05.2070709>