Hello, I'm having a problem with header_checks pcre This rule is working:
# Block mail from xxx.yyy.zzz.www and russian domain if /.*xxx\.yyy\.zzz\.www/ /.*from.*\@.*\.ru.*to.*\@.*/ reject Mail from russian domain endif This is not: # Block mail from xxx.yyy.zzz.www with sender different from domain.com if /.*xxx\.yyy\.zzz\.www/ !/.*(Ff)rom.*\@domain\.com.*/ reject This seems spam! endif Second rule seems to block every mail even from domain.com. How can I do what I want? I want some IP able to send mail just using some domains. Thanks! Andrea