Alessandro De Zorzi <[email protected]> wrote:

> I am newbe with cluebringer.

We all were once.

> The scenario is: two policy (60 and 300 msg/hour), priority for 300 is
> lower than 60.
> 
> 60 policy match any address, 300 match some specific address like
> [email protected].
> 
> mysql> select id,PolicyID,Name from quotas where disabled=0;
> *************************** 1. row ***************************
>      id: 3
> PolicyID: 6
>    Name: 60 msg/hour
> *************************** 2. row ***************************
>      id: 4
> PolicyID: 7
>    Name: 300 msg/hour
> 
> I want that my user [email protected] below to 300 policy can send 300 msg.
> 
> The result:
> 
> for each message send, postfix update each two policy (I suspected the
> problem born here)

The answer is to alter your policies so that they are mutually exclusive. Make 
policy ID 6 exclude members of the group matched by ID 7.
Ie, policy ID6 is "(any common conditions) AND not a member of high volume 
group" while policy ID7 is "(any common conditions) AND a member of high volume 
group".

If you look through the list archives, you'll find I've laid out in detail how 
I've got a setup working where 'local', inbound, outbound, and outbound "high 
volume" mail is matched in a mutually exclusive way.


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

Reply via email to