Page 1 of 1

Limit send email per user per hour

Posted: Thu Nov 16, 2017 9:35 pm
by putude
Dear all,

Please help how to limit send email per user per hour in VestaCP.
I try viewtopic.php?f=41&t=12623&start=20 but no luck.

Thanks,
Putude

Re: Limit send email per user per hour

Posted: Thu Nov 16, 2017 11:00 pm
by DarthVader
Add below code in /etc/exim/exim.conf in acl_check_mail: section

Code: Select all

deny    message = "Too many messages"
	    log_message = "Ratelimit overload" 
            ratelimit = 10 / 1h / strict / $sender_address

Re: Limit send email per user per hour

Posted: Fri Nov 17, 2017 10:28 am
by putude
Hi @DarthVader,

Thank you for your help. I will try it.

Best regards,
Putude