jacusy wrote:

> Hi!

> I played around some time today with postfix, amavisd-new and
> spamassassin. My mails on the mail-gateway are just checked, and then
> forwarded to another mail-server. spamassassin works (it is not in
> daemon-mode), but the headers in the checked mail do not appear. I have
> these settings:
> /etc/amavisd.conf:
> $sa_tag_level_deflt=-5.0;
> $sa_tag2_level_deflt=5.0;
> $sa_kill_level_deflt=5.0;
> $sa_dsn_cutoff_level = 10;    # spam level beyond which a DSN is not sent
> $sa_quarantine_cutoff_level = 30;  # spam level beyond which quarantine
> is off

> $sa_mail_body_size_limit=200*1024;
> $sa_local_tests_only=0;
> $sa_auto_whitelist=1;

> I expect that every mail with more than -5 points should have some extra
> headers like
> X-Spam-Value: blabla

> But there are no additional headers although the passed mail had around
> -0.3 points. Whats wrong with my configuration?

> Regards
> jacusy

In order for X-Spam-Status and similar headers to be inserted, the
recipient must be considered local. This is a FAQ.

Look for "No spam-related headers inserted?" here:
http://www.ijs.si/software/amavisd/#faq-spam

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

Gary V


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
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