Furs wrote:
Hi everybody.

I'm trying to find a solution with postfix that permits
a whitelist and blacklist per domain.

Every domain has to have its own list.

I found header checks it's a possible solution.

but, there is another one? Can I use "sender/recipient" access
where I can put with "regexp" or "pcre"

if/domain1/
   domain2 OK
   domain3 REJECT
endif

where domain1 is a recipient domain and domain2 and domain3 are
a sender domains.

This will not work.  See Robert Felber's post for more options.

As documented, the if of a header check MUST be the same as the comparison after. The if is to a way to check the existence of a header. All actions in the if block MUST include the same expression as the if and, optionally, further checks on the same header.


Reply via email to