Package: logwatch Version: 7.3-1 Severity: normal
I run logwatch in the default setup and use postfix as my MTA with body_checks enabled. For each message discarded or rejected by postfix, logwatch reproduces the messages, causing the mail from logwatch to be discarded or rejected. The mail from logwatch will automatically match the body_checks rules :-( I have run without body_checks for some time, and suffered spam in truckloads for it. I recently discovered mime-construct and have been able to work around the problem in this way. I have installed mime-construct and replaced /etc/cron.daily/00logwatch with this: --------------------------------- #!/bin/bash #Check if removed-but-not-purged test -x /usr/share/logwatch/scripts/logwatch.pl || exit 0 test -x /usr/bin/mime-construct #execute mime-construct --to root --subject "Logwatch for $(hostname -s)" --encoding base64 --file '/usr/sbin/logwatch --print |' --------------------------------- It will base64 encode the log summary from logwatch and hence allow it to escape the body_checks rules. Its probably not the best solution but it does allow me to get my logwatch mails and still have body_checks enabled in postfix. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (600, 'testing'), (550, 'stable'), (500, 'stable'), (50, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-1-686-smp Locale: LANG=en_GB.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Versions of packages logwatch depends on: ii perl 5.8.8-4 Larry Wall's Practical Extraction ii postfix [mail-transport-agent 2.2.10-2 A high-performance mail transport logwatch recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]