[Tfug] mail logs

Michael Stenner mstenner at ece.arizona.edu
Tue Jul 13 11:08:05 MST 2004


On Tue, Jul 13, 2004 at 10:55:03AM -0700, elemint at theriver.com wrote:
> > Find the filename that contains the postfix log messages.  Then find
> > the logrotate config file that rotates that log file.  This may be
> > different for different distros so I can't just tell you which file.
> > This should not be hard, though.
> 
> This is on a Debian system and when I ls /etc/logrote.d
> 
> The file name that contains the postfix log messages is /var/log/mail.log
> 
> I tried all three of these with nothing returned:
> 
> # locate mail.log |grep logrotate
> # locate postfix |grep logrotate
> # locate mail |grep logrotate

I'm not sure what that's meant to do.  Try this one:

grep mail.log /etc/logrotate.conf /etc/logrotate.d/*

					-Michael

-- 
  Michael D. Stenner                            mstenner at ece.arizona.edu
  ECE Department, the University of Arizona                 520-626-1619
  1230 E. Speedway Blvd., Tucson, AZ 85721-0104                 ECE 524G


More information about the tfug mailing list