From: "Nick Smith" <nick.smith79@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] qmail and SA problems
Date: Wed, 8 Mar 2006 10:21:44 -0500 [thread overview]
Message-ID: <bba6100b0603080721p45852bc2te60fbff4835f3b1@mail.gmail.com> (raw)
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 other threads:[~2006-03-08 15:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bba6100b0603080721p45852bc2te60fbff4835f3b1@mail.gmail.com \
--to=nick.smith79@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox