Thank you! This what was I was looking for!

rawbody GREEN_LIAISON1         
/\b(?:proprietary|information|technology|renewables|alternative)\b/i
describe GREEN_LIAISON1         Remove the emails with green tech spies

rawbody GREEN_LIAISON2         
/\b(?:Positive|relationship|international|institutions)\b/i
describe GREEN_LIAISON2         Remove the emails with green tech spies

header GREEN_LIAISON3           Subject =~
/\b(?:Green|renewables|technology|liaison)\b/i
describe GREEN_LIAISON3         Checking the header for more of the same

the rule that I've done so far, I'm going to make a stageing point for this
(match 1 and thats X point match 2 and thats X + Y points).

Not sure but I have to say that there is room for a good Howto on this
topic. I will try and push myself to learn more and then try and make one
for us dummies :)


Per Jessen wrote:
> 
> spixx_ wrote:
> 
> [snip]
>> Is there a guide or intro or documentation on the regexp or is it just
>> "standard" regexp?! I cannot find any info on howto write rules other
>> than: match on this exact word...
> 
> It is a standard regexp.  You will also want to look at using meta rules
> for logically combining rules with 'and' and 'or'.  See "man
> Mail::Spamassassin::Conf".  
> 
> 
> /Per Jessen, Zürich
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Stupid-questions-V-2.0-tp31909247p31934928.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to