Package: amavisd-new
Version: 1:2.6.1.dfsg-1
Severity: important

Since updating from amavisd-new 1:2.6.0.dfsg-2 to 1:2.6.1.dfsg-1, spam scanning 
is totally broken for me.

I'm using a fetchmail - Exim 4.69-6 - amavisd-new - spamassassin 3.2.5-1 - 
clamav 0.93.3.dfsg-1 setup. Mails are still passing through amavisd and 
arriving correctly, 
however all spam messages get through and no spam check seems to be run. Here's 
part of the header of a spam message (notice the tests=[none], I would at least 
expect some 
bayes result):

Received: from localhost ([127.0.0.1] ident=amavis) by
        localhost.localdomain with esmtp (Exim 4.69) (envelope-from
        <[EMAIL PROTECTED]>) id 1KUhMt-0001uG-UZ for [EMAIL PROTECTED]; Sun, 17 
Aug
        2008 14:28:23 +0200
X-Virus-Scanned: Debian amavisd-new at localhost
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=-999 required=4 tests=[none]
Received: from localhost.localdomain ([127.0.0.1]) by localhost
        (localhost.localdomain [127.0.0.1]) (amavisd-new, port 10024) with 
ESMTP id
        qK6sMMGAkwc8 for <[EMAIL PROTECTED]>; Sun, 17 Aug 2008 14:28:22 +0200
        (CEST)
Received: from localhost ([127.0.0.1] helo=mailhost ident=fetchmail)
        by localhost.localdomain with esmtp (Exim 4.69) (envelope-from
        <[EMAIL PROTECTED]>) id 1KUhKC-0001r9-8t for [EMAIL PROTECTED]; Sun, 17 
Aug
        2008 14:25:36 +0200

# cat /etc/amavis/conf.d/50-user 
use strict;

#
# Place your configuration directives here.  They will override those in
# earlier files.
#
# See /usr/share/doc/amavisd-new/ for documentation and examples of
# the directives you can use in this file
#


$log_level = 2;

$sa_spam_subject_tag = '***SPAM*** ';
$sa_tag_level_deflt  = -999.0;  # add spam info headers if at, or above that 
level
$sa_tag2_level_deflt = 4.00; # add 'spam detected' headers at that level
$sa_kill_level_deflt = 5.00; # triggers spam evasive actions
$sa_dsn_cutoff_level = 4;   # spam level beyond which a DSN is not sent

$final_virus_destiny      = D_DISCARD;  # (data not lost, see virus quarantine)
$final_banned_destiny     = D_DISCARD;   # D_REJECT when front-end MTA
$final_spam_destiny       = D_DISCARD;
$final_bad_header_destiny = D_PASS;     # False-positive prone (for spam)

$banned_filename_re = new_RE();
@score_sender_maps = ();

@bypass_banned_checks_maps = (1);

@av_scanners =  (['ClamAV-clamd',
   \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.ctl"],
      qr/\bOK$/, qr/\bFOUND$/,
         qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ]);
@av_scanners_backup = ();

@bypass_virus_checks_maps = (
   \%bypass_virus_checks, [EMAIL PROTECTED], \$bypass_virus_checks_re);

@bypass_spam_checks_maps = (
   \%bypass_spam_checks, [EMAIL PROTECTED], \$bypass_spam_checks_re);



#------------ Do not modify anything below this line -------------
1;  # insure a defined return

Here are the mail.log contents for a testmail sent by telnet localhost 10024:

Aug 17 16:08:54 Luna amavis[22858]: (22858-10) SMTP::10024 
/var/lib/amavis/tmp/amavis-20080817T154431-22858: <[EMAIL PROTECTED]> -> 
<[EMAIL PROTECTED]> Received: from 
unknown ([127.0.0.1]) by localhost (localhost.localdomain [127.0.0.1]) 
(amavisd-new, port 10024) with SMTP for <[EMAIL PROTECTED]>; Sun, 17 Aug 2008 
16:08:45 +0200 (CEST)
Aug 17 16:09:02 Luna amavis[22858]: (22858-10) smtp connection cache, dt: 
393.6, state: 1
Aug 17 16:09:02 Luna amavis[22858]: (22858-10) smtp connection cache, dt: 393.6 
-> disabling
Aug 17 16:09:02 Luna amavis[22858]: (22858-10) Checking: iB7QtPAIpMjO <[EMAIL 
PROTECTED]> -> <[EMAIL PROTECTED]>
Aug 17 16:09:02 Luna amavis[22858]: (22858-10) Cached virus check expired, TTL 
= 180 s
Aug 17 16:09:02 Luna amavis[22858]: (22858-10) cached 
d41d8cd98f00b204e9800998ecf8427e from <[EMAIL PROTECTED]> (0,0)
Aug 17 16:09:02 Luna amavis[22858]: (22858-10) WARN: MIME::Parser error: 
unexpected end of header
Aug 17 16:09:02 Luna amavis[22858]: (22858-10) p001 1 Content-Type: text/plain, 
size: 0 B, name: 
Aug 17 16:09:02 Luna amavis[22858]: (22858-10) check_header: 7, Invalid header 
field syntax: Dit is een testje!
Aug 17 16:09:02 Luna amavis[22858]: (22858-10) check_header: 7, Missing 
required header field: "Date"
Aug 17 16:09:02 Luna amavis[22858]: (22858-10) check_header: 7, Missing 
required header field: "From"
Aug 17 16:09:02 Luna amavis[22858]: (22858-10) local delivery: <[EMAIL 
PROTECTED]> -> <bad-header-quarantine>, 
mbx=/var/lib/amavis/virusmails/i/badh-iB7QtPAIpMjO
Aug 17 16:09:02 Luna amavis[22858]: (22858-10) SPAM-TAG, <[EMAIL PROTECTED]> -> 
<[EMAIL PROTECTED]>, No, score=0 tagged_above=-999 required=4 tests=[none]
Aug 17 16:09:02 Luna amavis[22858]: (22858-10) FWD via SMTP: <[EMAIL 
PROTECTED]> -> <[EMAIL PROTECTED]>, 250 2.6.0 Ok, id=22858-10, from 
MTA([127.0.0.1]:10025): 250 OK 
id=1KUiwI-0006Fr-Gu
Aug 17 16:09:02 Luna amavis[22858]: (22858-10) Passed BAD-HEADER, <[EMAIL 
PROTECTED]> -> <[EMAIL PROTECTED]>, quarantine: i/badh-iB7QtPAIpMjO, mail_id: 
iB7QtPAIpMjO, 
Hits: 0, size: 20, queued_as: 250 OK id=1KUiwI-0006Fr-Gu, 24198 ms
Aug 17 16:09:02 Luna amavis[22858]: (22858-10) TIMING [total 24231 ms] - SMTP 
greeting: 10 (0%)0, SMTP pre-MAIL: 6948 (29%)29, SMTP DATA: 16748 (69%)98, 
check_init: 4 
(0%)98, digest_hdr: 1 (0%)98, digest_body: 1 (0%)98, gen_mail_id: 3 (0%)98, 
mime_decode: 35 (0%)98, get-file-type0: 1 (0%)98, parts_decode: 0 (0%)98, 
check_header: 9 
(0%)98, AV-scan-1: 9 (0%)98, spam-wb-list: 6 (0%)98, SA parse: 5 (0%)98, SA 
check: 124 (1%)99, update_cache: 26 (0%)99, decide_mail_destiny: 4 (0%)99, 
open-mbx: 27 (0%)99, 
write-header: 3 (0%)99, save-to-local-mailbox: 1 (0%)99, fwd-connect: 60 
(0%)99, fwd-mail-pip: 5 (0%)99, fwd-rcpt-pip: 1 (0%)99, fwd-data-chkpnt: 1 
(0%)99, write-header: 2 
(0%)99, fwd-data-contents: 0 (0%)99, fwd-end-chkpnt: 56 (0%)99, prepare-dsn: 12 
(0%)99, main_log_entry: 109 (0%)100, update_snmp: 13 (0%)100, SMTP 
pre-response: 2 (0%)100, 
SMTP response: 2 (0%)100, unlink-1-files: 1 (0%)100, rundown: 2 (0%)100


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (300, 'testing'), (200, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.19.1-cks2
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages amavisd-new depends on:
ii  adduser                      3.108       add and remove users and groups
ii  debconf [debconf-2.0]        1.5.22      Debian configuration management sy
ii  file                         4.25-1      Determines file type using "magic"
ii  libarchive-zip-perl          1.18-1      Module for manipulation of ZIP arc
ii  libberkeleydb-perl           0.34-1+b1   use Berkeley DB 4 databases from P
ii  libcompress-zlib-perl        2.012-1     Perl module for creation and manip
ii  libconvert-tnef-perl         0.17-8      Perl module to read TNEF files
ii  libconvert-uulib-perl        1.11-1      Perl interface to the uulib librar
pn  libdigest-md5-perl           <none>      (no description available)
ii  libio-stringy-perl           2.110-4     Perl modules for IO from scalars a
ii  libmailtools-perl            2.03-1      Manipulate email in perl programs
pn  libmime-base64-perl          <none>      (no description available)
ii  libmime-tools-perl           5.427-1     Perl5 modules for MIME-compliant m
ii  libnet-server-perl           0.97-1      An extensible, general perl server
ii  libunix-syslog-perl          1.1-2       Perl interface to the UNIX syslog(
ii  perl [libtime-hires-perl]    5.10.0-11.1 Larry Wall's Practical Extraction 
ii  perl-modules [libarchive-tar 5.10.0-11.1 Core Perl modules

amavisd-new recommends no packages.

Versions of packages amavisd-new suggests:
pn  apt-listchanges            <none>        (no description available)
pn  arj                        <none>        (no description available)
ii  cabextract                 1.2-3         a program to extract Microsoft Cab
ii  clamav                     0.93.3.dfsg-1 anti-virus utility for Unix - comm
ii  clamav-daemon              0.93.3.dfsg-1 anti-virus utility for Unix - scan
ii  cpio                       2.9-13        GNU cpio -- a program to manage ar
pn  dspam                      <none>        (no description available)
pn  lha                        <none>        (no description available)
pn  libauthen-sasl-perl        <none>        (no description available)
ii  libdbi-perl                1.605-1       Perl5 database interface by Tim Bu
ii  libmail-dkim-perl          0.32-1        cryptographically identify the sen
pn  libnet-ldap-perl           <none>        (no description available)
ii  lzop                       1.02~rc1-2    fast compression program
pn  nomarch                    <none>        (no description available)
ii  spamassassin               3.2.5-1       Perl-based spam filter using text 
pn  unrar                      <none>        (no description available)
pn  zoo                        <none>        (no description available)

-- debconf information:
  amavisd-new/outdated_config_style_warning:



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to