Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-93627

SMTP connections are not closed after upgrading from 7.19.16 to 8.5.3

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 8.9.0, 8.5.7
    • 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
    • Core - Email

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              8b5c2ab424ac Jing Zheng
              5337e069d1ab Pille Peri
              Votes:
              18 Vote for this issue
              Watchers:
              32 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: