[Tfug] mail logs

elemint at theriver.com elemint at theriver.com
Tue Jul 13 11:06:20 MST 2004


>Try this one:

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

There is no output returned when I enter the below command.

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


Jim


> 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
> _______________________________________________
> tfug mailing list
> tfug at tfug.org
> https://www.tfug.org/mailman/listinfo/tfug
>



More information about the tfug mailing list