How to remove a limit of max 15 recipients per email

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

A lot of spammers (when they hack business users or site) uses the fact that nothing prevent them to put 500 email addresses per mail, and then to send spam.
We already have limit of 40 mails per hour, but when they put 500 addresses per mail, that limit will not prevent them to send 20.000 spam emails...
Because of that, we limited max number of recipients per email to 15, in order to prevent their ability to do mass spamming.

However, some business users sometimes have a need to send email to more than 15 email addresses.
So, here is how to delete this limitation, or set it to higher value.

----------------------------------------------------------

Edit file: /etc/exim4/exim4.conf.template

Find:

Code: Select all

LIMIT_PER_EMAIL_ACCOUNT_MAX_RECIPIENTS = 15
LIMIT_PER_HOSTING_ACCOUNT_MAX_RECIPIENTS = 5
Modify 15 to higher value.

On older exim conf you will not find it, but you will find:

Code: Select all

recipients_max = 15
recipients_max_reject = true
Modify 15 to higher value.

Restart Exim4:

Code: Select all

systemctl restart exim4

Tags:
Post Reply