On 2/8/2012 3:56 PM, Rejaine Monteiro wrote:
> solved.. (maybe, I will do more tests ...)
>    
> I made this way:
>
> blacklist_from @domain.com 
>
> and  then, i  create a meta test , like this:
>
> header __FROM_BADDOMAIN From =~ /some\.com/i
> header __FROM_BADDOMAIN_GOOD_TO To =~ /myser\@mydomain\.com/i
> meta FROM_BADDOMAIN_UNBLACKLIST_TO  (__FROM_BADDOMAIN &&
> __FROM_BADDOMAIN_GOOD_TO)
> score FROM_BADDOMAIN_UNBLACKLIST_TO -100
>
> (tips  obtained in
> http://markmail.org/message/7dz5ez2en442n6t5#query:+page:1+mid:ydrr57kl2msbprcc+state:results)

What about CC or BCC?  If you do what I suggested, it should work for
all mail regardless of how it is addressed.

Put this in local.cf:

blacklist_from *@domain.com

And put this in the users's user_prefs file:

unblacklist_from *@domain.com

This will blacklist the domain for everyone except the one recipient.

-- 
Bowie

Reply via email to