Limit of sent emails

Post Reply
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

By defalt, each email account and each website (but limited per user account) has limit of maximum 40 sent emails per hour.

If you want to alter that limit, edit /etc/exim4/exim4.conf.template

Find:

Code: Select all

  deny message = Web site is sending too much emails [limitlog]: deny / account / $authenticated_id / $sender_rate / $sender_rate_period
  ratelimit = 40 / 1h / $authenticated_id
This is a limit for PHP scripts (websites), limited to 40 mails per hour per user account.
You can alter 40 to any larger number if you want wider limit.

Find:

Code: Select all

  deny message = Email account is sending too much emails [limitlog]: deny / email / $authenticated_id / $sender_rate / $sender_rate_period
  ratelimit = 40 / 1h / $authenticated_id
This is a limit for each email account (authenticated with username and password on SMTP protocol), limited to 40 mails per hour per email account.
You can alter 40 to any larger number if you want wider limit.

After changes restart exim:

Code: Select all

service exim4 restart
All sent emails will be logged to /var/log/exim4/mainlog file (with counter per each user)
Example for website:

Code: Select all

2020-07-25 21:41:46 1jzQ3G-0002Qp-8w U=forum Warning: Sender rate [limitlog]: log / account / forum / 7.0 / 1h
Example for email account:

Code: Select all

2020-07-25 20:54:33 H=(DESKTOPGFKPG74) [188.255.1xx.xx] Warning: Sender rate [limitlog]: log / email / [email protected] / 4.0 / 1h

Tags:
Jpsciolli
Posts: 13
Joined: Sun Feb 21, 2021 6:54 pm

Hello.

I am wondering if myVesta through this configuration can be suitable for transactional emails.
Actually they need to be fast, reliable and to a large quantity of recipients.
Do you think myVesta can be used for that?

Is there any solution you recomend?

Thanks!
putude
Posts: 12
Joined: Tue Jun 30, 2020 6:06 am

Hello master,
is there any way to trigger a message to [email protected] when the user reached the limit ?
cimek82
Posts: 1
Joined: Thu Oct 05, 2023 3:03 pm

Hello,
Is it possible to remove restrictions for only one email account?
Post Reply