I resolved the problem on CentOS 5 by updating the Postfix Logwatch Scripts. You can get the newest version from: Postfix and Amavis Log Reporters
Oh guess I can put a HowTo as well:
Download the new processing script
The Postfix Logwatch script is maintained by Mike Cappella at his homepage: Postfix and Amavis Log Reporters
Download the latest stable version to your server.
Install the new processing script
Code:
1. Backup the current configuration file:
cd /usr/share/logwatch/default.conf/services/
mv postfix.conf postfix.conf.bak
2. Backup the current processing script
cd /usr/share/logwatch/scripts/services
mv postfix postfix.bak
3. Extract the new scripts and configuration file and change into the same directory they extracted into
4. Move the new configuration file and set the correct file permissions
mv postfix-logwatch.conf /usr/share/logwatch/default.conf/services/postfix.conf
chown root:root /usr/share/logwatch/default.conf/services/postfix.conf
chmod 644 /usr/share/logwatch/default.conf/services/postfix.conf
5. Move the new processing script and set the correct file permissions
mv postfix-logwatch /usr/share/logwatch/scripts/services/postfix
chown root:root /usr/share/logwatch/scripts/services/postfix
chmod 755 /usr/share/logwatch/scripts/services/postfix
6. Manually run logwatch and have it output to a file on the server to verify the output is correct
logwatch --save /tmp/logwatchDebug.log Additional Configuration (Optional)
If you want more details output for Postfix make the following change to your configuration file
Code:
vi /usr/share/logwatch/default.conf/services/postfix.conf
Near the bottom you will find a lot of different types of errors that can be logged.