I added an 126.com email account in Geary, The connection is OK, but after listing remote folders, It fails to open any remote folder, thus can’t get any emails,
I’ve tried mbsync/openssl s_client connect and got similar response, The error I get is:
a select INBOX
a NO SELECT Unsafe Login. Please contact kefu@188.com for help
So after some investigation, I found this Faq page on Netease:
It seems they have implemented the RFC2971 IMAP4 ID extension standard, thus If the client didn’t provide a proper client id, It’s seen as unsafe.I wonder If this is the problem with Geary as well,because I can’t find similar error message in the log, but the log does show remote-opened=false
[deb] 21:30:34.0881 geary:imap-folder-properties.vala:187: GearyImapEngineOtherFolder(>INBOX, open_count=0, remote_opened=false) FolderProperties changed: STATUS=11 other.STATUS=2 diff=9
any idea if it’s the same problem?
Or how to diagnose this, I can’t find server error messages in logs!
fedelibre
(Federico Bruni)
October 3, 2025, 3:14pm
3
You can see some debug output if you launch it with the following options:
geary --debug --log-imap
I guess you’ve opened this issue:
Bug Summary I added an 126.com email account in Geary, The connection is OK, but after listing remote folders, It fails to open any remote...
thanks, I got some log messages, Still no server errors though:
[deb] 13:56:22.0430 Geary.Imap.Net: [account_02] [imap] [authorized] [0000/imap.126.com:993/up] GearyImapClientConnection: RECV: * STATUS “INBOX” (MESSAGES 11 RECENT 0 UIDVALIDITY 1 UNSEEN 0)
[deb] 13:56:22.0430 Geary.Imap.net: [account_02] [imap] [authorized] [0000/imap.126.com:993/up] GearyImapClientConnection: RECV: a006 OK STATUS completed
[deb] 13:56:22.0430 Geary.Imap.Net: [account_02] [imap] [selecting] [0000/imap.126.com:993/up] GearyImapClientConnection: SEND: a007 select INBOX
[deb] 13:56:22.0448 GLib-GIO:GSocketClient: TLS handshake succeeded
[deb] 13:56:22.0448 GLib-GIO:GSocketClient: Connection successful!
[deb] 13:56:22.0449 Geary.Imap: [account_02] [imap] [connecting] GearyImapClientSession: Connected to imap.126.com:993
[deb] 13:56:22.0453 Geary.Imap.Net: [account_02] [imap] [authorized] [0001/imap.126.com:993/up] GearyImapClientConnection: RECV: * STATUS “qirenlong1@126.com” (MESSAGES 7 RECENT 0 UIDVALIDITY 8968461 UNSEEN 0)
[deb] 13:56:22.0453 Geary.Imap.Net: [account_02] [imap] [authorized] [0001/imap.126.com:993/up] GearyImapClientConnection: RECV: a006 OK STATUS completed
[deb] 13:56:22.0453 Geary.Imap.Net: [account_02] [imap] [authorized] [0001/imap.126.com:993/up] GearyImapClientConnection: RECV: * STATUS “&g0l6P3ux-” (MESSAGES 1 RECENT 0 UIDVALIDITY 2 UNSEEN 0)
[deb] 13:56:22.0453 Geary.Imap.Net: [account_02] [imap] [authorized] [0001/imap.126.com:993/up] GearyImapClientConnection: RECV: a007 OK STATUS completed
I don’t know if these two highlighted logs are corresponding though, doesn’t look right to me
Yes, that issue was me
system
(system)
Closed
November 18, 2025, 6:59am
5
This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.