Re: Postfix logging with syslog-ng

From: Ronan Mullally (no email)
Date: Fri Feb 10 2006 - 17:47:13 EST

  • Next message: Nick Powers: "Re: All SMTPD Processes Used"

    Werner,

    On Fri, 10 Feb 2006, Werner Schalk wrote:

    > Consequently all the Postfix stuff is logged to /var/log/mail.log which is
    > what I need. However these three lines are still logged in /var/log/messages:
    >
    > Feb 10 23:20:30 myserver postfix/smtpd[29962]: sql_select option missing
    > Feb 10 23:20:30 myserver postfix/smtpd[29962]: auxpropfunc error no mechanism
    > available
    > Feb 10 23:20:30 myserver postfix/smtpd[29962]: _sasl_plugin_load failed on
    > sasl_auxprop_plug_init for plugin: sql

    These messages are not being logged under the mail facility (they're most
    likely being logged under auth).

    If you want to ensure all postfix messages are logged to the same file
    you'll need to use a regular expression match on the process name.

    I use something like the following to seperate messages from multiple
    instances of postfix:

      filter ABC-mail { facility(mail) and program("postfix-ABC/.*"); };

    -Ronan


  • Next message: Nick Powers: "Re: All SMTPD Processes Used"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD