Good morning list.

I am trying to setup a per_hour limitation on message count.
I have enabled the access_control module and for some reason, I cannot get it to work.

My postfix conf is below:

/smtpd_recipient_restrictions =//
//   reject_unauth_pipelining,//
//   reject_non_fqdn_recipient,//
//   reject_unknown_recipient_domain,//
//   permit_mynetworks,//
//   reject_unauth_destination,//
//   check_policy_service inet:10.115.244.114:10031,//
//   permit

//smtpd_end_of_data_restrictions = check_policy_service inet:10.115.244.114:1003//1
/
With mynetworks before the check_policy_services, the message is just accepted, without policyd limits applied.
With mynetworks after, I get a relay_denied.

If I add am "OK" to access_control with the "mynetworks" range, the message is accepted, without filter applied.

Can someone give me a kick on the right direction.

Many thanks
Tom
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org

Reply via email to