> >
> > What I'd like to do is have a whitelist apply to only a specific reject.
> 
> You could use an access table to look up per-recipient rules.
> See http://www.postfix.org/RESTRICTION_CLASS_README.html for an
> example.

Hmmm.  I read that.  I don't see how it applies to this case.  Can you give
me an example?

Suppose I have the following general case:

/etc/postfix/whitelist1:
    <host_a>    OK
    <host_b>    OK

/etc/postfix/whitelist2:
    <host_c>    OK

How would I accomplish the following?

smtpd_*_restrictions =
    . . .
    reject_[type1] . . .  (except for hosts in whitelist1)
    reject_[type2] . . .  (except for hosts in whitelist2)

Thanks,
Michael

Reply via email to