Freeze email message with more than 10 recipients

delalibera

Member
Jan 6, 2014
20
0
1
cPanel Access Level
Reseller Owner
Hello,

I would like a script or a configuration in my cpanel that in case a user sends an email message to more than 10 recipients, this message is automatically frozen and not sent.

Does anyone know something like this or can you help me?

Thank you.
 

rpvw

Well-Known Member
Jul 18, 2013
1,101
466
113
UK
cPanel Access Level
Root Administrator
68.0.14

WHM >> Service Configuration >> Exim Configuration Manager > Basic Editor > ACL Options

There are 2 settings that might be just what you are looking for :-

Maximum message recipients (soft limit) (Minimum: 1; Maximum: 100)
Reject any recipient addresses after this number have been specified for a single message. NOTE: The RFCs specify that SMTP servers should accept at least 100 RCPT commands for a single message.

And

Maximum message recipients before disconnect (hard limit) (Minimum: 1; Maximum: 100)
Disconnect and ratelimit any connection that specifies more than this number of recipients for a single message. NOTE: The RFCs specify that SMTP servers should accept at least 100 RCPT commands for a single message.
 
  • Like
Reactions: cPanelMichael

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,245
463
Hello,

I'm glad to see those options were helpful. Let us know if you have any additional questions.