lost connection after AUTH from server.domain.com[xx.xx.xx.xx]
Hi Folks,
we got a Mac OSX Lion server running and we use it as our mailserver. We got also a Jira server running on another physical machine. Now we got the problem, when in our Jira many tickets are edited and the Jira try to send all the notifaction mails, we get exceptions in out Jira:
com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException:
at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java: 183)
at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:38)
at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66)
at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService. java:23)
at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImp l.java:60)
at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run( MultiTenantThreadPool.java:72)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: javax.mail.AuthenticationFailedException:
at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:8 09)
at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:752)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:669)
at javax.mail.Service.connect(Service.java:317)
at javax.mail.Service.connect(Service.java:176)
at javax.mail.Service.connect(Service.java:125)
at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java: 154)
... 8 more
and on the mac server i see this in the logfiles:
May 2 15:56:28 groupware postfix/smtpd[16551]: connect from jira.domain.com[xx.xx.xx.xx]
May 2 15:56:28 groupware postfix/pipe[16555]: A7BD2D8CAA2: to=<user@domain.com>, relay=dovecot, delay=0.03, delays=0.01/0/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot service)
May 2 15:56:28 groupware postfix/qmgr[15654]: A7BD2D8CAA2: removed
May 2 15:56:37 groupware postfix/anvil[15829]: statistics: max connection rate 10/60s for (smtpd:xx.xx.xx.xx) at May 2 15:56:28
May 2 15:56:37 groupware postfix/anvil[15829]: statistics: max connection count 1 for (submission:xx.xx.xx.xx) at May 2 15:47:00
May 2 15:56:37 groupware postfix/anvil[15829]: statistics: max cache size 4 at May 2 15:52:21
May 2 15:56:38 groupware postfix/smtpd[16551]: lost connection after AUTH from jira.domain.com[xx.xx.xx.xx]
May 2 15:56:38 groupware postfix/smtpd[16551]: disconnect from jira.domain.com[xx.xx.xx.xx]
May 2 15:56:38 groupware postfix/postscreen[16543]: CONNECT from [xx.xx.xx.xx]:54780
May 2 15:56:38 groupware postfix/postscreen[16543]: PASS OLD [xx.xx.xx.xx]:54780
May 2 15:56:38 groupware postfix/smtpd[16551]: connect from jira.domain.com[xx.xx.xx.xx]
May 2 15:56:48 groupware postfix/smtpd[16551]: lost connection after AUTH from jira.domain.com[xx.xx.xx.xx]
May 2 15:56:48 groupware postfix/smtpd[16551]: disconnect from jira.domain.com[xx.xx.xx.xx]
Is the mail server blocking the jira server because the jira server tries to send to many mails at once? Or what can be the problem? The mails arrive all, but later and sometimes it took 1.5 hours until the notification mails arrives. If in the Jira are only 3 or 4 tickets edited, all works well.
Please let me know if you need additional information about our setup or something like this 😉
Mac Pro, Mac OS X (10.7.3)