SMTP connections are not closed after upgrading from 7.19.16 to 8.5.3

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 8.9.0, 8.5.7
    • Affects Version/s: 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
    • Component/s: Core - Email
    • 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

      1. Set up SMTP mail server
      2. 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.

            Assignee:
            Jing Zheng
            Reporter:
            Pille Saral
            Votes:
            18 Vote for this issue
            Watchers:
            32 Start watching this issue

              Created:
              Updated:
              Resolved: