Furs wrote:
Hi everybody.
I'm trying to find a solution with postfix that permits
a whitelist and blacklist per domain.
whitelist/blacklist what? a client IP? a client domain? a helo? a sender
? ... etc.
Every domain has to have its own list.
no. but a single list should do.
I found header checks it's a possible solution.
to do what?
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
in the case where domain1, domain2 and domain3 are completely different
(i.e. the general case), the rule above matches NOTHING. bad example.
where domain1 is a recipient domain and domain2 and domain3 are
a sender domains.
What problem are you trying to solve? give real examples.