1

Topic: Multi-level throttling

==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Centos 6
- Related log if you're reporting an issue:
====

I'm wondering how the throttling works with iRedAdmin Pro:  if for example a limit is set per user and another limit per domain, do both limits apply?  i.e. 5 domain users @ 5 emails/minute and 10 emails/domain/minute... does 1 rule just overwrite the other or does it work like mailbox sizes where both limits apply?

Cheers
Dominique

2

Re: Multi-level throttling

Per-user throttling has higher priority.

3

Re: Multi-level throttling

That I already read, but do all rules apply?  Consecutively...

4

Re: Multi-level throttling

If i understand how Cluebringer works correctly, it works this way:

1: It applies all matched rules, but policy/rule with lower priority number will be applied first. For example, policy with priority=10 will be applied before policy with priority=20. Reference: http://wiki.policyd.org/policies#priorities

2: If policy/rule returned action which will end this policy request (e.g. 'REJECT') for this smtp session, Cluebringer will stop here and ignore further policies/rules.

If you're still not clear, it's better to ask in Cluebringer mailing list, good luck. smile
http://wiki.policyd.org/support

5

Re: Multi-level throttling

ok... I didn't know it was Cluebringer enforcing those limits.  I will look it up there. 

But for what I read in your explanation it seems like it does what I expected.  Thank you!