On Sep 12, 2009, at 7:44 AM, Wietse Venema wrote:

Mike Cappella:
[ Charset ISO-8859-1 unsupported, converting... ]
On 9/11/09 5:57 PM, ghe wrote:

On Sep 11, 2009, at 6:18 PM, Wietse Venema wrote:

Also since I didn't find it, I just re-postmapped 'em all.

Postfix includes the name of the file that is out-of-date:

warning: database /etc/postfix/access.db is older than source
file /etc/postfix/access

This is logged when the output file has not been updated withing 100s
after the input file was modified.

Ah!! Logwatch was giving me the wrong string to grep for. "older than source" is all over the logs, all complaining about my sender checks.
Thanks, Wietse.


Most log messages in postfix-logwatch are either canonicalized or
summarized. In this case, the message summary change was an attempt at being a little more clear, (but perhaps its not). The canonicalization
(and uppercasing of the first word) makes strict grep'ing fail.  Eg.,
the grep:

I think that it is a mistake to replace the specific

   warning: database /etc/postfix/client_checks.db is older than
        source file /etc/postfix/client_checks

By the generic

   Database file needs update

Because it keeps the reader in the dark (given the generic text,
the user does not even know what to look for in the logfile).

I agree that many programs produce useless error messages. In the
case of Postfix, I actually put in effort to make messages useful.
So would I appreciate it if other people don't dumb down the
information that Postfix tries to give.

Or how about maybe a section of the (shorter, summarizing) message from logwatch, enclosed in single quotes, that would find the mail log messages?

--
Glenn English
g...@slsware.com



Reply via email to