Page 1 of 1

Restric ammount of mail sent

Posted: Mon Oct 15, 2018 7:27 pm
by Marcosebas
Dear All,

Please, I have a question. Is it possible to restrict the ammount of emails that the accounts can send in a determined time?

What I mean is that, for example, any account can't send more than 10 mails in a minute.

Waiting for your comments,

Best,

Marco

Re: Restric ammount of mail sent

Posted: Mon Oct 15, 2018 8:25 pm
by DavidMerrill
Look into CBpolicyd. I've implemented it in 8.6 (and it runs well enough) but most recently I've read there may be issues with it in the 8.8.* series.

Re: Restric ammount of mail sent

Posted: Tue Oct 16, 2018 9:40 am
by phoenix
Marcosebas wrote:Please, I have a question. Is it possible to restrict the ammount of emails that the accounts can send in a determined time?

What I mean is that, for example, any account can't send more than 10 mails in a minute.
You could always use Rspamd for ratelimiting inbound and outbound email, it can also replace the current anti-spam solution in ZCS.
Marcosebas wrote:Waiting for your comments,
Actually, you could have found this information with a forum/wiki search. :0

Re: Restric ammount of mail sent

Posted: Tue Oct 16, 2018 2:38 pm
by Marcosebas
phoenix wrote:
Marcosebas wrote:Please, I have a question. Is it possible to restrict the ammount of emails that the accounts can send in a determined time?

What I mean is that, for example, any account can't send more than 10 mails in a minute.
You could always use Rspamd for ratelimiting inbound and outbound email, it can also replace the current anti-spam solution in ZCS.
Marcosebas wrote:Waiting for your comments,
Actually, you could have found this information with a forum/wiki search. :0
Hi Bill,

I was searching for something to this in the forum/wiki. However, I couldn't find anything that is why I wrote my question in here.

Thank you for your help and I will look for the implementation of the Rspamd.

Best,

Marco

Re: Restric ammount of mail sent

Posted: Tue Oct 16, 2018 2:48 pm
by phoenix
Implementing Rspamd on a ZCS server is fairly easy, see the following thread and wiki article:

viewtopic.php?f=15&t=62443

https://wiki.zimbra.com/wiki/Rspamd

I don't use ratelimiting on my server as it's only a small server but it should be trivial to get running, the documentation of the Rspamd web site is quite detailed: https://rspamd.com/doc/modules/ratelimit.html

Re: Restric ammount of mail sent

Posted: Wed Oct 17, 2018 4:14 pm
by Marcosebas
phoenix wrote:Implementing Rspamd on a ZCS server is fairly easy, see the following thread and wiki article:

viewtopic.php?f=15&t=62443

https://wiki.zimbra.com/wiki/Rspamd

I don't use ratelimiting on my server as it's only a small server but it should be trivial to get running, the documentation of the Rspamd web site is quite detailed: https://rspamd.com/doc/modules/ratelimit.html
Hi Bill,

Again thank you for your help. However, I was checking Rspamd is available for fedora and centos but not for Red Hat. Am I right?

Best,

Marco