Limit of sent emails per day (24h)
Posted: Sun Jul 05, 2020 12:49 pm
Hi, Is it possible to set a limit of sent emails per one day (24h) instead per one hour?
Code: Select all
service exim4 restart
How do I set rate limit ignore to a domain? Like one that sends camera recordings 500/hr. Just a number... idk real number.dpeca wrote: ↑Sun Jul 05, 2020 1:32 pm Edit /etc/exim4/exim4.conf.template
- this line - https://github.com/myvesta/vesta/blob/m ... plate#L110
- and this line - https://github.com/myvesta/vesta/blob/m ... mplate#L70
I think replacing 1h to 24h will works.
Then restart exim:Code: Select all
service exim4 restart
ratelimit = 40 / 1h /dpeca wrote: ↑Sun Jul 05, 2020 1:32 pm Edit /etc/exim4/exim4.conf.template
- this line - https://github.com/myvesta/vesta/blob/m ... plate#L110
- and this line - https://github.com/myvesta/vesta/blob/m ... mplate#L70
I think replacing 1h to 24h will works.
Then restart exim:Code: Select all
service exim4 restart
Yes.
User will receive error message during the sending of message.