[OF-485] Email Listener plugin throws exception on IMAP connection Created: 02/Nov/11  Updated: 28/Oct/20  Resolved: 27/Oct/15

Status: Closed
Project: Openfire
Components: Plugins
Affects versions: 3.7.1
Fix versions: None

Type: Bug Priority: Minor
Reporter: wroot Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: email, email_listener, imap, plugin, protocol
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified
Environment:

Email Listener 1.0.2


Ignite Forum URL: http://community.igniterealtime.org/message/217973#217973

 Description   

I just install openfire 3.7 with email listener plugin.
When i test imap email listener, status failed.
this log found.

at javax.net.ssl.DefaultSSLSocketFactory.throwException(SSLSocketFactory.java:179)

at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:186)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:225)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
at com.sun.mail.iap.Protocol.<init>(Protocol.java:107)
at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:104)
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:538)
... 47 more
Caused by: java.lang.ClassNotFoundException: org.jivesoftware.util.SimpleSSLSocketFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:85)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:225)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
at com.sun.mail.iap.Protocol.<init>(Protocol.java:107)
at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:104)
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:538)
at javax.mail.Service.connect(Service.java:288)
at javax.mail.Service.connect(Service.java:169)
at org.jivesoftware.openfire.plugin.emailListener.EmailListener.openFolder(EmailLi stener.java:288)
at org.jivesoftware.openfire.plugin.emailListener.EmailListener.access$100(EmailLi stener.java:45)
at org.jivesoftware.openfire.plugin.emailListener.EmailListener$1.run(EmailListene r.java:96)

Another observation:
Using Wireshark I watched the imap connection and noticed this when my Email Listener test failed:

  • BAD Protocol Error: "Command received without terminating <CR><LF> sequence".\r\n


 Comments   
Comment by Daryl Herzmann [ 26/Apr/14 ]

Does anybody still use this?

Comment by Daryl Herzmann [ 27/Oct/15 ]

did not get any responses to previous query, so closing. Can reopen if necessary.

Generated at Sat Apr 20 03:47:50 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100250-rev:2b88e55752dc82be8616a67bc2b73a87c8e22b48.