> >   
> You don't do it as a "conditional" rule.. Any "conditional" rule
> structured that way would be something like an ifplugin, which would
> inhibit it from loading the rule when the file is read, before scanning
> the message.
> 
> To get the functionality you want,  you'd use a meta rule instead..
> 
> header  __TO_CC_PHARMA_COMPANY  ToCc =~ /[EMAIL PROTECTED]/i
> 
> body  __HAS_VWORD  /viagra/
> 
> meta ALLOW_MEDS ( __HAS_VWORD  && __TO_CC_PHARMA_COMPANY)
> score ALLOW_MEDS -2
> 

I am already doing this , But I see it does not scale 
This would work but every message that passes spamassassin would fo thru
__HAS_VWORD  even if it were not for pharmacompany.com 

Now  I have 2000 domain administrators and if all of them were allowed
to use this "feature", I am  sure my SA boxes will cry 


Thanks
Ram




Reply via email to