On 11/11/2015 11:42 AM, Donald Bindner wrote:
> smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10040
> 
> However, this kind of rule seems to run only for mail "passing
> through" my Postfix server and not for mail originating locally.  In
> any event, the service running on port 10040 does not receive
> connections from Postfix for mail that is generated locally.

Assuming that is in main.cf, it will work on any service that points to
smtpd that does not override smtpd_recipient_restrictions in master.cf.

> I'd love if someone would show an example that "hooks this up."  I'm
> confident that I have postfwd configured correctly to listen on port
> 10040, I just need Postfix to talk to it.

Check your master.cf file, odds are you have an override for
smtpd_recipient_restrictions in place for the submission service, just
add check_policy_service to the beginning of the override.


Peter

Reply via email to