Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: users

Change subject depending on score

 

 

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded


pingu22 at gmail

May 7, 2008, 9:39 AM

Post #1 of 4 (73 views)
Permalink
Change subject depending on score

Hi,

what I want to do is:

If score >= 5 && <= 15 change subject to ***SPAM***

If score >= 15 change subject to ****HIGH_SPAM***

with procmail I can control the score level and p.e. put the mail in a
different folder.

But I'm using a database and I just want to change the subject and depending
on that send the message to a different mailbox number.

Thanks.
--
View this message in context: http://www.nabble.com/Change-subject-depending-on-score-tp17109312p17109312.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


luis.otegui at gmail

May 7, 2008, 9:49 AM

Post #2 of 4 (68 views)
Permalink
Re: Change subject depending on score [In reply to]

Hi

2008/5/7 pingu22 <pingu22[at]gmail.com>:
>
> Hi,
>
> what I want to do is:
>
> If score >= 5 && <= 15 change subject to ***SPAM***
>
> If score >= 15 change subject to ****HIGH_SPAM***
>
> with procmail I can control the score level and p.e. put the mail in a
> different folder.

The question here is how do you call SA, and which MTA do you use.
AFAIK, with Amavisd-new calling SA, you could modify the subject
according tho the score.
>
> But I'm using a database and I just want to change the subject and depending
> on that send the message to a different mailbox number.
>
> Thanks.
> --
> View this message in context: http://www.nabble.com/Change-subject-depending-on-score-tp17109312p17109312.html
> Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
>
>

Best regards

Luis
--
_____________________________________

GNU/GPL: "May The Source Be With You...

Linux Registered User #448382.
_____________________________________


pingu22 at gmail

May 7, 2008, 9:56 AM

Post #3 of 4 (68 views)
Permalink
Re: Change subject depending on score [In reply to]

Hi,

I'm using Postfix and I call SA from procmail.

I'm changing the subject already in local.cf with rewrite_header subject ,
but I want to change depending on score.

in procmail where I have

:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
I'd like to change subject here for example




Luis Hernán Otegui wrote:
>
> Hi
>
> 2008/5/7 pingu22 <pingu22[at]gmail.com>:
>>
>> Hi,
>>
>> what I want to do is:
>>
>> If score >= 5 && <= 15 change subject to ***SPAM***
>>
>> If score >= 15 change subject to ****HIGH_SPAM***
>>
>> with procmail I can control the score level and p.e. put the mail in a
>> different folder.
>
> The question here is how do you call SA, and which MTA do you use.
> AFAIK, with Amavisd-new calling SA, you could modify the subject
> according tho the score.
>>
>> But I'm using a database and I just want to change the subject and
>> depending
>> on that send the message to a different mailbox number.
>>
>> Thanks.
>> --
>> View this message in context:
>> http://www.nabble.com/Change-subject-depending-on-score-tp17109312p17109312.html
>> Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
>>
>>
>
> Best regards
>
> Luis
> --
> _____________________________________
>
> GNU/GPL: "May The Source Be With You...
>
> Linux Registered User #448382.
> _____________________________________
>
>

--
View this message in context: http://www.nabble.com/Change-subject-depending-on-score-tp17109312p17109641.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


pingu22 at gmail

May 7, 2008, 10:00 AM

Post #4 of 4 (68 views)
Permalink
Re: Change subject depending on score [In reply to]

I did it already...
With procmail...
It's working now.

thanks anyway Luis.


pingu22 wrote:
>
> Hi,
>
> I'm using Postfix and I call SA from procmail.
>
> I'm changing the subject already in local.cf with rewrite_header subject ,
> but I want to change depending on score.
>
> in procmail where I have
>
> :0:
> * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
> I'd like to change subject here for example
>
>
>
>
> Luis Hernán Otegui wrote:
>>
>> Hi
>>
>> 2008/5/7 pingu22 <pingu22[at]gmail.com>:
>>>
>>> Hi,
>>>
>>> what I want to do is:
>>>
>>> If score >= 5 && <= 15 change subject to ***SPAM***
>>>
>>> If score >= 15 change subject to ****HIGH_SPAM***
>>>
>>> with procmail I can control the score level and p.e. put the mail in a
>>> different folder.
>>
>> The question here is how do you call SA, and which MTA do you use.
>> AFAIK, with Amavisd-new calling SA, you could modify the subject
>> according tho the score.
>>>
>>> But I'm using a database and I just want to change the subject and
>>> depending
>>> on that send the message to a different mailbox number.
>>>
>>> Thanks.
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Change-subject-depending-on-score-tp17109312p17109312.html
>>> Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
>>>
>>>
>>
>> Best regards
>>
>> Luis
>> --
>> _____________________________________
>>
>> GNU/GPL: "May The Source Be With You...
>>
>> Linux Registered User #448382.
>> _____________________________________
>>
>>
>
>

--
View this message in context: http://www.nabble.com/Change-subject-depending-on-score-tp17109312p17109715.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.