AquaMail Forum
English - Android => How do I... => Topic started by: cburghardt on September 16, 2015, 03:11:42 pm
-
I have been using K-9 for several years and wanted to give Aquamail a try.
I just purchased the pro version but I am currently unable to use it with my imap account.
I have adopted the settings that the sent and trash folder are synchronized with the local folders of the app ([sent] and [trash]).
I have also defined that deleted mails are marked as read.
Now I receive a new email, read it and then delete it. Then the following happens: first the email is deleted and removed from the inbox, then the sync bar appears and then the email shows up again as unread in my inbox. When I sync the inbox again manually the email disappears again.
Either I have a totally wrong understanding of how it should work or this is a bug. I assume this is because the deleted email is sychronized from the trash folder.
What can I do to fix this?
-
It is a standard imap server (zarafa) which is working fine with lots of other MUAs.
Wifi or G3 does not matter and it happens with all emails.
When I disable the sync of the trash folder this problem does not occur.
-
I recommend to check if there is second "trash" folder in the folder list:
>go to the main window (Account list view) >long press on Account name > Options and folders > Folders > search for a second trash folder (e.g. "Deleted items") > Sync this folder instead of" Trash " with [Deleted] folder.
-
Sounds like the app moving the message into the Deleted folder is failing.
Please check the Deleted folder's mapping as described by @mikeone.
PS - K9 Mail (at least during initial setup) uses server side name "Trash" and if it's missing it will create it for you.
AquaMail looks for server "hints" about the actual name of the "deleted" folder, but this detection may fail. That's why I'm asking you to check the mapping.
PPS -- and a "mapping" it is. The "special" folders (Sent / Drafts / Deleted) are always called that in the app's UI (with square brackets) but are mapped to server folders that may have different names.
-
When I disable the sync of the trash folder this problem does not occur.
The clue might be in that phrase.
So, what actually happens, if you "disable the sync of the trash folder"?
What happens to the messages that you delete in that case?
And two questions:
1. When you say "delete it" in your original description of the situation,- how do you have "delete" defined: (1) "move to Deleted folder first" (2) "Delete from the server immediately" (3) "Hide in the app, keep on the server"?
(You find this setting by long press on the account in the account list view -> Options and Folders -> Account options -> Deleting messages)
[And you can also choose any of these actions when you are deleting, - the two that are not set as "default" are in the menu of actions]
I suspect it is (2), but it would be nice to know for sure.
2. What folder do you have designated as "Trash"?
Are you sure that's the one that is designated for the deleted messages by the server?
-
I actually have the feeling that either the location/namespace oder the name of the trash might be causing that issue.
It is "Gelöschte Objekte" directly in the root so not below INBOX.
I already checked with other clients and it is the only folder for deleted emails so there is no "trash" or whatever folder.
And yes, the email is correctly moved to my trash folder so the sync works. But it still shows up initially in my inbox as a new unread email.
I am using the default delete option so "move to deleted folder"
-
@StR
When I don't enable the sync the deleted email appears in the local trash folder and does not show up as unread in my inbox. So normal behaviour but that does not help me because I want to have deleted emails in the trash on my server.
-
"And yes, the email is correctly moved to my trash folder so the sync works. But it still shows up initially in my inbox as a new unread email."
There is a contradiction here -- my brain stumbled at the "initially" -- did you really mean "afterwards" (a message moved to Deleted later shows back in Inbox?)
Namespaces:
Does your server have an automatic namespace, which perhaps only makes available only folders below the INBOX?
Anyway, it's not going too well, let's move to next stage. Please capture the issue in the app's debug log.
After enabling logging with "raw data", please do this:
- Bring up options and folders -> folders, let it refresh
- Set your server side folder to sync with [ Deleted ] (if not already done so earlier)
- Back out, move a message to deleted, let it complete
- Refresh the inbox (which I understand will resurrect the message there)
For info on how to enable logging and where and how to send the log file, see my signature below.
-
@StR
When I don't enable the sync the deleted email appears in the local trash folder and does not show up as unread in my inbox. So normal behaviour but that does not help me because I want to have deleted emails in the trash on my server.
Kostya is right, - the log is likely to provide the information that would allow to nail the reason for your problem.
My guess is that for whatever reason, you don't have the permission to write to the "Gelöschte Objekte" folder on the server. (There could be a lock stuck due to a different program accessing it, corrupted file, nonexisting file (e.g. if it is a soft-link to a non-existing file on the server)).
Then, during the sync, when the server is unable to move the file to "Gelöschte Objekte", it keeps it in the Inbox without changing its attributes.
I just tested this scenario, and it showed exactly the same symptoms.
On the server, I removed "w"rite permission from the file to which [Deleted] is mapped/synced, and then I moved the message to [Deleted]. After the account sync, the message reappeared in the Inbox in the state it during the previous sync.
-
OK I have provided the debug log. However the strange thing is that all other clients are able to use that trash folder.
-
>> - Bring up options and folders -> folders, let it refresh
Kostya, I am not clear how to "let it refresh".
How can you trigger to refresh the folder list or does this happens automatically?
-
Yes, it happens automatically, by "let it ..." I meant "give it time to finish".
PS - it's a server bug (but of course not everyone is going to agree).