Mailing List Archive

SPAM subject not writting
I created a file called local.cf placed it in /etc/mail/spamassassin/
EXAMPLE
# How many hits before a message is considered spam.
required_hits 4.0
# Whether to change the subject of suspected spam
rewrite_subject 1
# Text to prepend to subject if rewrite_subject is used
subject_tag *****SPAM*****

Yet when a spam messages hits over 5.0 it doesn't write spam in the subject
but when I edit /var/qmail/bin/qmail-scanner-queue.pl
my $spamc_subject=''; TO my $spamc_subject='*** SPAM ***';
all spam now show '*** SPAM ***''*** SPAM ***' in the subject

after I edit these to files I did run the below cmd's to add the changes
service spamassassin restart (SA)
/var/qmail/bin/qmail-scanner-queue.pl -g (QM

Thanks
Ed

PS Are these the only two files relating to the subject write?
could there be somthing before over writting the local.cf?
everything else is the default install and never touched anything else


---------------------------------
Do you Yahoo!?
Get better spam protection with Yahoo! Mail
Re: SPAM subject not writting [ In reply to ]
On Mon, Mar 01, 2004 at 05:15:43PM -0800, Ed BK wrote:
> PS Are these the only two files relating to the subject write?
> could there be somthing before over writting the local.cf?
> everything else is the default install and never touched anything else

your questions are more about qmail-scanner than SA, btw. from a quick
look at their faq, they seem to recommend "rewrite_subject 0", and let
qmail-scanner do the rewrite.

--
Randomly Generated Tagline:
"Perhaps you could start with something simpler, like the moral equivilent
of an opposible thumb." - G'Kar on Babylon 5
Re: SPAM subject not writting [ In reply to ]
Thanks for replying

That sounds right I removed the subject write option from the local.cf
and it still writes spam spam, I think the default in /usr/share/spamassassin/
must be set to write ***SPAM*** as well as the qmail-scanner.pl

any idea what file in /usr/share/spamassassin/ that would have this option set in it??

Ed

Theo Van Dinter <felicity@kluge.net> wrote:
On Mon, Mar 01, 2004 at 05:15:43PM -0800, Ed BK wrote:
> PS Are these the only two files relating to the subject write?
> could there be somthing before over writting the local.cf?
> everything else is the default install and never touched anything else

your questions are more about qmail-scanner than SA, btw. from a quick
look at their faq, they seem to recommend "rewrite_subject 0", and let
qmail-scanner do the rewrite.

--
Randomly Generated Tagline:
"Perhaps you could start with something simpler, like the moral equivilent
of an opposible thumb." - G'Kar on Babylon 5


> ATTACHMENT part 2 application/pgp-signature


---------------------------------
Do you Yahoo!?
Get better spam protection with Yahoo! Mail