Dear all, I can't put to work Spamassassin trough Amavisd-new (version 2.4),
and the spam messages are not taged with ***SPAM***  as I need. So I show my
amavis conf files in order to get your help:

/etc/amavis/conf.d/15-content_filter_mode:
use strict;
@bypass_virus_checks_maps = (
   \%bypass_virus_checks, \...@bypass_virus_checks_acl,
\$bypass_virus_checks_re);
@bypass_spam_checks_maps = (
   \%bypass_spam_checks, \...@bypass_spam_checks_acl, \$bypass_spam_checks_re);
1;

/etc/amavis/conf.d/20-debian_defaults:
$inet_socket_bind = '127.0.0.1'; # limit socket bind to loopback interface
@inet_acl = qw ( 10.1.6.13 127.0.0.1 ); # allow SMTP access from these IP's
$sa_spam_subject_tag = '***SPAM*** ';
$sa_tag_level_deflt  = 4.0;  # add spam info headers if at, or above that
level
$sa_tag2_level_deflt = 5.0; # add 'spam detected' headers at that level
$sa_kill_level_deflt = 5.0; # triggers spam evasive actions
$sa_dsn_cutoff_level = 10;   # spam level beyond which a DSN is not sent
$sa_mail_body_size_limit = 200*1024; # don't waste time on SA if mail is
larger
$sa_local_tests_only = 0;    # only tests which
$forward_method = 'smtp:127.0.0.1:10025';
$notify_method = $forward_method;
$final_virus_destiny      = D_REJECT;  # (data not lost, see virus
quarantine)
$final_banned_destiny     = D_BOUNCE;   # D_REJECT when front-end MTA
$final_spam_destiny       = D_PASS;
$final_bad_header_destiny = D_PASS;

Spamassassin is disabled in /etc/default/spamassasin:
ENABLED=0

Postfix has these main lines in /etc/postfix/master.cf:
smtp-amavis     unix    -       -       y       -       30      smtp
127.0.0.1:10025 inet        n       -       y       -       -       smtpd

and /etc/postfix/main.cf:
content_filter = smtp-amavis:[127.0.0.1]:10024


Special thanks,

Alejandro
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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