There used to be a problem syncing home.pl accounts (issue #967), which was solved. However, I encountered another error last week. I tried to send an e-mail from my account using a slightly unstable network connection. The mail spent over an hour in the Draft folder and Mailspring kept showing the “Sending message” indicator, and couldn’t synchronize the account, and same thing happened if I restarted the app. I decided to remove the account and add it again, since it had sometimes helped with some issues in the past. However, now I’m unable to add the account at all - I get the Parsing error (IMAP) message. I’m using Mailspring 1.7.2-5422b259 on Fedora 31. Log attached below. Interesting fact: I can add the account without any hiccups to Thunderbird and Evolution, and I can add it to Geary, but there it fails to sync.
----------IMAP----------
* OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN] Dovecot ready.
1 LOGIN "leszek@dziubek.biz.pl" *********
1 OK [CAPABILITY IMAP4rev1 LITERAL+ CHILDREN I18NLEVEL=1 IDLE SORT SORT=DISPLAY UIDPLUS UNSELECT QUOTA MOVE WITHIN LIST-EXTENDED LIST-STATUS SPECIAL-USE XLIST STARTTLS] Completed
2 LIST "" ""
* LIST (\Noselect) "." ""
2 OK Completed
3 XLIST "" "*"
* XLIST (\HasNoChildren \) "." "Argos"
* XLIST (\HasNoChildren \Draft) "." "DRAFTS"
* XLIST (\HasNoChildren \) "." "Euron"
* XLIST (\HasNoChildren \) "." "Gambit"
* XLIST (\HasNoChildren \Inbox) "." "INBOX"
* XLIST (\HasNoChildren \) "." "Inne"
* XLIST (\HasNoChildren \) "." "Ksi&ARk-gowo&AVsBBw-"
* XLIST (\HasNoChildren \) "." "Lionbridge"
* XLIST (\HasNoChildren \) "." "Locaria"
* XLIST (\HasNoChildren \) "." "Proz"
* XLIST (\HasNoChildren \) "." "SDL"
* XLIST (\HasNoChildren \Sent) "." "SENT"
* XLIST (\HasNoChildren \Spam) "." "SPAM"
* XLIST (\HasNoChildren \) "." "Sopoltrad"
* XLIST (\HasNoChildren \Trash) "." "TRASH"
* XLIST (\HasNoChildren \) "." "Test"
* XLIST (\HasNoChildren \) "." "confirmed-ham"
* XLIST (\HasNoChildren \) "." "confirmed-spam"
3 OK Completed
XLIST (\HasNoChildren \) "." "Argos"
I’m not sure if this will be of any help, but I’ll also attach logs from Geary:
Account identifier: account_01
Account provider: GEARY_SERVICE_PROVIDER_OTHER
Service type: GEARY_PROTOCOL_IMAP
Service host: serwer1913971.home.pl
Error type: GearyImapError 2
Message: a003 xlist: Connection channels closed
Back trace:
* unknown
* unknown
* unknown
* unknown
* g_closure_invoke
* g_signal_handler_disconnect
* g_signal_emit_valist
* g_signal_emit
* unknown
* g_subprocess_communicate_utf8
* g_task_attach_source
* unknown
* g_subprocess_communicate_utf8
* g_task_attach_source
* unknown
* g_subprocess_communicate_utf8
* g_task_attach_source
* unknown
* g_subprocess_communicate_utf8
* g_task_attach_source
* unknown
* g_subprocess_communicate_utf8
* g_task_attach_source
* unknown
* g_subprocess_communicate_utf8
* g_task_attach_source
* unknown
* g_subprocess_communicate_utf8
* g_task_attach_source
* unknown
* g_subprocess_communicate_utf8
* g_task_attach_source
* unknown
* g_subprocess_communicate_utf8
* g_task_attach_source
* unknown
* unknown
* g_list_sort_with_data
* g_main_context_dispatch
* g_main_context_dispatch
* g_main_context_iteration
* g_application_run
* unknown
* __libc_start_main
* unknown
(Originally posted by ldziubek on GitHub.)