Your message dated Sat, 16 Sep 2006 20:55:59 +0200
with message-id <[EMAIL PROTECTED]>
and subject line closing
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
I'm closing this bug, after rethinking it doesn't make sense to keep it
open.
Willi
--- End Message ---