View Single Post
  #1  
Old 8th April 2009, 10:15
clark61 clark61 is offline
Junior Member
 
Join Date: Mar 2009
Location: Milano
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Virtual Users And Domains spamassassin don't tag

Hi all,
another question about Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Debian Lenny)
The server works well and redirect on the other mail server but I can not, however, to make spamassassin insert tags **** SPAM **** to the end user can decide.
In the /etc/amavis/conf.d/20-debian_default I have:
$QUARANTINEDIR = "$MYHOME/virusmails";
$quarantine_subdir_levels = 1;
$log_recip_templ = undef;
$DO_SYSLOG = 1;
$syslog_ident = 'amavis';
$syslog_facility = 'mail';
$syslog_priority = 'debug';
$enable_db = 1;
$enable_global_cache = 1;
$inet_socket_port = 10024;
$sa_spam_subject_tag = '***SPAM*** ';
$sa_spam_report_header = 1;
#$sa_tag_level_deflt = 2.0;
$sa_tag_level_deflt = -9999;
$sa_tag2_level_deflt = 6.31;
$sa_kill_level_deflt = 6.31;
$sa_dsn_cutoff_level = 10;
$sa_mail_body_size_limit = 200*1024;
$sa_local_tests_only = 0;
$MAXLEVELS = 14;
$MAXFILES = 1500;
$MIN_EXPANSION_QUOTA = 100*1024;
$MAX_EXPANSION_QUOTA = 300*1024*1024;
$final_virus_destiny = D_DISCARD;
$final_banned_destiny = D_BOUNCE;
#$final_spam_destiny = D_BOUNCE;
$final_spam_destiny = D_PASS;
$final_bad_header_destiny = D_PASS;
$virus_admin = "postmaster\@$mydomain";
$X_HEADER_LINE = "Debian $myproduct_name using ClamAV at $mydomain";
and follow the rest

In /etc/spamassassin/local.cf


# Add *****SPAM***** to the Subject header of spam e-mails
#
# rewrite_header Subject *****SPAM*****


# Save spam messages as a message/rfc822 MIME attachment instead of
# modifying the original message (0: off, 2: use text/plain instead)
#
# report_safe 1


# Set which networks or hosts are considered 'trusted' by your mail
# server (i.e. not spammers)
#
# trusted_networks 212.17.35.


# Set file-locking method (flock is not safe over NFS, but is faster)
#
# lock_method flock


# Set the threshold at which a message is considered spam (default: 5.0)
#
# required_score 5.0

#dcc
use_dcc 1
dcc_path /usr/local/bin/dccproc
#pyzor
use_pyzor 1
pyzor_path /usr/bin/pyzor

#razor
use_razor2 1
razor_config /etc/razor/razor-agent.conf


# Use Bayesian classifier (default: 1)
#
use_bayes 1

use_bayes_rules 1


# Bayesian classifier auto-learning (default: 1)
#
bayes_auto_learn 1


# Set headers which may provide inappropriate cues to the Bayesian
# classifier
#
# bayes_ignore_header X-Bogosity
# bayes_ignore_header X-Spam-Flag
# bayes_ignore_header X-Spam-Status

What's wrong?
many thanks in advance
Reply With Quote
Sponsored Links