Create exception for some senders in header_checks

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Create exception for some senders in header_checks

Fabio S. Schmidt
Hi,

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

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