hi

i have an email id : u...@abc.com

now i need to set a rule such that u...@abc.com can receive emails only from 
specific external domains and rest all should be rejected as spam

i have set a rule as such

header MYDOMAIN_A ToCc =~ /\b(?:test\@mydomain\.com)\b/i

header MYDOMAIN_B Delivered-To =~ /\b(?:test\@mydomain\.com)\b/i

header __MYDOMAIN_C From =~ /\b(?:trustedsender\.com)

meta MYDOMAIN ( ( MYDOMAIN_A +  MYDOMAIN_B  ) > 0 ) && ( MYDOMAIN_C == 1 )
score MYDOMAIN -100.0

meta MYDOMAIN_SPAM ( ( MYDOMAIN_A +  MYDOMAIN_B  ) > 0 ) && ( MYDOMAIN_C == 0 )
score MYDOMAIN_SPAM 100.0

during the tests : to and cc works correctly

i send bcc email to test@mydomain. then the header contains Delivered-To

how to resolve this problem
thanks
rajesh



Reply via email to