IBM Support

7.5 - Email Listener Not Working for IMAP After Upgrade

Technote (troubleshooting)


Customer upgraded from 7.1.x to version 7.5 and now they can't authenticate their IMAP email listener configuration.


After implementing the java mail debug property as outlined in Lifting the Hood on JavaMail Communications document in the developerworks site: See link below.

The following error appears in the logs.
[ERROR] [MXServer] [CID-CRON-54239] Encountered error processing e-mails from mail server.
javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
at com.sun.mail.imap.IMAPStore.protocolConnect(
at javax.mail.Service.connect(
at javax.mail.Service.connect(
at javax.mail.Service.connect(
at psdi.common.emailstner.EmailListnerTask.readMessagesFromMailServer(
at psdi.common.emailstner.EmailListnerTask.performTask(
at psdi.common.emailstner.EmailListnerCron.cronAction(
at psdi.server.CronTaskManager.callCronMethod(
at psdi.server.CronTaskManager.access$400(
at psdi.server.CronTaskManager$


In latest versions of Websphere 7 vs Websphere 6 the JavaMail API changed.

Resolving the problem

To resolve the problem a new System Property was added. The new property

mail.imap.auth.plain.disable=true was added and along with a restart of the application server, the problem is resolved. The Live Refresh does appear to be functional, but in this case a Server Restart was required.

Related information

Lifting the Hood on JavaMail Communications

Document information

More support for: Maximo Asset Management
E-Mail Listener Config

Software version: 7.5, 7.6

Operating system(s): Platform Independent

Reference #: 1606842

Modified date: 07 July 2016