• SolvedFixed
  • IMAP broken again for specific client application

Hello,
since the update a few days ago IMAP is broken again for a specific client application. It is not able to retrieve or store emails. I disabled encryption and and was able to capture the communication with WireShark, this it what it looks like. At some point the server just sends a packet without payland and doesn't respond to the request:

C: (no payload)
S: (no payload)
C: (no payload)
S: * OK [CAPABILITY IMAP4rev1 XLIST SPECIAL-USE UNSELECT UIDPLUS IDLE AUTH=LOGIN LITERAL+ LITERAL-] Service ready
C: 0001 CAPABILITY
S: * CAPABILITY IMAP4rev1 XLIST SPECIAL-USE UNSELECT UIDPLUS IDLE AUTH=LOGIN LITERAL+ LITERAL-
   0001 OK CAPABILITY completed
C: 0002 LOGIN mail@domain.tld password
S: 0002 OK logged in
C: 0003 CAPABILITY
S: * CAPABILITY IMAP4rev1 XLIST SPECIAL-USE UNSELECT UIDPLUS IDLE AUTH=LOGIN LITERAL+ LITERAL-
   0003 OK CAPABILITY completed
C: 0004 LIST "" "*"
S: * LIST (\HasNoChildren) "/" "INBOX"
   * LIST (\HasChildren) "/" "Gel&APY-schte Elemente"
   * LIST (\HasNoChildren) "/" "Gel&APY-schte Elemente/Archiv 2021"
     (...)
   0004 OK LIST completed
C: 0005 SELECT INBOX
S: * 25 EXISTS
   * 12 RECENT
   * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
   * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft)] limited
   * OK [UNSEEN 25] message 25 is first unseen
   * OK [UIDVALIDITY 13] UIDs valid
   * OK [UIDNEXT 2235] predicted next UID
   * LIST () "/" "INBOX"
   0005 OK [READ-WRITE] SELECT completed
C: 0006 STATUS INBOX (UNSEEN)
S: (no payload)

I don't know what's going wrong here. I tried Thunderbird as another IMAP client, it works fine.
Best regards,
Stefan

    mwilliams
    It's broken on:
    gromox_2.17.122.6a37e39-1+37.1_amd64
    gromox_2.17.125.2ea1677-1+42.1_amd64
    I reverted back to this version and it works again:
    gromox_2.17.52.22905e7-1+23.1_amd64
    Not sure how many there versions have been in between, but these are the ones I tested.

      stefan_o
      Can confirm that imap is broken since 2.18 release (also 2.18-29-gc0e36e279) on Mailstore Archiv Software (Login is ok - then gets stuck on reading folder items
      Thunderbird works well with imap

      rg
      Christian

      @externa1
      @stefan_o

      No logs, no help. imaptests run with all green lights, that does not mean there might not still be an issue (as mentioned thunderbird works well, alpine, macOS and even outlook IMAP too (not that anyone wants mac or OL on IMAP). Providing some more information from your side is strongly encouraged if you expect any help.

      mwilliams
      No, all I did is a regular system update with apt. I would have expected (as all other packages do) that if there is something else that has to be done, that I get a prompt for that.

      If you have IMAP problems, try to add two settings to /etc/gromox/imap.cfg:

      context_num = 500
      context_max_mem = 4M

      And restart IMAP: systemctl restart gromox-imap

      Yes, works again. The mmv command did not change anything, that was not the issue, I also did not change anything in the configuration.

      jengelh locked the discussion .

      © 2020-2024 grommunio GmbH. All rights reserved. | https://grommunio.com | Data Protection | Legal notice