Tried setting up 2 diffrent policies, one for the "catch all" for all users and one for users that have specific quotas set. Set the priority for the catch all to 20 and the specific users one to 10. Still seems to be doing both. Now it seems to do them in the correct order .. user quota then all users but its still doing both... Is there some way to tell it if it matches the first policy then to not move on to the next policy?

I'll add this to the TODO list, it was never a scenario I contemplated.

In the interim you'll need to exclude users from the policy, by adding them to a group and going !%usergroup or something on those lines.

You can then even use %usergroup in your other policy to explicitly set the quotas higher or lower, this way it will only match one of the policies and be configurable in 1 place.

-N

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to