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

Mailing List Archive: SpamAssassin: users

spam report help

 

 

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


thomas.kinghorn at gmail

Mar 30, 2012, 1:34 AM

Post #1 of 6 (260 views)
Permalink
spam report help

Good morning list.

If I have a body rule checking for various banned words in a message
body, is there a way to indicate which word matched in the spam-report?

eg: when an IP is matched against an RBL, the ip is shown in the
spam-report.

I would like to do the same for a text rule.

Is this possible?

thanks
Tom


me at junc

Mar 30, 2012, 2:47 AM

Post #2 of 6 (244 views)
Permalink
Re: spam report help [In reply to]

Den 2012-03-30 10:34, Tom Kinghorn skrev:
> Good morning list.
>
> If I have a body rule checking for various banned words in a message
> body, is there a way to indicate which word matched in the
> spam-report?
>
> eg: when an IP is matched against an RBL, the ip is shown in the
> spam-report.

body SPAMWORD /^spamword$/
describe SPAMWORD spamword found in body
score SPAMWORD 0.1

untested :)


thomas.kinghorn at gmail

Mar 30, 2012, 2:52 AM

Post #3 of 6 (244 views)
Permalink
Re: spam report help [In reply to]

On 30/03/2012 11:47, Benny Pedersen wrote:
>
> body SPAMWORD /^spamword$/
> describe SPAMWORD spamword found in body
> score SPAMWORD 0.1
>
> untested :)
>
Thats exactly what I am doing.
Its shows the description (from the 'describe' section) in the spam
report, not which word was matched.

Thanks

Tom


me at junc

Mar 30, 2012, 3:01 AM

Post #4 of 6 (245 views)
Permalink
Re: spam report help [In reply to]

Den 2012-03-30 11:52, Tom Kinghorn skrev:
> On 30/03/2012 11:47, Benny Pedersen wrote:
>>
>> body SPAMWORD /^spamword$/
>> describe SPAMWORD spamword found in body
>> score SPAMWORD 0.1
>>
>> untested :)
>>
> Thats exactly what I am doing.
> Its shows the description (from the 'describe' section) in the spam
> report, not which word was matched.

SPAMWORD is here the matched word name aswell


Bowie_Bailey at BUC

Mar 30, 2012, 6:59 AM

Post #5 of 6 (241 views)
Permalink
Re: spam report help [In reply to]

On 3/30/2012 6:01 AM, Benny Pedersen wrote:
> Den 2012-03-30 11:52, Tom Kinghorn skrev:
>> On 30/03/2012 11:47, Benny Pedersen wrote:
>>> body SPAMWORD /^spamword$/
>>> describe SPAMWORD spamword found in body
>>> score SPAMWORD 0.1
>>>
>>> untested :)
>>>
>> Thats exactly what I am doing.
>> Its shows the description (from the 'describe' section) in the spam
>> report, not which word was matched.
> SPAMWORD is here the matched word name aswell

I believe he is referring to a rule with multiple alternatives.

body SPAMWORD /\b(word1|word2|word3|word4)\b/

You know you have a match, but you don't know WHICH word matched. I
think debug mode is the only way to get this level of detail.

--
Bowie


lists at hireahit

Mar 30, 2012, 1:11 PM

Post #6 of 6 (237 views)
Permalink
Re: spam report help [In reply to]

On 3/30/2012 6:59 AM, Bowie Bailey wrote:
>
> I believe he is referring to a rule with multiple alternatives.
>
> body SPAMWORD /\b(word1|word2|word3|word4)\b/
>
> You know you have a match, but you don't know WHICH word matched. I
> think debug mode is the only way to get this level of detail.

That, or (re-)write the rules to give you the detail of output you need.

--
Dave Warren
http://www.hireahit.com/
http://ca.linkedin.com/in/davejwarren

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


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.