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: groupsupda...@yahoogroups.com <mailto:groupsupda...@yahoogroups.com> . 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: .*groupsupda...@yahoogroups.com.*/ <mailto:.*groupsupda...@yahoogroups.com.*/> DISCARD optional-log-text Thanks, Michael