Page 1 of 1

Mail Import Not Working

PostPosted:Thu Apr 26, 2012 5:55 pm
by elsteve
OpenKM 5.1.9 build 7447 (Using this build because it fixed repository import metadata)

When I set up a users mail account in the administrative tools and click the 'check' button, I receive the 'Success!' message. All good.
I have set the schedule.mail.importer to 1 (have also tried 10, 30, 60)

Emails are not being imported.

If I click the 'Force User Mail Import' button in Administrative Tools | Users I see the following message in the server.log
Code: Select all
ERROR [org.apache.catalina.core.ContainerBase. [jboss.web].[localhost].[/OpenKM].[MailAccountServlet]] Servlet.service() for servlet MailAccountServlet threw exception java.lang.NullPointer Exception

 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Exception Processing ErrorPage[exceptionType=java.lang.Exception, location=/error.jsp]
java.lang.IllegalStateException
EDIT: Confirmed - same error on 5.1.10 build 7481
Any thoughts?

Re: Mail Import Not Working

PostPosted:Sat Apr 28, 2012 9:48 am
by michaeled
Do u have the same problem with POP and IMAP ? on multiple different servers ?

Re: Mail Import Not Working

PostPosted:Sat Apr 28, 2012 3:05 pm
by elsteve
michaeled wrote:Do u have the same problem with POP and IMAP ? on multiple different servers ?
Interesting - When configured using IMAPS to my mail server with Intermedia, the import works fine.

When using IMAPS to gmail I get the above mentioned errors - anyone have some specifics on configuring for gmail access?

Re: Mail Import Not Working

PostPosted:Sun Apr 29, 2012 10:12 am
by jllort
Which folder name are you using on gmail ?

Re: Mail Import Not Working

PostPosted:Sun Apr 29, 2012 12:16 pm
by elsteve
jllort wrote:Which folder name are you using on gmail ?
Inbox

It passes the initial check when setting up the mail account...

Re: Mail Import Not Working

PostPosted:Mon Apr 30, 2012 5:03 pm
by elsteve
I'll go with the Intermedia implementation and forgo Gmail now - thanks for eveyrones input.