konradrenner / kolabnotes-android

Note taking app with integrated Kolab sync
GNU Lesser General Public License v3.0
68 stars 17 forks source link

no Sync with server IMAP Server #142

Closed Manuelibt closed 7 years ago

Manuelibt commented 8 years ago

Is any special configuration in ther Server needed? I get the message Connection dropped by Server. Is it a known issue? Thanks.

Manuelibt commented 8 years ago

Here is the whole message: Java.lang.illegalstateException: korrex.mail.MessagingExecption: recvform failed: EDTIMEDOUT (Connection Timed Out) Nestes exception is: Java.net.SocketException : recvform failed: ETIMEDOUT (Connection time out). Maybe it helps to solve it...

Manuelibt commented 8 years ago

And another errormessage: Java.lang.illegalstateException: korrex.mail.MessagingExecption: Connection dropped by server? Nested exception is: Java.io.IOException: Connection dropped by server? Sorry for spamming...

konradrenner commented 8 years ago

Hi, thanks for the informations! Can you sync your Mails from this server with a Mail app? Can you send me a screenshot or Infos of the account settings?

konradrenner commented 8 years ago

I don't need your Mail address but the extended options of the settings are interesting and the IMAP Server URL is also important for me, so that I can help you.

Manuelibt commented 8 years ago

Hi Konrad, thanks for your answere. Here is a screenshot of my settings. Yes it is possible to sync with other mail apps. I'm using the standard app in cyanogenmod 13. If you need ans further serverdetails i would rather send you a pm. Is this possible in github. Sorry i'm such a noob.. tmp_2888-img_20161101_183936-801183061

Manuelibt commented 8 years ago

To unmark the "geteilte notizbücher" makes no difference, regarding the issue.

konradrenner commented 8 years ago

Do you have a folder "Notes" on your mail Server?

Manuelibt commented 8 years ago

Yes. I created it after the first error message.

konradrenner commented 8 years ago

Are you the admin on this server? Is it possible for you that you create a test account for me?

Can you try if the sync works if you specify "143" for the port?

Manuelibt commented 8 years ago

With 143 for the port the programm is not finding the Notes folder.

Sync failed "java.lang.illegalStateException:korex.mail.FolderNotFoundException: Notes not found"

But the folder is there...

I created a testaccount for you. How can i send you the login data?

konradrenner commented 8 years ago

can you send me a screenshot of your folder hierarchy? my mail address is: koni.renner@gmail.com

konradrenner commented 7 years ago

with version 2.3.2 this problem should be fixed. description of the problem: I don't know why but the described server stores the top level folders with the prefix "INBOX.". I have pushed a fix so that the configuration folder also gets this prefix.

During account creation the root folder must also be specified by the user with the prefix "INBOX.", so in the case of this issue the root folder value must be specified with the value "INBOX.Notes".

kael commented 4 years ago

I'm facing a similar issue with version 4.0.0.

Synchronization seems to fail because it can't find the Notes mailbox, using Kolab or normal notes. I've tested with Notes & INBOX.Notes but it doesn't seem to work.

Could you please add a description of the prerequisites on IMAP side ? How the Notes (and the Configuration) mailbox should be created, considering for example the returned namespace of the Fastmail server is / ?

Also, are there any IMAP METADATA to add to the mailbox, something similar to this ?

konradrenner commented 4 years ago

Hi, first of all, if you are using a "plain IMAP" server, you must disable the "Kolab extensions" and "Shared notebooks" option when creating an account. Depending on your IMAP Server, the Notes folder must be in the root directory or under INBOX (e.g. INBOX/Notes ).

Metadata is automatically checked, if you are enabling the Kolab extensions. So if you are not using a Kolab server, you don't have to add any Metadata.

Please let me know if the information was helpful.

Yours, Konrad