On 11/3/2010 9:15 AM, Mark Scholten wrote:
Hello,
Is it possible to do a custom action (greylisting with an external program
or RBL checks or RHSBL checks) only if the checks below failed? If yes, how
could that be done with postfix (I prefer to do it with settings in main.cf
and without an extra program)?
Partially.
- Match PTR/A-record (no "unknown" client hostname)
This is possible with a check_client_access map that performs
some action for "unknown". Note this cannot distinguish
between temporary and permanent failures.
- Helo matches client hostname
This is not possible with built-in postfix controls.
You can use a policy service -- probably postfwd -- for this.
-- Noel Jones
Using extra smtpd_restriction_classes isn't a problem (as I do it already
for certain "whitelists").
With kind regards,
Mark Scholten