Package: amavisd-new Version: 1:2.4.2-1 Severity: normal
In the case of calling /usr/sbin/amavisd-new-cronjob as $SUUSER (as in /etc/cron.d/amavisd-new). Line 26 get miss-interpreted by bash: + test -e /usr/bin/sa-learn + test -e /usr/sbin/amavisd-new + SUUSER=amavis + set -e + umask 022 + case $1 in + do_amavis_cmd '/usr/bin/sa-learn --sync >/dev/null' ++ id -u -n + '[' amavis '!=' amavis ']' + CMD='/usr/bin/sa-learn --sync >/dev/null' + exec /usr/bin/sa-learn --sync '>/dev/null' bayes: synced databases from journal in 0 seconds: 1797 unique entries (2692 total entries) this causes a parameter '>/dev/null' being passed to /usr/bin/sa-learn instead of redirecting it's output. It's a minor annoyance (a mail is sent every 3 hours to amavis user). But it's also incorrect to pass this wrong parameter to sa-learn (that's why I'm setting the severity of the bug as normal instead of minor). -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17.11 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages amavisd-new depends on: ii adduser 3.97 Add and remove users and groups ii debconf [debconf-2.0] 1.5.3 Debian configuration management sy ii file 4.17-3 Determines file type using "magic" ii libarchive-tar-perl 1.30-1 Archive::Tar - manipulate tar file ii libarchive-zip-perl 1.16-1 Module for manipulation of ZIP arc ii libberkeleydb-perl 0.29-1 use Berkeley DB 4 databases from P ii libcompress-zlib-perl 1.42-1 Perl module for creation and manip ii libconvert-tnef-perl 0.17-5 Perl module to read TNEF files ii libconvert-uulib-perl 1.06-1 Perl interface to the uulib librar pn libdigest-md5-perl <none> (no description available) ii libio-stringy-perl 2.110-1 Perl5 modules for IO from scalars ii libmailtools-perl 1.74-0.1 Manipulate email in perl programs pn libmime-base64-perl <none> (no description available) ii libmime-perl 5.420-0.1 Perl5 modules for MIME-compliant m ii libnet-perl 1:1.19-3 Implementation of Internet protoco ii libnet-server-perl 0.90-1 An extensible, general perl server ii libunix-syslog-perl 0.100-5 Perl interface to the UNIX syslog( ii perl [libtime-hires-perl] 5.8.8-6.1 Larry Wall's Practical Extraction ii perl-modules [libnet-perl] 5.8.8-6.1 Core Perl modules amavisd-new recommends no packages. -- debconf information: amavisd-new/outdated_config_style_warning: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]