Re: Matching on missing To field?

2022-07-21 Thread Loren Wilton
> The problem I'm having is that my To header rules aren't matching because > there is no To header, > and I'm otherwise unsure what to match on. The only occurrence of the > recipient in the entire email > is in that Received header. > > It does match on "ALL", but I think I need to be more

Re: Matching on missing To field?

2022-07-21 Thread Matus UHLAR - fantomas
I have a number of rules that match on the To field, but what to do if the >To field is missing? 10_hasbase.cf:header__HAS_TOexists:To define: metaMISSING_TO !__HAS_TO >Received: from test.com (wsip-72-214-24-18.sd.sd.cox.net [72.214.24.18]) >by mail01.exam

Block IP's for certain domains based on list

2022-07-21 Thread Joey J
Hello, Is there a way for me to block mail that claims its from a certain domain, based on my own valid ip address list? Example: myserver.com - IP address 1.2.3.4 If a messages comes in from any server other than 1.2.3.4 for domain myserver.com reject it? I know SPF/DKIM/DMARC would also help