Error sending more 200 emails at once

jdn1976

Verified User
Joined
Mar 30, 2020
Messages
107
Hello, I have a client that need to send arround 500 emails at once. But when try to deliver the emails returns the error:

error 452 too many recipients

I made some research, and I find that I need to change the value on exim.conf on recipients_max.
On my exim.conf on my DirectAdmin server for some reason the line is commented like this

# recipients_max = 600

I try to remove the #, and restart exim. And when I restart, exim stops working, is not starting. But if I comment the line # recipients_max = 600 again returns to work again the exim.

Any idea what could be?
 
If you have that in your exim.conf then you're using an ancient version of exim.conf.

First start using a modern one:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build set exim yes
./build set eximconf yes
./build set eximconf_release 4.5
./build update
./build exim
./build exim_conf

After that, the limitations in Directadmin itself will be used. By default that is 200, you can change the setting that users can override this in Directadmin itself.
Furthermore you can change a users limit.

Have a look at this:
and
virtual limit and user limit.
 
It's in /etc/exim.variables.conf and when you define it twice exim freaks out (unless you use == as an override). Change it in /etc/exim.variables.conf.custom and rebuild exim config.

Code:
echo "recipients_max=600" >> /etc/exim.variables.conf.custom
cd /usr/local/directadmin/custombuild
./build exim_conf
 
@jdn1976 that is still an older version. I'm using 4.5.35. Did you make custom changes? Because I can't find any 600 in my exim.conf anywhere and no recipients_max setting either. You might want to consider upgrading your exim.conf.
It might be taken out in the newer version to be compatible with the limit settings.
 
Back
Top