Page 1 of 1

IMAP Configuration

PostPosted:Wed Mar 29, 2017 11:17 pm
by juansta
Is there a way to only import specific IMAP folders?

At the moment, I can only import anything from 'INBOX'. But within 'INBOX' I may have a seperate folder 'ProjectA'.

In the configuration, I am not able to configure using 'INBOX/ProjectA'.

What is the syntax to allow me to retrieve specific IMAP folders only?
Is this possible?

Re: IMAP Configuration

PostPosted:Fri Mar 31, 2017 7:17 am
by jllort
Are you sure exists "/INBOX/Project A", because it might get it running with any IMAP folder. For example, I have configured with Gmail tags ( what works as folders ) and goes right.

Re: IMAP Configuration

PostPosted:Fri Apr 07, 2017 5:38 am
by juansta
Yes, all other email clients find the folders...

I have tried;

INBOX/ProjectA
ProjectA
/ProjectA

But I am unable to view email in specific folder only.

Re: IMAP Configuration

PostPosted:Sat Apr 08, 2017 7:08 am
by jllort
And about the tree folder you write here, exists all ?
What OpenKM version you are using ?

Re: IMAP Configuration

PostPosted:Mon Apr 10, 2017 3:06 am
by juansta
jllort wrote: Sat Apr 08, 2017 7:08 am And about the tree folder you write here, exists all ?
My email client (kMail) finds the folders in the root of the mail box (so "\ProjectA" exists)... But when I try and check the configuration using the mail interface on OpenKM, it tells me that the configuration is invalid. The only folder that seems to work is "INBOX".

I was running 6.3.2, but have recently upgraded (forcefully due to possible repository corruption) to 6.3.3.

This is still the case with this version. INBOX is the only folder I can import. It would also be nice, from a project viewpoint, to track SENT items also, but I am not able to do this...

Just to let you know, we wont be pursuing emails any further. It seems to be a little clunky at the moment. Aside from the above, all my mails (stored on server using IMAP) were also marked as unread as they were imported by OpenKM... Not good when your stored mail goes back to 2012... :)

Re: IMAP Configuration

PostPosted:Tue Apr 11, 2017 10:17 am
by jllort
When you configure imap again, it will comes back from the begining. There a column into table OKM_MAIL_ACCOUNT named MA_MLAST_UID what is used to identify the last mail readed, modifying it can jump to specific newer mail.

About import issue with folders rather INBOX, I can provide you the classes and methods in source code you should check for solve it. In professional version there are some improvements about them what are not present in community. Anyway folder from root imap node should be read. If you want to work in the source code notice to me.