Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-11700

Support for POP before SMTP would be very helpful

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Fix
    • None
    • Email notifications
    • JDK 1.4.2_13 running on Windows NT 4.0
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      My company outsources our email service and the system requires "POP before SMTP" while JIRA seems to only support authenticated (or non-authenticated) smtp.

      I have seen a few posts about this on the forum and in your defect tracking system (JRA-9265, JRA-2310) but the people reporting the issue seemed to have control over their email server. It would definitely be helpful for us to be able to check a box on the JIRA mail server configuration screne that causes JIRA do a quick POP request prior to dealing with its outbound email.

      I thought about setting up the issue/comment creation feature of JIRA that does use POP with the hope that those would fire frequently enough to ensure the "POP before SMTP" is statisfied, but since that service is decoupled from the Mail Queue Service, it seemed like a fragile solution.

      Below are the relevant lines from the log of "Send a Test Mail". As shown in the DEBUG lines below, I do have authenticated SMTP set up, but that doesn't seem sufficient for my email provider. I have put in a request for the IP of my JIRA deployment to be added to a "trusted IP" list on our mail server for relaying, but since the service is outside of my control, I don't know if it will go through.

      An error has occurred with sending the test email:
      com.atlassian.mail.MailException: javax.mail.SendFailedException: Invalid Addresses;
      nested exception is:
      class com.sun.mail.smtp.SMTPAddressFailedException: 550 Relaying Denied. Not A Local Domain: yahoo.com. If you are a customer, download messages via POP, and try again.

      at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:182)
      at com.atlassian.jira.web.action.admin.mail.SendTestMail.doExecute(SendTestMail.java:88)
      at webwork.action.ActionSupport.execute(ActionSupport.java:153)
      at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54)
      ...

      DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
      DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
      DEBUG SMTP: useEhlo true, useAuth true
      DEBUG SMTP: useEhlo true, useAuth true
      DEBUG SMTP: trying to connect to host "mail.nevo.com", port 25, isSSL false
      220 X1 NT-ESMTP Server mail.nevo.com (IMail 6.06 471979-4)
      DEBUG SMTP: connected to host "mail.nevo.com", port: 25

      EHLO waycool
      250-mail.nevo.com says hello
      250-SIZE 0
      250-8BITMIME
      250-DSN
      250-ETRN
      250 EXPN
      DEBUG SMTP: Found extension "SIZE", arg "0"
      DEBUG SMTP: Found extension "8BITMIME", arg ""
      DEBUG SMTP: Found extension "DSN", arg ""
      DEBUG SMTP: Found extension "ETRN", arg ""
      DEBUG SMTP: Found extension "EXPN", arg ""
      DEBUG SMTP: use8bit false
      MAIL FROM:<issues@nevo.com>
      250 ok
      RCPT TO:<petejaffe@yahoo.com>
      550 Relaying Denied. Not A Local Domain: yahoo.com. If you are a customer, download messages via POP, and try again.
      DEBUG SMTP: Invalid Addresses
      DEBUG SMTP: petejaffe@yahoo.com
      DEBUG SMTP: Sending failed because of invalid destination addresses
      RSET
      250 ok its reset
      QUIT
      DEBUG SMTP: bad server response: 250 ok its reset

      Attachments

        Activity

          People

            Unassigned Unassigned
            12dc552dc982 Pete Jaffe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: