Hi,
I have a fedora40 system with postfix-3.8.5 and would like to configure
header checks depending on the domain. Perhaps there is some kind of
conditional that can be used based on the sending domain?

For example:

if recip-domain == example.com
/^From: u...@baddom.tld/ REJECT spam
fi

In my reading, it appears that the above is not the right approach. What
other methods exist to do this?
https://serverfault.com/questions/1052369/postfix-header-check-regex-with-if-conditional-not-matching-change-sender-addr

Thanks,
Alex
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to