Alan wrote:
> Hi !
> Im running amavis-new + clamav + spamassassing ....
> I think that spamassassin isnt filtering any mail .... so ...
> 1.- I have to "learn" to spamassassin with sa-learn ?? I have the mails
> in mysql db ...
I will assume you are setting up amavisd-new for the first time.
Sa-learn is used to train the Bayes database, but Bayes is only one
part of spamassassin. SpamAssassin will still work even if Bayes is
not trained. My guess is you need to comment out @bypass_spam_checks_maps (or
@bypass_spam_checks_acl) so amavisd-new will stop bypassing spam checks.
While you are at it, change:
$sa_local_tests_only = 1;
to:
$sa_local_tests_only = 0;
> 2.- I have "rewrite_header Subject *****SPAM*****" commented .... this
> add to subject or change subject to **SPAM** ??
>From amavisd.conf-sample:
# string to prepend to Subject header field when message exceeds tag2 level
#$sa_spam_subject_tag = '***SPAM*** '; # (defaults to undef, disabled)
# (only seen when spam is passed and recipient is
# in local_domains*)
You want to remove the comment from $sa_spam_subject_tag to enable this.
Placing this in local.cf will have no effect on headers because all
header rewriting is done by amavisd-new. See this recent post:
http://marc.theaimsgroup.com/?l=amavis-user&m=112974245130141&w=2
and the spamassassin FAQ at:
http://www.ijs.si/software/amavisd/#faq-spam
Gary V
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
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/