Page 1 of 1

Limit of sent emails

Posted: Sat Jul 25, 2020 9:49 pm
by myVesta
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

Re: Limit of sent emails

Posted: Fri Sep 10, 2021 5:05 am
by Jpsciolli
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!

Re: Limit of sent emails

Posted: Tue Sep 12, 2023 3:43 pm
by putude
Hello master,
is there any way to trigger a message to [email protected] when the user reached the limit ?

Re: Limit of sent emails

Posted: Thu Oct 05, 2023 3:06 pm
by cimek82
Hello,
Is it possible to remove restrictions for only one email account?