Can someone give me an example spamassasin header test?

2 posts / 0 new
Last post
#1 Mon, 04/20/2015 - 00:34
marceld202

Can someone give me an example spamassasin header test?

Hi,

I want to add a few spamassassin header tests (for subject, sender, etc) but I can`t get it working yet.

I now have this:

Test name Check Match expression ↓ / Score to apply Description
CONTAINS_foo From:name Foo 10 Check for foo in from

So, I want to check the senders name for Foo, if so, it should be marked as spam (score 10). However, this is not working. My guess is Im doing something wrong in the expression part? I now just type the string to check for, but im not sure what kind of expression I should type there. Is it a regex? Also I don`t get the meaning of the smaller field behind the slash ( / ).

If someone could post a simple screenshot or something with an example I would be helped out already. Thanks a lot!

Wed, 07/08/2015 - 02:09
marceld202

Seems to work after all. Maybe I forgot to apply changes or something at first but it is working in the meanwhile.

Topic locked