You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Mario Gamito <ga...@netual.pt> on 2004/06/02 19:26:24 UTC

Mail Subjects not being tagged

Hi,

I have a smoothly running qmail/qmail-scanner/f-prot/spamassassin
system.

Spamassassin is working allright, i .e., the SPAM messages have their
headers marked as X-Spam-Status: Yes (...)

There's just a small detail that's not workinkg:
I have /etc/mail/spamassassin/local.cf with the lines:

"rewrite_subject 1
subject_tag +++++ SPAM +++++"

but the SPAM messages don't get their subject rewriten.
The subjects just remains the same.

I'd like this feature to be system/multidomain wide.

Any help would be appreciated.

Warm Regards,
Mário Gamito


Re: Mail Subjects not being tagged

Posted by Sean Kennedy <sk...@tpno.org>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 02 June 2004 10:26, Mario Gamito wrote:
> Hi,
>
> I have a smoothly running qmail/qmail-scanner/f-prot/spamassassin
> system.
>
> Spamassassin is working allright, i .e., the SPAM messages have their
> headers marked as X-Spam-Status: Yes (...)
>
> There's just a small detail that's not workinkg:
> I have /etc/mail/spamassassin/local.cf with the lines:
>
> "rewrite_subject 1
> subject_tag +++++ SPAM +++++"
>
> but the SPAM messages don't get their subject rewriten.
> The subjects just remains the same.
>
> I'd like this feature to be system/multidomain wide.
>
> Any help would be appreciated.
>
> Warm Regards,
> Mário Gamito

You will want to post this over at the qmail-scanner list ( which I also 
happen to be on. :) )

This is not a function of spamassassin, but qmail-scanner.  It has to do with 
how it passes the message to spamassassin and how it gets it back.

qmail-scanner passes the full message to spamd via spamc -r.  By default, it 
only waits for the score passed back.  What you will probably want to do is 
setup qmail-scanner to use the slow spamassassin method ( pass the full 
message, get the full message back ).

Incidently, if you are using qmail-scanner, and just like the fast 
spamassassin mehtod, you will want to tweak your qmail-scanner-queue.pl file 
a bit.  By default, it's setup to use tcp/ip for it's communication.  You 
will want to set it up to use sockets, which are tremendously faster than 
tcp.  It's fairly easy to do, as qmail-scanner-queue is very easy to read.

have fun.  :)

Sean
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAvhMGIjyA6vwcN38RAkAbAJ4s7nAzEPjgAiCjSNDBoXKXPE+AEQCeMqRY
OdOSmGw2o1LAgnAIXvw1IFA=
=DaUs
-----END PGP SIGNATURE-----