Unable to email more than 5 recipients

Richard-N

Member
Apr 21, 2017
11
3
3
croydon, surrey, UK
cPanel Access Level
Website Owner
I have a set of global filters setup to give me some wildcard filtering which is not quite working but before I ask for an additional feature I am trying to eliminate user ignorance and perhaps failing. My aim is to enable an email to [email protected] to get sent to user1's mailbox.

I have managed to avoid recursive email delivery issues by delivering to a folder so my filters now are:

Rules: <any Recipient> <matches regex> \b(?i)user1[A-Za-z0-9._%+-][email protected]*\b>
Actions: <deliver to folder> <user's folder>

[As an aside my ISP had raised the filter issue with cpanel when I was simply forwarding the email and the answer came back from my ISP support: "According to CPanel the only reason why its displaying the error message its because the email you want to send the emails to are included in the regex which would cause a loop, adjusting the regex to match everything but the mailbox or adding another comparison such as if $h_to: does not contain "[email protected]" should allow you to make the necessary changes and continue to use the rules you have setup." That did not work as it still thought it was a recursive issue but delivering to a folder does work, well almost]

That works really well with two exceptions:

1. If I email more than 5 [email protected] then email vanishes somewhere in a loop, don't know where. Up to 5 works fine and it is any 5, checked that.

2. I have an issue with bcc not working when there are other [email protected] but I will pose that query in a separate thread

Any idea why I can only email 5 recipients and everything falls over after that?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
Any idea why I can only email 5 recipients and everything falls over after that?
Hi @Richard-N,

Can you find the message ID of one of the affected messages in the email header, and then search that message ID in /var/log/exim_mainlog? EX:

Code:
exigrep MSGID /var/log/exim_mainlog
Paste the output here in CODE tags, ensuring to replace real domain names and IP addresses with examples.

Thank you.