Nick Smith wrote:
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");



This is the problem right here. There is no mention of spamassassin in the installed scanners. This means that when you ran ./configure for qmail-scanner it did not detect that spamassassin was installed. Did you have spamd up and running at the time? Is it installed correctly? Make sure that SA is working correctly and currently running when you install qmail-scanner.

-Jim


Reply via email to