Fix for mail.warn absent Ubuntu 11.04

Discussion in 'Tips/Tricks/Mods' started by CSsab, Jul 6, 2011.

  1. CSsab

    CSsab New Member

    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.
    # -/var/log/
    #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/


Share This Page