Description of problem: Daily logwatch fails to send report via mail. Instead it sends just a ``failure'' note. Version-Release number of selected component (if applicable): 2.3.3-2 How reproducible: 100% Steps to Reproduce: 1. Replace sendmail MTA by postfix. 2. Enable daily logwatch. 3. Wait for logwatch event. Actual results: logwatch fails to send mail report, instead the mail received contains: /etc/cron.daily/0logwatch: postdrop: warning: uid=0: Illegal seek sendmail: fatal: root(0): queue file write error Expected results: Should receive normal mail about log events (if any). Additional info: Correspondent maillog lines: Nov 20 01:12:34 mx postfix/postdrop[20413]: warning: uid=0: Illegal seek Nov 20 04:12:34 mx postfix/sendmail[20412]: fatal: root(0): queue file write error There are no this failure related events in audit.log, so I do not think this is a selinux issue. Sending test mail as root from shell: echo -e 'From: Me\nTo: Me\nSubject: Test\n\nTest!' | sendmail 'root' succeeds without a problem.
Can you please attach your postfix configuration?
Would you please let me not reveal that host's postfix configuration? I tend to consider it as security sensitive information. OTOH, I believe the problem metter is not postfix configuration as it does work if I send those mails from interactive shell as root.
What happens, when you are calling /etc/cron.daily/0logwatch as root from a shell? Do you get errors or warnings in /var/log/messages which could be related to this problem?
This bug entry was in needinfo for some time. Closing due to user inactivity as "NOT A BUG".