-
Bug
-
Resolution: Fixed
-
Medium
-
8.2.0, 8.2.3, 8.5.3, 8.3.4, 8.5.4, 8.6.2, 8.4.5, 8.7.2, 8.5.5, 8.5.6
-
16
-
Severity 2 - Major
-
97
-
Issue Summary
This is reproducible on Data Center: yes
After upgrading Confluence from 7.19.16 to 8.5.3, we have started to receive this error below during the daily email batch job:
com.atlassian.mail.MailException: javax.mail.MessagingException: Got bad greeting from SMTP host: <host>, port: 25, response: 421 4.3.2 The maximum number of concurrent server connections has exceeded a per-source limit, closing transmission channel (<channel>)
Steps to Reproduce
- Set up SMTP mail server
- Wait for Daily Report email batch job to run
Expected Results
All emails are sent without errors.
Actual Results
The below exception is thrown in the atlassian-confluence-outgoing-mail.log file:
2023-11-09 14:23:20,486 ERROR [atlassian.core.task.AbstractErrorQueuedTaskQueue] handleException Failed to execute task -- url: /wiki/admin/mail/resenderrorqueue.action | userName: <username> | action: resenderrorqueue | referer: https://domain.com/wiki/admin/mail/viewmailqueue.action | traceId: <traceId> com.atlassian.mail.MailException: javax.mail.MessagingException: Got bad greeting from SMTP host: <host>, port: 25, response: 421 4.3.2 The maximum number of concurrent server connections has exceeded a per-source limit, closing transmission channel (<channel>)
Workaround
To change the receive connector MessageRateLimit from X to 20 or 50 or 100, depending on your mail load.
Also, this issue is been documented by Microsoft in the Exchange Server Support forum; 421 4.4.2 Message submission rate for this client has exceeded the configured limit.
- is related to
-
JRASERVER-77271 After upgrading to 9.10.1 from 9.7.1 separate connections for each email notifications to Mail Server are concurrently established.
-
- Closed
-
While this is happening, the troubleshooting and support tools may sometimes report Confluence unable to send email through Gmail server due to 'Read timed out' during the scan