On 2013-07-24 22:18:55 (+0200), Franz Schwartau <fr...@electromail.org> wrote:
> Hi!
>
> I'd like to implement black- and whitelist entries on a per
> recipient basis with postfix.
>
> I know restriction class as described here:
>
> http://www.postfix.org/RESTRICTION_CLASS_README.html
>
> But I need different sets of black- and whitelists per recipient, e. g.
>
> recpient value action
> t...@example1.com 10.10 REJECT
> t...@example2.com 10.20 REJECT
>
> sendmail's check_compat is something I have in mind. How do I
> accomplish this with postfix?
>
> BTW. of course a policy daemon can be used, but I'd like to
> implement it without additional software.
>
You can accomplish by using restriction classes as documented here:
http://www.postfix.org/RESTRICTION_CLASS_README.html