#1 logwatch-postfix missing cfg_str_(.*) lines

v1.40.01
closed
nobody
5
2014-11-05
2012-01-14
Anonymous
No

When running logwatch-postfix on my postfix mail.log it's currently missing these lines:

   1   Jan 13 20:41:36 nemesis postfix/smtpd[9653]: cfg_get_int: /etc/postfix/conf.d/sql-alias-maps.cf: expansion_limit = 0
    1   Jan 13 02:45:16 nemesis postfix/smtpd[4003]: cfg_get_str: /etc/postfix/conf.d/sql-mailbox-maps.cf: dbname = mailing
    1   Jan 13 02:45:16 nemesis postfix/smtpd[4003]: cfg_get_str: /etc/postfix/conf.d/sql-mailbox-maps.cf: user = mailauth
    1   Jan 13 05:37:37 nemesis postfix/smtpd[1620]: cfg_get_str: /etc/postfix/conf.d/sql-mailbox-maps.cf: user = mailauth
    1   Jan 13 01:48:07 nemesis postfix/smtpd[30838]: cfg_get_str: /etc/postfix/conf.d/sql-mailbox-maps.cf: query = SELECT CONCAT(maildir, 'Maildir/') AS maildir FROM mailbox WHERE username='%s' AND active = '1'
    1   Jan 13 04:11:07 nemesis postfix/smtpd[9230]: cfg_get_str: /etc/postfix/conf.d/sql-alias-maps.cf: result_format = %s
    1   Jan 13 07:40:28 nemesis postfix/smtpd[13721]: cfg_get_str: /etc/postfix/conf.d/sql-alias-maps.cf: dbname = mailing
    1   Jan 13 00:24:22 nemesis postfix/smtpd[6838]: cfg_get_str: /etc/postfix/conf.d/sql-alias-maps.cf: hosts = localhost
    1   Jan 13 02:16:34 nemesis postfix/smtpd[1478]: cfg_get_str: /etc/postfix/conf.d/sql-mailbox-maps.cf: hosts = localhost
    1   Jan 13 02:16:34 nemesis postfix/smtpd[1478]: cfg_get_str: /etc/postfix/conf.d/sql-alias-maps.cf: user = mailauth

These lines come from a postfix setup running w/ mysql tables hosting the user/alias/mailbox configs ... The attached patch simply adds cfg_get_ to the ignore list.

Discussion

    • status: open --> pending
    • Group: v1.0_(example) --> v1.40.01
     
    • status: pending --> closed