DevHeads.net

Create exception for some senders in header_checks

Hi,

I've created the rules to block forged Reply-to and Return-Path using my
domains. I've followed the examples in
<a href="http://www.postfix.org/BACKSCATTER_README.html" title="http://www.postfix.org/BACKSCATTER_README.html">http://www.postfix.org/BACKSCATTER_README.html</a>.

This is my rule:

/^(From|Return-Path|Reply-To):.*\b(domain\.com\.br)\b/
discard forged sender address in $1: header: $2

We need to create some exceptions. Would placing the following rule in the
same file work?

/^(Return-Path|Reply-To):.*\b(user1@domain\.com\.br)\b/
dunno

Kind regards.
Fabio