Page 1 of 1
IMAP question
PostPosted:Wed Feb 03, 2010 2:23 pm
by godin
Hi there,
i installed and set up openkm, but the imap function not work, i think.
It connected to the imap server (i saw the log), but dont downloading and viewing the mails.
Have you got any idea?
Thank You:
G.
Re: IMAP question
PostPosted:Wed Feb 03, 2010 5:07 pm
by jllort
Try for example gmail
host: imap.gmail.com
your user / pass
The tags are like imap folder in gmail
mark a document with some Tag and remember it must be as not readed.
At starting OpenKM read mails, after starting the next schedule time is next hour.
Re: IMAP question
PostPosted:Wed Feb 03, 2010 6:19 pm
by godin
First of all, thank you for your reply.
I tried with gmail, but not download mail from gmail too.
Just a few question:
- I've read, openkm download the mail hourly. I saw the log, it download mail minutely.
- OpenKM download mail every time when I click the mail tab?
- What's the default IMAP folder? INBOX? Uppercase?
- Where can I administ the IMAP settings? When I log in and hit the tools/preferences/user configuration?
The log:
18:15:50,950 ERROR [MailUtils] Connection refused
javax.mail.MessagingException: Connection refused;
nested exception is:
.
.
.
Caused by: java.net.ConnectException: Connection refused
.
.
.
Thank You:
G.
Re: IMAP question
PostPosted:Wed Feb 03, 2010 6:56 pm
by jllort
The gmail tags acts as Imap folder. Put in your OpenKM some tag name, OpenKM it will import not readed mails with this tag.
openKM downloads at jboss startup and in 60 minutes cycles. You might reboot server several times while you testing your configuration. In log appears message OpenKM is trying reading mail.
Which host did you used, I think in gmail is imap.gmail.com, but I am not sure. Seems there is some connection problem.
Re: IMAP question
PostPosted:Wed Feb 03, 2010 6:59 pm
by godin
Gmail is ok now, but our is not ok. I don't know why.
Whay do you think with the tag? I dont understand.
Re: IMAP question
PostPosted:Wed Feb 03, 2010 7:02 pm
by jllort
The reason is that we-ve not implemented TLS or SSL connection, that is the problem. I have reported this bug in our tracking system. Now is not possible to connect to SSL or TLS servers, connection is refused, and there is select list in UI for it purpose.
Re: IMAP question
PostPosted:Mon Apr 05, 2010 3:01 pm
by lb_br
Hi,
I have two questions.
1) There is a way to force imap check without wait until next 60 minutes check?
2) the email is accessed via imap or copy into OpenKM? If it is copied what happen when you delete then on imap server?
Thank you and congratulations on this excellent tool!
Re: IMAP question
PostPosted:Mon Apr 05, 2010 6:17 pm
by jllort
Now is 60 minutes and can not be configured, I'll put it to make some property in OpenKM.cfg for it purpose.
OpenKM access via imap and copies the file, the file is readed but not disappears from your server.
As I said I'm working in mail client integration, sure it'll be better than actual integration, althought for some cases it's ideal, like some a container to uploading files directly via mail service.