On 6/6/13 4:23 PM, "Rejaine Monteiro" <reja...@bhz.jamef.com.br> wrote:

>    Hi list, 
>  
>  How can I make a rule to do something like this:  block messages

For the pedantic, SpamAssassin doesn't block mail.  It marks it.  Whether
you block mail that has been marked with some other process is up to you...

> with body or 
> subject contains  'lalalalala'   AND url  with PDF  NOT contains 'trusted.net'

body    __LALA_B  /la{5}/
header  __LALA_H Subject =~ /la{5}/
header  __LALA_TRUST Received =~ /192\.162\.101\.\d{1,3}/
meta    MY_LALA  (__LALA_B || __LALA_H) && __HAS_ANY_URI && __PDF_ATTACH &&
!__LALA_TRUST
score   MY_LALA 5.0


-- 
Daniel J McDonald, CCIE # 2495, CISSP # 78281


Reply via email to