Imap Sync (NO failed SELECT) with Axigen

_ Englsih_
Hello everybody,
I’ve been using the eM Client for about 4 weeks.
Unfortunately I have not yet been able to get the contents of a folder or subfolder from the inbox displayed.
The error that cannot be synchronized always occurs. Unfortunately no error number.
It just stands there
[IMAP] The folder “/ Inbox / Archive” cannot be opened. (NO failed SELECT)

Can someone explain to me why that doesn’t work?

Greetings Stephan

_ Deutsch_
Hallo zusammen,
ich nutzte den eM Client seit ca. 4 Wochen.
Leider ist es mir bisher nicht gelungen das ich Ordner oder Unterordner vom Posteingang einen Inhalt angezeigt bekomme.
Es kommt immer der Fehler das nicht Synchronisiert werden kann. Leider keine Fehler Nummer.
Es steht nur da
[IMAP] Der Ordner “/Posteingang/archiv” kann nicht geöffnet werden. (NO failed SELECT)

Kann mir jemand erklären warum das nicht geht?

Grüße Stephan

Did you try removing the email account from eM Client, then adding it again?

Same problem with Axigen Mail Server 10.3.2.15.0. Removing/Adding account did not help - it made things worse. Now I see all of my subfolders as empty (while they are not).

I don’t recommend anybody upgrade from 7.x to 8.1. Do not make my mistake!

yes, i have do it. No Help.

What version of eM Client are you using Stephan? If it is not the latest, can you update from the Release History. Then remove and re-add the account again.

Also, if you go to Menu > Operations, are there any IMAP errors in the Log tab other than the one you already quoted?

yes, i have do it. No Help.
and
the error message is. NO failed SELECT.
And i have Stop the Firewall and Virusscanner Avria.

Additional info to my next post, which supports my thesis that the \Inbox is only under the INBOX (case-insensitive) folder accessible, and the XLIST response for the INBOX is for display only.

According to RFC 3501, the name INBOX is the only mailbox name explicitly reserved and standardized. It is case-insensitive and always refers to the primary mailbox for a user on an IMAP server. Beyond INBOX, RFC 3501 does not define additional fixed mailbox names, but it does describe attributes such as \Marked and \Unmarked for mailbox states.

Other standardized mailbox names, such as Sent, Trash, Drafts, and Junk, are introduced in later extensions, notably RFC 6154. This RFC defines “special-use” attributes that servers can assign to mailboxes to indicate their purpose. Examples include:

  • \Sent: For sent messages.
  • \Trash: For deleted messages.
  • \Drafts: For draft messages.
  • \Junk: For spam or junk messages.
  • \Archive: For archived messages.

These attributes are optional and depend on server implementation, meaning they are not mandatory under RFC 3501 but are widely adopted for usability across email clients.

I think:

  • \Inbox is always named INBOX (according to RFC 3501) and only accessible via INBOX (case-insensitive)
  • All other XLIST/SPECIAL-USE folders are named as in the response and can also be accessed via them

Hello everyone,

We are currently testing the use of “eM Client” in our company. Our mail server is from “Axigen”.

We also have the error “NO failed SELECT” for all subfolders in the INBOX.

The error occurs when the language for the mailbox is set to something other than English in Axigen.

However, I believe that the error is caused by the “eM Client”.

Axigen supports the XLIST capability and “eM Client” uses XLIST. Here are extracts from the “eM Client” IMAP log:

Axigen/IMAP Language: English → WORKS (eM Client queries INBOX)

01: * OK AXIGEN IMAP4rev1 service is ready
01: A1 CAPABILITY
01: * CAPABILITY IMAP4rev1 CHILDREN IDLE LITERAL+ MULTIAPPEND SPECIAL-USE NAMESPACE UIDPLUS QUOTA XLIST ID STARTTLS LOGINDISABLED AUTH=CRAM-MD5 AUTH=DIGEST-MD5 AUTH=GSSAPI ACL RIGHTS=texkbn UNSELECT ENABLE CONDSTORE QRESYNC
:
01: A12 XLIST "" "*"
01: * XLIST (\HasChildren \Irremovable \Inbox) "/" "INBOX"
01: * XLIST (\HasNoChildren) "/" "INBOX/Test"
:
01: A12 OK LIST completed
:
01: A16 MYRIGHTS "INBOX"
01: A17 MYRIGHTS "INBOX/Test"
:
01: A16 OK MYRIGHTS completed
01: A17 OK MYRIGHTS completed
:
01: A24 STATUS "INBOX" (UNSEEN MESSAGES UIDNEXT UIDVALIDITY HIGHESTMODSEQ)
01: A25 STATUS "INBOX/Test" (UNSEEN MESSAGES UIDNEXT UIDVALIDITY HIGHESTMODSEQ)
:
01: A24 OK STATUS completed
01: A25 OK STATUS completed
:
02: A8 SELECT "INBOX/Test" (CONDSTORE)
02: A8 OK [READ-WRITE] SELECT completed
:

Axigen/IMAP Language: German → FAILED (eM Client queries Posteingang instead of INBOX)

01: * OK AXIGEN IMAP4rev1 service is ready
01: A1 CAPABILITY
01: * CAPABILITY IMAP4rev1 CHILDREN IDLE LITERAL+ MULTIAPPEND SPECIAL-USE NAMESPACE UIDPLUS QUOTA XLIST ID STARTTLS LOGINDISABLED AUTH=CRAM-MD5 AUTH=DIGEST-MD5 AUTH=GSSAPI ACL RIGHTS=texkbn UNSELECT ENABLE CONDSTORE QRESYNC
:
01: A12 XLIST "" "*"
01: * XLIST (\HasChildren \Irremovable \Inbox) "/" "Posteingang"
01: * XLIST (\HasNoChildren) "/" "Posteingang/Test"
:
01: A12 OK LIST completed
:
01: A16 MYRIGHTS "Posteingang"
01: A17 MYRIGHTS "Posteingang/Test"
:
01: A16 NO MYRIGHTS failed
01: A17 NO MYRIGHTS failed
:
01: A24 STATUS "Posteingang" (UNSEEN MESSAGES UIDNEXT UIDVALIDITY HIGHESTMODSEQ)
01: A25 STATUS "Posteingang/Test" (UNSEEN MESSAGES UIDNEXT UIDVALIDITY HIGHESTMODSEQ)
:
01: A24 NO STATUS failed
01: A25 NO STATUS failed
:
02: A8 SELECT "Posteingang/Test" (CONDSTORE)
02: A8 NO failed SELECT
:

In my opinion, the special folder \Inbox in IMAP is always named INBOX regardless of the translation.

A test using telnet with German language setting in Axigen to queries INBOX

MYRIGHTS "INBOX"
MYRIGHTS "INBOX/Test"
OK MYRIGHTS completed
OK MYRIGHTS completed

works.

In my opinion, the correct folder name for querying the inbox of an IMAP server should always be INBOX. What is your opinion?

Is there a way to change the error or the behaviour? For example with a parameter under Account/Diagnostics and Advanced Options (for example: --force-inbox INBOX)?

Unfortunately, there is no way to deactivate the XLIST capability in Axigen.

I hope for support.

Thank you very much
Felix

Hello everyone,

does eM Client read this forum or who can I contact regarding this problem?

Thank you very much.

Best regards
Felix

The error occurs when the language for the mailbox is set to something other than English in Axigen.

However, I believe that the error is caused by the “eM Client”.

Axigen supports the XLIST capability and “eM Client” uses XLIST. Here are extracts from the “eM Client” IMAP log

I would suggest “if you are just testing eM Client within the first 30days trial” with that question, email [email protected] to see if there is any known eM Client issue with Axigen “when using non English as you advised” or if you need to do anything specific to work for non English.

If you are outside of the initial 30 day trial and have just purchased eM Client, then suggest to go to the VIP support page and login and lodge a support ticket for official support.

Yes we read all the topics. The problem here is that Axigen behaves in a way that is against IMAP specification. We are now fully focused on releasing new mobile beta and desktop version 10.3, but after that we’ll post here a detailed explanation what is wrong and we’ll send that to Axigen as well (we’ve already communicated with them in the past). We’ll even consider some workaround for this issue, but as far as we currently know, that would be quite a problem for this specific issue.

Quoting the IMAP specification:

The case-insensitive mailbox name INBOX is a special name reserved to
mean “the primary mailbox for this user on this server”. The
interpretation of all other names is implementation-dependent.

and

The special name INBOX is included in the output from LIST, if
INBOX is supported by this server for this user and if the
uppercase string “INBOX” matches the interpreted reference and
mailbox name arguments with wildcards as described above.

It is never valid for the server to report INBOX under a different name and hence we are not prepared to handle that. The specification is a bit more ambiguous on the subfolders of INBOX but it still needs to logically be nested under the INBOX with the untranslated name.

We may look into doing some workarounds but I would primarily try to contact Axigen and ask them to kindly follow the specification.

I noticed that the original log included XLIST. That was an extension designed by Gmail that was deprecated for many years and replaced by a standardized SPECIAL-USE extension in RFC 6154 (RFC 6154 - IMAP LIST Extension for Special-Use Mailboxes).

The extension description is no longer available. It allowed returning non-standard names of INBOX but servers that implemented it also interpreted both the standard and non-standard names in all commands. Axigen apparently doesn’t do that.

Perhaps it’s possible to disable the XLIST extension on the server and it will report the correct information as part of the standard LIST command. It should also be possible to put --disable-imap-capability XLIST into the “Advanced Parameters” in the account settings in eM Client.

1 Like