Are you using SA Fast or Verbose? With or withour spamd/spamc?
Check the values of  @scanner_array "spamassassin" means verbose.

I don't quite remember from my setup if you have to use Verbose to rewrite
the subject or was that a must just to add test headers.
I think you must use Verbose to rewrite the subject.

For verbose setup you need to do the following:

1) In local.cf (in /etc/mail/spamassassin or as in your setup)
Add the following line:

rewrite_header subject ***SPAM*** [_HITS_]:

_HITS_ will be replaced with the score, so the subject for SPAM will look
like this:
***SPAM*** [3.5]:RE: [Qmail-scanner-general]Qmailscanner & spamassassin

Also note the value of the required_hits parameter.

2) In the qmail scanner file (/var/qmail/bin/qmail-scanner-queue.pl)  there
is a line like this:

my $sa_quarantine_over='4.5';

This means that if the mail gets a score over (required_hits + 4.5) it will
be quarantined. Change it to the score you want to be quarantined.

3) Check the setup.




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Enrico Morelli
Sent: Monday, December 19, 2005 18:43
To: qmail-scanner-general@lists.sourceforge.net
Subject: [Qmail-scanner-general]Qmailscanner & spamassassin

Dear all,

I'm a bit confused to use qmailscanner with spamassassin.
I would that all mails marked like spam are send to the users 
with the subject ***SPAM*** or something like similar.

But actually all mails marked like spam are put in quarantine
directory. 

How can I send all spam mails to the user with a special subject?

Thanks
-- 
-------------------------------------------------------------------
       (o_
(o_    //\  Coltivate Linux che tanto Windows si pianta da solo.
(/)_   V_/_
+------------------------------------------------------------------+
|     ENRICO MORELLI         |  email: [EMAIL PROTECTED]       |
| *     *       *       *    |  phone: +39 055 4574269             |
|  University of Florence    |  fax  : +39 055 4574253             |
|  CERM - via Sacconi, 6 -  50019 Sesto Fiorentino (FI) - ITALY    |
+------------------------------------------------------------------+


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to