hi.
I have a working installation of amavis on a debian etch
box.
virus scanning works perfectly but I'm having a few issues
with the spam
detection.
I configured amavis to work with spamassasin and from
mail.log it seems
that spam contents are correctly detected and score is
calculated:
> Aug 18 22:08:31 bnix amavis[9891]: (09891-09) Passed
SPAM,
> [66.49.175.101] [61.106.112.200] <a-4a aaro.se> -> <XXX XXX.eu>,
> quarantine: spam-inIPvUDrSed5.gz, Message-ID:
<01c7e1d3$80a67490
> $c8706a3d a-4a>, mail_id: inIPvUDrSed5, Hits:
14.487, queued_as:
> BE0BB177E, 4920 ms
> Aug 18 22:08:31 bnix postfix/smtp[10841]: C005715AB:
to=<XXX XXX.eu>,
> relay=127.0.0.1[127.0.0.1]:10024, delay=5.8,
delays=0.85/0/0.02/4.9,
> dsn=2.6.0, status=sent (250 2.6.0 Ok, id=09891-09,
from
> MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as
BE0BB177E)
but even if the message has been flagged as SPAM no header
was added!
this is the result headers relative to that same message:
> Received: from localhost (XXX.XXX [127.0.0.1])
> by XXX.XXX (Postfix) with ESMTP id BE0BB177E
> for <XXX XXX.net>; Sat, 18 Aug 2007 22:08:30
+0200 (CEST)
> X-Quarantine-ID: <inIPvUDrSed5>
> X-Virus-Scanned: by amavisd-new-2.4.2 (20060627)
(Debian) at XXX.XXX
> Received: from XXX.XXX ([127.0.0.1])
> by localhost (XXX.XXX [127.0.0.1]) (amavisd-new,
port 10024)
> with ESMTP id inIPvUDrSed5 for <XXX XXX.net>;
> Sat, 18 Aug 2007 22:08:26 +0200 (CEST)
and here is my amavis rules relative to scoring and
reject/pass:
> $sa_spam_subject_tag = '***SPAM*** ';
> $sa_tag_level_deflt = 3.0;
> $sa_tag2_level_deflt = 4.0;
> $sa_kill_level_deflt = 5.0;
> $sa_dsn_cutoff_level = 10;
>
> $final_virus_destiny = D_DISCARD;
> $final_banned_destiny = D_REJECT;
> $final_spam_destiny = D_PASS;
> $final_bad_header_destiny = D_PASS;
what am I doing wrong?
------------------------------------------------------------
-------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and
a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
AMaViS-user mailing list
AMaViS-user lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
|