Redmine sending e-mails to members one by one
Hi everybody!
I'm facing an issue with out company redmine settings.
The issue is that many members don't receive the notifications. Here's an error message from January:
Email delivery error: 432 4.3.2 Concurrent connections limit exceeded. Visit https://aka.ms/concurrent_sending for more information. [Hostname=AM0PR06MB4258.eurprd06.prod.outlook.com]
As the error suggests, yes, we use Microsoft Exchange as mail service. The linked site (https://learn.microsoft.com/en-us/exchange/troubleshoot/send-emails/smtp-submission-improvements#new-throttling-limit-for-concurrent-connections-that-submitmessages) suggests that only "30 messages per minute" are allowed and I guess this is exceeded.
As a user mentioned to me, the older version send ONE mail to multiple users (also we used a simple mail server on a debian running server). Now the redmine sends one mail to every member, one by one. So if 10 people are on watchlist...etc, 10 mails are sent instead of one.
After looking for a while I found this feature post:
https://www.redmine.org/issues/26791
It seems like this change is intended, however in cases like this it backfires a bit. Is there any way to setup the "old way" the e-mail sending (so ONE mail is sent to multiple reciepents instead of many sents to every inviduals), without editing the source code of redmine? The latter would be quite unfortunate for me, since I have to use the docker version of redmine (after many weeks of work I still couldn't make the standalone version to work, that's why I use the docker version instead).
Replies (2)
RE: Redmine sending e-mails to members one by one
-
Added by Holger Just 16 days ago
The previous approach is not available anymore. Some of the reasons it was changed to send individual emails were security (e.g. to always ensure correct field visibility) and to use the right language for each recipient.
If your email provider limits the number of messages arbitrarily, you could ask your provider to increase the limits or move to a different email provider for Redmine notifications.
RE: Redmine sending e-mails to members one by one
-
Added by Zs Vizi 16 days ago
Thank you for your fast response!
However, this is microsoft, I don't think they will change the limit just for me.
I think this is the problem for me: "(...) up to three concurrent connections are allowed to send email messages at the same time". I guess Redmine tries to send all e-mails at once, each with a different connection, and not from one connection, e-mail after e-mail. But this is odd, because this should also have an effect on everyone else...unless I just missed that in the forum.