iredmail / iRedAdmin

iRedMail Admin Panel (Open Source Edition)
https://www.iredmail.org/admin_panel.html
GNU General Public License v2.0
77 stars 28 forks source link

Receipients limiting BCC / CC / TO #20

Closed interduo closed 2 years ago

interduo commented 2 years ago

The best situation I think is to set limit to not more than 10 receipients in CC/TO/ANSWERTO and not more than 100 in total. Is it possible to set a limit of maximum receipients in one mail on domain/user level with iredadmin? I would like to prevent peoples possible mistakes when putting many BCC mails in CC.

iredmail commented 2 years ago

FYI: http://www.postfix.org/postconf.5.html#default_recipient_limit

interduo commented 2 years ago

@iredmail I know that setting - This is global server setting. It's not the way because we will block sending daily mails from management. Did You understand what I mean? Maybe there is some workaround for not to block that?

iredmail commented 2 years ago

Oh, misunderstood.

For per-domain and per-user setting, please use iRedAPD plugin throttle, read the code comment lines here to understand what it does and sample settings: https://github.com/iredmail/iRedAPD/blob/master/plugins/throttle.py

With iRedAdmin-Pro, you can set per-domain and per-user throttle in account profile page.

interduo commented 2 years ago

I see throttle settings but I do not see receipient limits on 4.9 version. Could You show me this on screenshot?

iredmail commented 2 years ago

Check the selected text in screenshot.

Screen Shot 2022-04-20 at 11 03 12 AM