On 07 May 2001 11:40:23 +0200, Jens-Peter Otto wrote:
> Hello,
> 
> one of our customers says he had problems getting his mail last friday (from our 
>RaQ4).
> To check this out I wanted to take a look at the old logfiles, however I can't find 
>them :-(
> 
> - are the old logfiles stored somewhere? (no, mail.log in the sites logdirectory 
>doesn't 
> help)
> - if not, what do I have to put (presumably into /etc/logrotate.d/syslog) to keep 
>the last 
> thirty days of log?

 The current mail log is located at /var/log/maillog. Archived logs are
/var/log/maillog.1, /var/log/maillog.2, etc.. unless you have
compression set (I'm not sure what the default is because I always
modify /etc/logrotate.conf to compress log files). If compress is
uncommented in /etc/logrotate.conf it would be /var/log/maillog.1.gz,
/var/log/maillog.2.gz, etc. 

 If you need to view a compressed log file then run gzip (man gzip) on
the file to decompress it. Personally, I find Midnight Commander
extremely useful for such things. 

 The number of logs kept are set in /etc/logrotate.conf, the default
being 'rotate 4' meaning the last four weeks plus the current week's
log.



_______________________________________________
cobalt-developers mailing list
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers

Reply via email to