Sanity check please:
I have a relay machine: relay.domain1.com And a client: client.domain2.com I'd like to filter (silently discard) messages at the relay machine from going to any account on the client machine if the From: address is: [email protected] <mailto:[email protected]> . But such messages going to accounts on the relay machine are o.k. So, is it correct that I could use something like this: main.cf: smtp_header_checks = pcre:/etc/postfix/smtp_header_checks.pcre smtp_header_checks.pcre: /^From: .*[email protected].*/ <mailto:.*[email protected].*/> DISCARD optional-log-text Thanks, Michael
