Package: spamassassin
Severity: minor

Hi,
it seems that when using run-parts for running
/etc/spamassassin/sa-update-hooks.d the stdout is not redirected to /dev/null
thus mailing root when e.g. spampd is restarted.
trivial patch attached

thanks,
filippo


-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 
'proposed-updates'), (200, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: debian/spamassassin.cron.daily
===================================================================
--- debian/spamassassin.cron.daily	(revision 18876)
+++ debian/spamassassin.cron.daily	(working copy)
@@ -48,7 +48,7 @@
 	/etc/init.d/spamassassin reload > /dev/null
     fi
     if [ -d /etc/spamassassin/sa-update-hooks.d ]; then
-        run-parts --lsbsysinit /etc/spamassassin/sa-update-hooks.d
+        run-parts --lsbsysinit /etc/spamassassin/sa-update-hooks.d > /dev/null
     fi
 }
 

Reply via email to