Restric ammount of mail sent

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
Marcosebas
Advanced member
Advanced member
Posts: 82
Joined: Tue Sep 13, 2016 11:25 pm

Restric ammount of mail sent

Post 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
User avatar
DavidMerrill
Advanced member
Advanced member
Posts: 126
Joined: Thu Jul 30, 2015 2:44 pm
Location: Portland, ME
ZCS/ZD Version: 8.8.15 P19
Contact:

Re: Restric ammount of mail sent

Post 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.
___________________________________
David Merrill - Zimbra Practice Lead
OTELCO Zimbra Hosting, Licensing and Professional Services
Zeta Alliance
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Restric ammount of mail sent

Post 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
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Marcosebas
Advanced member
Advanced member
Posts: 82
Joined: Tue Sep 13, 2016 11:25 pm

Re: Restric ammount of mail sent

Post 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
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Restric ammount of mail sent

Post 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
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Marcosebas
Advanced member
Advanced member
Posts: 82
Joined: Tue Sep 13, 2016 11:25 pm

Re: Restric ammount of mail sent

Post 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
Post Reply