PDA

View Full Version : Fix for mail.warn absent Ubuntu 11.04


CSsab
6th July 2011, 17:50
Problem: mail.warn log is absent on default install of Ubuntu 11.04

Fix: After installing postfix and courier etc.,
Edit /etc/rsyslog.d/50-default.conf and uncomment mail.warn line (red below)

vi /etc/rsyslog.d/50-default.conf

#
# Logging for the mail system. Split it up so that
# it is easy to write scripts to parse these files.
#
#mail.info -/var/log/mail.info
#mail.warn -/var/log/mail.warn
mail.err /var/log/mail.err

and restart rsyslog.

mail.warn log will now be available in /var/log/

Cheers