You are here: / home / 2009 / 03 / 13

Fri, 13 Mar 2009

Dear Lazyweb,

Since a recent update of one of my systems, amavisd-new keeps on spamming me. I get mails containing stuff like bayes: synced databases from journal in 0 seconds: 674 unique entries (742 total entries). The reasons seems to be a cronjob from amavisd-new (which can be deactivated via debconf):

grep amavisd-new-cron /etc/cron.{d,daily}/*
/etc/cron.d/amavisd-new:18 */3  * * *   amavis  test -e /usr/sbin/amavisd-new-cronjob && /usr/sbin/amavisd-new-cronjob sa-sync
/etc/cron.daily/amavisd-new:test -e /usr/sbin/amavisd-new-cronjob && exec /usr/sbin/amavisd-new-cronjob sa-clean

However, the called script contains:

egrep "sa-sync\)|sa-clean\)" -A 2 /usr/sbin/amavisd-new-cronjob
                do_amavis_cmd "/usr/bin/sa-learn --sync >/dev/null"
                do_amavis_cmd "/usr/bin/sa-learn --sync --force-expire >/dev/null"

Note that output is redirected to /dev/null, so I should only mails if an error occurs, shouldn't I? I'm really baffled... To the best of my knowledge I shouldn't get these mails. Where am I wrong, and how to formulate that in a bug report?

postet at 15:42 into [Debian] permanent link


Alexander Tolimar Reichle-Schmehl lives in Tuttlingen / Germany. He works as IT manager (specialized on Unix and SAN/Storage) for an international automotive supplier.