Amavis doesn´t tag messages

Christian Hügel christian.huegel at stonebyte.de
Tue Dec 3 14:10:31 CET 2013


Am 03-12-2013 12:21, schrieb Christian Hügel:
> Hi,
> 
> I´ve setup amavis like described here [1] and so far I everything
> works except tagging the message like [SPAM]
> In my maillog I can see that amavis recognizes the mail as spam:
> 
> kolab amavis[13640]: (13640-01) Passed SPAM 
> {RelayedOpenRelay,Quarantined},
> 
> And here is my amavisd.conf lines
> 
> $sa_tag_level_deflt  = -999;  # add spam info headers if at, or above 
> that level
> $sa_tag2_level_deflt = 6.2;  # add 'spam detected' headers at that 
> level
> $sa_kill_level_deflt = 6.9;  # triggers spam evasive actions (e.g. 
> blocks mail)
> $sa_spam_subject_tag = '[Spam]';
> 
> In the mail header there should be something like this:
> 
> X-Spam-Flag: NO
> X-Spam-Score: 5.558
> X-Spam-Level: *****
> X-Spam-Status: No, score=5.558 tagged_above=2 required=6.2 
> tests=[AWL=-0.256,
>      DNS_FROM_OPENWHOIS=2.431, FH_DATE_PAST_20XX=3.384, 
> NO_RELAYS=-0.001]
>      autolearn=no
> 
> but the spam part is missing all.
> The only thing I can see what looks like amavis is:
> 
> X-Sieve: CMU Sieve 2.4
> X-Virus-Scanned: amavisd-new at example.com
> 
> 
> Do I need to change any other configuration file to get the messages 
> tagged?


OK, found it. You have to comment out following line in amavisd.conf

#@local_domains_maps

then service amavisd reload.

Now I have to check why outgoing mails are also scanned.


Chris



More information about the users mailing list