Package: amavisd-new
Version: 1:2.6.4-3

While the change shown below in 1:2.6.2-1 fixes Bug#447040 as claimed in
the changelog, it does not fix Bug#483537 that was merged with it
because the "ERROR: configuration specifies 'use_bayes 0', sa-learn
disabled" message appears on stderr, not stdin.  It also continues to
produce exit code 1.  The correct approach would seem to be, as
suggested in the original bug report, to check the value of use_bayes.

$ interdiff -p 1 amavisd-new_2.6.1.dfsg-2.diff amavisd-new_2.6.2-1.diff
[...]
--- amavisd-new-2.6.1.dfsg/debian/amavisd-new-cronjob
+++ amavisd-new-2.6.2/debian/amavisd-new-cronjob
@@ -29,10 +29,10 @@
 
 case $1 in
        sa-sync)
-               do_amavis_cmd "/usr/bin/sa-learn --sync >/dev/null"
+               do_amavis_cmd "/usr/bin/sa-learn --sync" >/dev/null
                ;;
        sa-clean)
-               do_amavis_cmd "/usr/bin/sa-learn --sync --force-expire 
>/dev/null"
+               do_amavis_cmd "/usr/bin/sa-learn --sync --force-expire" 
>/dev/null
                ;;
        *)
                echo "$0: unknown cron routine $1" >&2

Thanks.

-- 
William Ono <deb...@events.soundwave.net>



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to