#2898 new
Kerr Bowm

Tags are rejected by the IMAP Server

Reported by Kerr Bowm | September 15th, 2021 @ 10:58 PM

If I tag an email (associated with an iCloud IMAP account) MailMate (VERSION 1.13.2 (5673) will come back with a message of ....

IMAP problem for "iCloud" account
MailMate encountered the following error: "server response: "H8 BAD Parse Error (took 0ms)".".
Maibox: INBOX",

Then gives the option to:
RETRY - TAKE ACCOUNT OFFLINE - CANCEL FLAG CHANGES

Doesn't occur when I tag emails associated with an GMAIL account.
Thanks for the help

Comments and changes to this ticket

  • Daniel B

    Daniel B September 29th, 2021 @ 06:54 PM

    I have this same issue. I was assuming it was because iCloud doesn't support tags (right?) but I see I'd previously succeeded in adding tags to some messages so now I'm not so sure.

    I am using Version 1.14 (5820).

  • Kerr Bowm

    Kerr Bowm September 29th, 2021 @ 07:34 PM

    Yes, I too have some iCloud emails that are tagged with MailMate but most times it balks at the process. It's inconsistent. Sometimes it won't allow any tags. Sometimes just one. Othertimes, it will allow one or two tags but then if I add another it will hold the tag there for 5 seconds and then delete it BUT it still holds the first or two tags. I can't see any rhyme or reason to the process. I've even deleted the tags I have installed in MailMate and then rebuilt with new tags -- nope, didn't change the problem.

  • Daniel B

    Daniel B September 29th, 2021 @ 09:12 PM

    I have witness this "disappearing tag" behavior before on other servers but didn't have the time to run it down. It didn't occur to me to pay attention to which accounts it happened to. Certainly either gmail or outlook, possibly both. Generally if I just add the same tag again that fixes it, though, whereas on iCloud I get these errors. I suspect there is more than 1 issue.

  • benny

    benny September 30th, 2021 @ 03:39 PM

    We can at least investigate what happens with the BAD error. At least to see if MailMate is to blame. I'd prefer if this was done with the latest test release of MailMate which is currently this one: r5831.

    Do as follows:

    • Open the Activity Viewer (see the Window menu).
    • Relaunch MailMate (this is to make sure I also get the logs of MailMate connecting to the mailbox).
    • Trigger the error message at least once.
    • Use “Help > Send Server Logs”.

    Then I'll see if MailMate does anything wrong when setting the tag.

    In general, not all IMAP servers work well with IMAP keywords and they some times have some kind of limit on the maximum number of IMAP keywords to be used (but MailMate has no way of knowing this number). Gmail should work fine though as far as I know.

  • Sabnam Khan

    Sabnam Khan September 30th, 2021 @ 05:18 PM

    Also great site here with all of the Valuable information which you have. Keep up the good work you are doing here.
    https://www.jaipurescorts.org/

  • Sabnam Khan

    Sabnam Khan September 30th, 2021 @ 05:19 PM

    Thank you so much for sharing valuable Info! I was looking something just like this for my own project! I am quite thankful I came across to your site.
    https://www.jaipurescorts.org/khatipura-call-girls-escorts-services...

  • Sabnam Khan

    Sabnam Khan September 30th, 2021 @ 05:19 PM

    This is definitely a fantastic article. You make This information interesting and engaging with your viewers. I really appreciate your kindness in sharing such amazing article like this.
    https://www.juhioberoi.com

  • Sabnam Khan

    Sabnam Khan September 30th, 2021 @ 05:19 PM

    A lot of useful information here. I am Sending it to several palsies and additionally sharing in yummy. And of course, thanks to your own effort!
    https://www.callgirlsgoa.com

  • Sabnam Khan

    Sabnam Khan September 30th, 2021 @ 05:20 PM

    Thanks for sharing such a good Information, Thank you for giving us so much. What if you visit our site there also many things you can understand
    https://www.callgirlsinudaipur.co.in

  • Kerr Bowm

    Kerr Bowm September 30th, 2021 @ 10:28 PM

    Benny, I updated to r5831. Went through the steps you asked and sent the log in ( with part of this conversation added so you had context ). In short, the new version (r5831) is not throwing up the iMap error message mentioned before BUT the tags still keep disappearing on iCloud messages. I realize this could be a statement on how iCloud IMAP is set up, but, it's a feature (tagging icloud messages through MailMate) that has worked for me for a long time until now. Will be curious.
    Thanks for your time.

  • benny

    benny October 1st, 2021 @ 06:57 AM

    Here's example output from Kerry. The first line tells me that the server does allow custom flags (that's the meaning of \*). The next lines show that MailMate attempts to enable test. Because of buggy servers MailMate also checks if the action really worked and this actually fails. The end result is that MailMate disables the flag locally. It could work differently, but it doesn't change the fact that the server seems to be the problem.

    22:04:58 S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \Recent $MailFlagBit0 $MailFlagBit1 $MailFlagBit2 $Forwarded Redirected $NotJunk NotJunk \*)]  
    ...
    22:05:32 Storing flags (enable: 'test', disable: '')  
    22:05:32 C: H16 UID STORE 232328 +FLAGS.SILENT (test)  
    22:05:33 S: H16 OK STORE completed (took 569 ms)  
    22:05:33 C: H17 UID FETCH 232328 (FLAGS)  
    22:05:33 S: * 574 FETCH (UID 232328 MODSEQ (435042146229036) FLAGS (\Seen $NotJunk))  
    22:05:33 S: H17 OK FETCH completed (took 55 ms)  
    22:05:33 Warning: Flags not as expected. Rechecking after NOOP (workaround for buggy servers).  
    22:05:33 C: H18 NOOP  
    22:05:33 S: H18 OK NOOP completed (took 111 ms)  
    22:05:33 C: H19 UID FETCH 232328 (FLAGS)  
    22:05:33 S: * 574 FETCH (UID 232328 MODSEQ (435042146229036) FLAGS (\Seen $NotJunk))  
    22:05:33 S: H19 OK FETCH completed (took 38 ms)  
    22:05:33 Warning: Flags not as expected. Rechecking after NOOP (workaround for buggy servers).  
    22:05:33 C: H20 NOOP  
    22:05:33 S: H20 OK NOOP completed (took 22 ms)
    
  • benny

    benny October 1st, 2021 @ 07:02 AM

    Here's example output from Daniel:

    19:02:29 Storing flags (enable: 'ComputerStuff/Apple', disable: '')
    19:02:29 C: H8 UID STORE 4 +FLAGS.SILENT (ComputerStuff/Apple)
    19:02:29 S: H8 BAD Parse Error (took 0 ms)
    19:02:29 Error: Server response: “H8 BAD Parse Error (took 0 ms)”.
    

    This is a different issue most likely related to the use of / in the IMAP keyword. I've checked the standard and this character should, as far as I can see, be allowed in IMAP keywords which means that this is a server bug. Note that the Tag name in MailMate and the actual IMAP keyword do not have to be the same. You can change the mapping in the Tags preferences pane of MailMate.

  • benny

    benny October 1st, 2021 @ 07:03 AM

    • State changed from “new” to “closed”

    I'm going to close the ticket, but if there's anything you would like me to look into or consider trying as a workaround then let me know (no promises).

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Pages