Author Topic: IMAP messages not deleted but marked as read (used to work)  (Read 20453 times)

XabiX

  • Newbie
  • *
  • Posts: 18
Re: IMAP messages not deleted but marked as read (used to work)
« Reply #15 on: February 23, 2016, 05:49:33 pm »
No I am not. Zimbra doesn't offer this level of customization (or at least in our installed setup).

For Now I let the outlook aside as this works well, and I am trying to see why the Zimbra Trash folder doesn't get mapped with the folders listed in AquaMail. Hopefully the log can help.

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: IMAP messages not deleted but marked as read (used to work)
« Reply #16 on: February 23, 2016, 08:05:17 pm »
Thank you StR, very useful.

You might be right about ActiveSync in Outlook -- and then the only other reference point we have is web mail, which may not be using any mail protocol but dealing directly with the account's mail database.

Hi StR,

For completeness I have posted my Outlook config but from my understanding my outlook works fine and I have "Deleted Items" sync with IMAP server Trash folder and all is fine. What I need to "solve" is the mapping between AquaMail and my IMAP server that is from Oracle stbeehive. Settings are from: https://beehiveonline.oracle.com/External_02.html

Find enclosed the outook settings fyi together with the AquaMail ones

XabiX:

Yes, we understand that your Outlook is working properly, and we are not trying to change anything in it. Rather, we are using all available information to find the reason why your Aquamail is not working. And your Outlook is one of the points of reference.

The information you posted is helpful.
First, from your Outlook settings, Outlook is not connecting to your server via IMAP, but rather via MAPI, which is an old MS protocol (I believe Exchange Web Services, aka EWS protocol was developed as a replacement for MAPI, but I have very limited knowledge of MS mail protocols, as I've never worked with them myself.

Second, - based on what you wrote, it looks like the server-side folder is indeed called "Trash". So, we now know that we are looking for that.

Third, let me guess, - for Zimbra interface, you are also using Oracle-based URL? Something like https://beehiveonline.oracle.com/zimbra , right? That tells us that Zimbra is using internal database and is not a point of reference for IMAP connection.

I didn't have a chance to look at the log file you posted. If I'll have time, I'll do that, - but in any case, Kostya should be able to see what's happening in that log.

In the mean time, please do, what Paris Geek suggested:
In Account options->Options and folders->Account options, enable "Display Other folders" (Montrer "Autres dossiers...")

Then, in Account list, tap on "Autres dossiers...." ("Other folders...") and post what you see there. Do you see "Trash" in the list?
Alternatively, you get the same list by going to "other folders" from the pull-down "drawer" in the left-top corner, and tell us if you see "Trash" on that list.


StR

  • Hero Member
  • *****
  • Posts: 1558
Re: IMAP messages not deleted but marked as read (used to work)
« Reply #17 on: February 23, 2016, 08:25:47 pm »
From the logs it looks like the server offers "Trash" folder. So, you should see it in the list when looking at "Other Folders", as described above.

Besides, - I just revisited the screenshots of your folders in Aquamail, and I didn't see "[Deleted]" folder there. It's possible that it was somewhere outside of what you captured with your screenshots. So, just in case, - do you see it?

XabiX

  • Newbie
  • *
  • Posts: 18
Re: IMAP messages not deleted but marked as read (used to work)
« Reply #18 on: February 24, 2016, 03:52:09 pm »
Hi StR,

1/ As it seems you don't believe that there is no Trash, Deleted, Supprimé or whatever other folder listed in AquaMail here are all the captures of my folders.

2/ The webmail link is https://stbeehive.oracle.com/zimbra/ [nofollow]

3/ From
In Account options->Options and folders->Account options, enable "Display Other folders" (Montrer "Autres dossiers...")
Then, in Account list, tap on "Autres dossiers...." ("Other folders...") and post what you see there. Do you see "Trash" in the list?
I tried that and refresh and no other folder is appearing in the Account options menu. I also checked from the pull down drawer and I get the exact same list plus a local "[Deleted]" folder which is the AquaMail one not sync/map as I can't find any folder to map it with.

Hope it helps, hopefully the log would help :D

Thanks
XabiX
« Last Edit: February 24, 2016, 04:01:00 pm by XabiX »

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: IMAP messages not deleted but marked as read (used to work)
« Reply #19 on: February 24, 2016, 11:25:51 pm »
XabiX, yes both Paris Geek and I wanted to make sure that you are looking in the right place when you are saying there is no Trash folder.
It is not about you personally; it's just the complexity of the app functionality and options that can lead to a confusion and miscommunication. And knowing how technically savvy you might be, it is hard to guess.
(And as an excuse, let me mention that you did mix up MAPI and IMAP...)

Anyway, yes, the Trash folder doesn't show up, and I don't know why.
The log you posted does show that the server reports Trash. So, let's wait for Kostya to look at what is happening...
(I am not sure what "Dead folder" means in this log, it could be some function name/attribute or it might carry some important meaning in this case.)

XabiX

  • Newbie
  • *
  • Posts: 18
Re: IMAP messages not deleted but marked as read (used to work)
« Reply #20 on: February 24, 2016, 11:51:26 pm »
Thank you so much for all your hard work and active support.

Should we 'ping' Kostya to make him aware of the issue, meaning that we believe there could something wrong happening between the IMAP server and AquaMail as per the log and your analysis too?

Thanks

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: IMAP messages not deleted but marked as read (used to work)
« Reply #21 on: February 25, 2016, 12:02:33 am »
Thank you so much for all your hard work and active support.

Should we 'ping' Kostya to make him aware of the issue, meaning that we believe there could something wrong happening between the IMAP server and AquaMail as per the log and your analysis too?

Thanks
Hi XabiX,
I'm pretty sure that Kostya is aware of this issue... and maybe already working on it  8)
Therefore it shouldn't be necessary to 'ping' him.

XabiX

  • Newbie
  • *
  • Posts: 18
Re: IMAP messages not deleted but marked as read (used to work)
« Reply #22 on: February 25, 2016, 12:48:00 am »
Thank You then I will wait !

Like your avatar by the way!

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: IMAP messages not deleted but marked as read (used to work)
« Reply #23 on: February 25, 2016, 12:50:46 am »
Like your avatar by the way!
Thanks 8) 8)

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: IMAP messages not deleted but marked as read (used to work)
« Reply #24 on: February 25, 2016, 04:13:31 pm »
This is the folder list returned by the server.

Call me blind, but I don't see anything like "Trash" or "Deleted" or "Bin" or "Deleted Items" here.

2016.02.23 15:04:24.659 +0100   [IMAP.251525]   Sending: kman52 LIST "" "*"
2016.02.23 15:04:24.907 +0100   [IMAP_RAW.251525]   Data is <1315>:
* LIST () "/" "Drafts"
* LIST () "/" "INBOX"
* LIST () "/" "INBOX/A&-C"
* LIST () "/" "INBOX/Active VARs"
[ ... redacted ... ]
* LIST () "/" "INBOX/Admin"
* LIST () "/" "INBOX/Other VARs"
[ ... redacted ... ]
* LIST () "/" "INBOX/People"
* LIST () "/" "INBOX/Products"
* LIST () "/" "Journal Archive"
* LIST () "/" "Junk E-mail"
* LIST () "/" "Notes"
* LIST () "/" "Oracle"
* LIST () "/" "RSS Feeds"
* LIST () "/" "Sent Items"
* LIST () "/" "Unwanted"
kman52 OK LIST completed


Now if you used K9 Mail, it would create a folder called Trash -- which I think is the wrong thing to do, because then you'd get "my Trash folder is out of sync wrt. Outlook and web mail".

If you can't get your admins to fix this for you -- it's entirely possible to create a folder for AquaMail's use as Trash, in web mail or in the app. It won't be the same folder as in Outlook or web mail, though.

Oh, and the command:

LIST "" "*"


means "give me all the folders you've got", there is no filtering or anything.

And as you can see, the server did report "Sent Items" and "Drafts" just fine.
« Last Edit: February 25, 2016, 06:01:06 pm by Kostya Vasilyev, Aqua Mail »
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: IMAP messages not deleted but marked as read (used to work)
« Reply #25 on: February 25, 2016, 04:16:49 pm »
And this:

Dead folder: [Trash id = 7 type = 4097

means that at some point, the server did report a folder called Trash and the app remembered -- but at this time, it's not present on (reported by) the server.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: IMAP messages not deleted but marked as read (used to work)
« Reply #26 on: February 25, 2016, 07:31:53 pm »
And this:

Dead folder: [Trash id = 7 type = 4097

means that at some point, the server did report a folder called Trash and the app remembered -- but at this time, it's not present on (reported by) the server.

Kostya,
I see...
Let me propose  a guess here:
XabiX wrote earlier that while testing he tried to create folders "Trash" and "Deleted items" (in Outlook and Zimbra, respectively). So, I suspect that Aquamail had caught that moment when "Trash" existed, - and cached it, and now "reporting" it. (Along with a few other deleted folders, inlcuding "test", "Sent", and a bunch of folders inside INBOX/Active VARs .



@Xabix:
One more wild guess: I see the folder "Unwanted Items".
Did you create that item yourself?
Could that be the internal name of the "Trash"?
Does "Unwanted Items" show in Outlook and Zimbra as a separate folder?

If it does not, - you can try choosing that folder to "sync to [Deleted]" in Aquamail, and then see
if by any chance deleting message in Aquamail (I assume you have "delete" function configured as "Move to [Deleted]".) would result in that deleted message showing in "Deleted items" in Outlook or in "Trash" in Zimbra.

Rather than this (very unlikely case), - as Kostya suggested, you should talk to your admins, asking how to make the server-side "Trash"  folder visible via IMAP interface.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: IMAP messages not deleted but marked as read (used to work)
« Reply #27 on: February 25, 2016, 11:04:20 pm »
Re: So, I suspect that Aquamail had caught that moment when "Trash" existed, - and cached it

Yes, this is possible. But now there is no Trash on the server.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: IMAP messages not deleted but marked as read (used to work)
« Reply #28 on: February 25, 2016, 11:19:36 pm »
Quote
Probably there but not visible. There should be a way, on the server, to make Trash visible in IMAP mode. I think that we all agree on that.

There is no such thing -- there simply is no such folder, as far as IMAP goes, as evidenced by the debug log excerpt, above.

Maybe there is a setting in this web mail, just like there is in Gmail web mail, for "show over IMAP or not".

Just a terminology nitpick.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

XabiX

  • Newbie
  • *
  • Posts: 18
Re: IMAP messages not deleted but marked as read (used to work)
« Reply #29 on: March 09, 2016, 04:13:42 pm »
Hi guys,

Sorry for the late response, as I was on holidays :)

You guys are right, I did try creating manually a Trash folder which explains why AquaMail could remember it. Unfortunately my company and admins will not change anything for me and no options as such are provided through my webmail access!

I re-activated my Email app from my Samsung phone and deleted/moved messages and it worked. They are sent to a new created Trash folder. Wich is fine and therefore I have reuse this one to sync AquaMail with this Trash folder ("Move to [Deleted]") but the issue is:

if I delete an email from Email app it gets DELETED and moved to Trash folder but if I delete it with AquaMail it doesn't dissapear it gets strikethrought (see screenshot)

My big issue with AquaMail is that whether I delete or move emails on my company email account they don't move on the server (and outlook) and they all stay strikethrought so I have to do things twice (phone and then PC) while it doesn't happen with Email app.

Attached a log when I delete an email called "Test 3" from AquaMail to see if an issue can be spotted or a configuration mismatch.

MERCI
XabiX