Hello If you have the check_policy_service after permit_sasl_authenticated,that rule is never called, because permit_sasl_authenticated terminates the rule chain by issuing OK. If you check that policy before in and outgoing mails are sent to the policy service....
Von Samsung Mobile gesendet -------- Ursprüngliche Nachricht -------- Von: Nigel Kukard <[email protected]> Datum: An: [email protected] Betreff: Re: [policyd-users] Outgoing quota problem - only Inbound is working On 02/11/2013 21:14, Steffen Wegner wrote: Hi, I do also have trouble to get my outbound quota working with PolicyD and Postfix. Quotas for incoming mails are working. But quotas for outgoing mails do not work. The goal is to limit the number of outgoing smtp mails per user to 3 per hour. The symptoms: When I send mails from a connected roundcube webmailer to an external mail server, nothing seems to happen. Policyd.quotas_tracking and policyd.session_tracking just stay empty. On the other hand, when I send mails from an external mailserver to my own mailserver, I can see new entries appearing in policyd.session_tracking. Also the policies for incomming mails are working just fine. Why are Outbound mails do not show up in policyd.session_tracking? Is there a misconfiguration that I can't see? I attached my main.cf, the master.cf and relevant policyd tabels to illustrate. Can someone please point me into the right direction to solve this problem. Could you include the relevant config in main.cf relating to check_policy_service? Also you can put policyd into full debug mode and check the policy matches, this will probably show you what is not matching. -N
_______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org
