old message expiration home : internet : mail : toaster : FAQ : logs message routing

Where do I find the mail logs?

/var/log/mail

  • qmail-send, qmail-smtpd, maildrop, toaster-watcher, etc.

/var/log/maillog (darned near everything else)

  • spamassassin, authentication (pop, imap, smtp, webmail)

/var/log/clamav

  • clamd, freshclam

/var/log/razor-agent.log

How do I 'watch" the logs?

See the page on watching the mail logs.

How do I delete logs on a periodic basis?

Those in /var/log/mail are easy to deal with, as old logs are dropped into YYYY/MM/DD directories. Nuke them as desired. The syslog mail.* is similarly easy, as it's rotated daily and a weeks worth are kept. Edit /etc/newsyslog.conf to alter settings.


Last modified on 5/9/05.