Max recipients per email?

flamewalker

Verified User
Joined
Aug 21, 2007
Messages
64
Is there a way to set max recipients per email address, with a default setting?

I have a couple customers who email to between 500 and 2000 recipients, but our default limit is 150. I would like to be able to up the limit on a case by case basis.

TIA.
 
You would have to manually make changes to your /etc/exim.conf file
 
Right, I get that. I know about the max recipients setting... would I have to set it to a file similar to the whitelist file setup? Would something like that work?
 
Would something like this work in exim.conf?

recipients_max = ${if eq {$local_part@$domain} {lookup{$local_part@$domain}lsearch{/etc/virtual/recipients_max}{$value}} {$value}{150}}

*UPDATED in an attempt to make it work with a database file with "email@address: limit"
 
Last edited:
Should be an interesting feature, if does it work (the one with the file should be better for standard installation) should be nice to bring to directadmin staff attention and, maybe, jlasman as well would be interested for his spamblocker.

Regards
 
I'm just learning tweaking the exim.conf, and built that based on what I saw in other parts of the file and a little Googling...

I'm a little wary of trying it on a live system... I guess the worst that would happen is people might not be able to send to multiple recipients for a couple minutes while testing?
 
Honestly im not exim expert so i dont know, but i think that email will not work completly during test, dont you have any test environment?
 
Back
Top