-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Laurent Dinclaux schrieb: > Hello, > > I have setup amavisd-new with spamassassin and clamav as stated in > ubuntu sever documentation. > > Virus scanning is ok but not spam scanning. (I don't have spamassassin > headers in scanned emails)
You need to setup and configure SpamAssassin and Amavis to do this... For example I have (amongst other things) $sa_tag_level_deflt = -999; # add spam info headers if at, or above that level $sa_tag2_level_deflt = 6.0; # add 'spam detected' headers at that level $sa_kill_level_deflt = 21.0; # triggers spam evasive actions $sa_dsn_cutoff_level = 4; # spam level beyond which a DSN is not sent in my /etc/amavis/conf.d/50-user These optiosn mean: please tag everything with a Spamassassin header ( $sa_tag_level_deflt = -999 ), even it is not spam. This way you can analyse both ham and spam. And you must activate SpamAssasin in /etc/amavis/conf.d/15-content_filter_mode! greets, Michael - -- Michael Zoet System- und Netzwerk-Administration Schwedenstr. 18c 13357 Berlin Tel.: 0163 48 11 626 Tel.: 030 49 79 56 81 Webseite: http://zoet.de E-Mail: [email protected] Jabber: [email protected] Ubuntu Deutschland e.V. Ubuntu-Berlin c-base e.V. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ3Y+WBvfZ5167qr8RAmyiAJ9gfO1YG/DSKzpWrdCDOdjy0fwPcQCZAYU9 P0xuAuS5IHKGH95DPQ5h6xs= =bZiM -----END PGP SIGNATURE----- -- ubuntu-server mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
