im currently trying to implement spamassassin into our mail server and
am running into problems im hoping you can help me with. our current
setup is running
gentoo/qmail/vpopmail/qmail-scanner/courier-imap/clamav/tmda.  i have
reinstalled qmail-scanner so that it can pickup that SA is installed,
and i do have setuid for clamav installed.
the problem is that none of the message seem to be being scanned by
SA.  its not re-writing the header with a score or anything, its like
im not running anything at all.  i have a testing server setup that i
am doing all of this on, i have even sent the known spam test email
"gtube" i think its called, and it isnt caught either.  the spamd
processes are running, everything looks fine.  i have tried rebooting
and restarting the services.  i think i must have a configuration
setting wrong or something.  i have included the relevant parts of the
config files, if there is anything else you need to help me please let
me know.  this has been an on-going battle for a while and i would
like to find a resolution to this finally.

thanks for any and all help.

qmail-scanner-queue.pl:

my $sa_delta='0';
my $sa_quarantine='1';
my $sa_forward='';
my $sa_fwd_verbose='0';
my $sa_delete='15';
my $sa_reject='0';
my $sa_alt='1';
my $sa_debug='1';
my $sa_hdr_report='1';
my $SA_SKIP_MD='0';
my $spamc_binary='/usr/bin/spamc';
my $spamc_options='';
my $spamc_subject="***SPAM***";  # st: if fast_spamassassin mode is selected
my $spamassassin_binary='';
my $spamd_socket='';
$spamc_binary.=" -U $spamd_socket" if ($spamd_socket ne "");
my ($sa_comment,$sa_level);
my $sa_symbol='+';
my ($tag_score)="";

***am i suppose to have a scanner for SA in here somewhere? or is that
the perl-scanner part?***

my @scanners_installed=("clamdscan_scanner","perlscan_scanner");
my @scanners_default=("clamdscan_scanner","perlscan_scanner");


qmail-scanner-queue-version.txt:
clamdscan: 0.88/1292. perlscan: 1.25st.



local.cf:

required_score 6
skip_rbl_checks 0
rbl_timeout 5 # default 15 secs
rewrite_header Subject *****SPAM*****

score PYZOR_CHECK 1
score RCVD_IN_BL_SPAMCOP_NET 2.0


loadplugin     Mail::SpamAssassin::Plugin::SPF
loadplugin     Mail::SpamAssassin::Plugin::Razor2
loadplugin     Mail::SpamAssassin::Plugin::Pyzor

# Razor
razor_config /etc/mail/spamassassin/.razor/razor-agent.conf
use_razor2 1

#Pyzor
use_pyzor 1
pyzor_path /usr/sbin/pyzor
#pyzor_add_header 1 # optional
pyzor_timeout 15 # optional, default 10 seconds

######################
report_safe 1
######################
use_bayes 1
bayes_path /etc/mail/spamassassin/bayes
bayes_file_mode 0770
bayes_auto_learn 1
bayes_min_ham_num 400
bayes_min_spam_num 400
bayes_learn_during_report 1
bayes_use_hapaxes 1
bayes_auto_learn_threshold_nonspam 1
bayes_auto_learn_threshold_spam 14.00
bayes_ignore_header X-Bogosity
bayes_ignore_header X-Spam-Flag
bayes_ignore_header X-Spam-Status

thanks again for your help.

Nick

-- 
gentoo-user@gentoo.org mailing list

Reply via email to