List Info

Thread: Amavis not rewriting spam headers




Amavis not rewriting spam headers
country flaguser name
United States
2007-08-18 15:35:41
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-4aaaro.se> -> <XXXXXX.eu>,
> quarantine: spam-inIPvUDrSed5.gz, Message-ID:
<01c7e1d3$80a67490
> $c8706a3da-4a>, mail_id: inIPvUDrSed5, Hits:
14.487, queued_as:
> BE0BB177E, 4920 ms
> Aug 18 22:08:31 bnix postfix/smtp[10841]: C005715AB:
to=<XXXXXX.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 <XXXXXX.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 <XXXXXX.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-userlists.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/

Re: Amavis not rewriting spam headers
user name
2007-08-18 16:03:56
On 8/18/07, Andrea S. Gozzi <gozzivp44.net> wrote:
> 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.
>
> but even if the message has been flagged as SPAM no
header was added!

This question is asked frequently - it is a FAQ. Search
for:
No spam-related headers inserted?
in http://w
ww.ijs.si/software/amavisd/#faq-spam

On a Debian machine, in 50-user I would place:
$sa_tag_level_deflt  = undef;

and would explicitly set $mydomain:
$mydomain = 'example.org';

and would create a new local_domains_maps listing all my
domains:

local_domains_maps =
   ( [ ".$mydomain", 'sub.example.net',
'.example.com' ] );

-- 
Gary V

------------------------------------------------------------
-------------
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-userlists.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/

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )