Jacob wrote:

> Hi,

> I'm really confused of how amavisd-new is using SpamAssassin, as I just
> cant get it to catch all my spammails. I've recently upgraded from a
> setup with SpamAssassin and ClamAV together with Qmail to a setup with
> postfix and amavisd-ew (with SpamAssassin and ClamAV). I changed my
> setup because I like that amavisd-new takes virus- and spammails in
> quarantine instead of the users having to set up mailrules to get rid of
> the infected mails.

> My big problem now is to actually put all the spammails in quarantine
> and not just deliver them to my mailusers. When SpamAssassin marks a
> message as being spam I have no guarantee that it will be marked as spam
> from amavis and that is very odd, as I see it. I have a been tailing my
> mail.log to see what score (hits) amavis gets from each of the mails and
> they often differ very much. As an example I have an email where amavis
> said:

>   Passed CLEAN, [...] Hits: 3.427 [...]

> Though, when manually testing it through SpamAssassin (spamassassin -t
> -D < mailfile) with the exact same configuration and bayes database it
> gets:

>   Content analysis details:   (12.6 points, 5.0 required)

> Now back to my frustration - why do amavis change this score? Is it
> somehow possible to change the behaviour of amavis so it will use the
> correct score from SpamAssassin? If the hits amavis is working with are
> not those from SpamAssassin, then how dows it calculate them?

> My setup is a Debian Stable with Postfix, SpamAssassin, ClamAV and
> amavisd-new from the backports repository.

> Hopefully someone will be able to help me. Thanks in advance.

> Sincerely, Jacob Volstrup

Read the section "SpamAssassin returns different score"
http://www.ijs.si/software/amavisd/#faq-spam

possibly most important, set:
$sa_local_tests_only = 0;
in amavisd.conf (or 50_user if that's what you have)

It would have been informative if you had shown what rules hit
in both cases.

Gary V


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to