1

Topic: Quotas Recipients in one message

======== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: ubuntu 12.04 (3.5.0-41-generic x64)
- Related log if you're reporting an issue:
====
Some questions:
1. How do set quota on count recipients in message? (no more 10 rcp in a message).
1.1 How do it for some users?
2. How do set a quota size of mesage? (no more 15Mb)
  2.1 How do it for some users?
Thanks.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Quotas Recipients in one message

Hoper wrote:

1. How do set quota on count recipients in message? (no more 10 rcp in a message).
1.1 How do it for some users?

Postfix parameter "default_recipient_limit" controls this. As far as i know, there's no per-user setting.

Hoper wrote:

2. How do set a quota size of mesage? (no more 15Mb)
2.1 How do it for some users?

Postfix parameter "message_size_limit" controls this, no option for per-user setting on Ubuntu 12.04 (and later releases).
Policyd-1.8 has this feature, but it's deprecated since Ubuntu 11.10, it ships Cluebringer (a.k.a. Policyd-2) which doesn't support per-user message size.

3

Re: Quotas Recipients in one message

ZhangHuangbin wrote:
Hoper wrote:

1. How do set quota on count recipients in message? (no more 10 rcp in a message).
1.1 How do it for some users?

Postfix parameter "default_recipient_limit" controls this. As far as i know, there's no per-user setting.

Policyd Web Administration
https://ip_iredmail/cluebringer/quotas-main.php
Is it  not supported iredmail?

4

Re: Quotas Recipients in one message

You can check Policyd web site, it doesn't support "quota on count recipient in message"? You mean number of recipients in a single email, right?

5

Re: Quotas Recipients in one message

ZhangHuangbin wrote:

You can check Policyd web site, it doesn't support "quota on count recipient in message"?


I try  to configure Policyd: Quotas -> Configure
========
Test     Recipient quotas    Recipient:user@domain    3600    REJECT        no
Limits:
    MessageCount    3    no
    MessageCumulativeSize    8000    no
========
Used policy "Test", which include the group with one of them my domains (I added to default).
========
@example.net    any    no
@my.doman.by    any    no
========
But this rule not work.

ZhangHuangbin wrote:

You mean number of recipients in a single email, right?

Yes, no more 10 recipients in single email.

6

Re: Quotas Recipients in one message

You misunderstood what "quota" in Policyd/Cluebringer is used for. http://wiki.policyd.org/quotas

7

Re: Quotas Recipients in one message

I am reading it, but rules + limit + policy + ...ohhh hmm