your problem lies with qmail-scanner.  It takes responsibility for
rewriting the subject line.  Open up your favorite editor and edit
qmail-scanner-queue.pl.  Jump down...oh... I don't know 50 or 60 lines
maybe and you will see a block of perl variables defined.  One block
looks like this:

my $spamc_binary='/usr/bin/spamc';
my $spamc_options=' -c -f';
my $spamc_subject='';   <-- THIS IS YOUR LINE TO EDIT
my $spamassassin_binary='/usr/bin/spamassassin';
my ($sa_comment);
my ($tag_score)="";

$spamc_subject defines what the subject line rewrite should be.

FYI this is well documented in the qmail-scanner documentation.  :-)

-Geoff


On Sun, 2004-02-29 at 11:35, Gunnar Rysstad wrote:
> Hello,
> 
> I've configured SA on a box with a bunch of domains and users. It's running
> qmail + qmail-scanner + clamav + spamassassin (with dcc) etc.
> 
> Everything works fine when running the usual spam.txt files through the
> system, but when running it on the mailsystem SA doesn't seem to tag the
> subject lines. It adds the appropriate headers and everything looks right in
> the logs, but like I said, it doesn't tag the subject lines like it should,
> even though the log and header says it's identified as spam...
> 
> My local.cf:
> 
> report_safe 1
> rewrite_subject 1
> subject_tag ***SPAM?***
> required_hits 10
> use_pyzor 0
> use_razor2 0
> use_dcc 1
> use_razor1 0
> 
> 'spamd' is running with these options:
> /usr/bin/spamd -d -x -v -c -a -m5 -H -u nobody
> 
> Am I missing something?
> 
> Cheers,
> 
> Gunnar Rysstad


Reply via email to