Geary is unable to connect to Yandex mail account
Adding the Yandex.Mail account in Geary is impossible despite entering the right user credentials and the right server-side config. I am able to add Gmail accounts to the app and to add that Yandex account to other apps like Thunderbird. According to the Yandex help site (translated by me), the following options should be selected in the mail application, but such settings are not provided by Geary at all (except the mail server address).
Incoming mail
mail server address — imap.yandex.ru;
security — SSL;
port — 993.
Outgoing mail
mail server address — smtp.yandex.ru;
security — SSL;
port — 465.
Geary version: 3.36.1
Geary revision: tags/3.36.1-0-gcb533f5b
GTK version: 3.24.17
GLib version: 2.64.2
WebKitGTK version: 2.28.0
Desktop environment: GNOME
Distribution name: Arch
Distribution release: rolling
Installation prefix: /usr
Steps to reproduce
- Attempt to add the Yandex Mail account filling the credentials to the GNOME settings or Geary account dialogs.
What happened? Geary is showing an error pop-up showing "Account not created: Check your receiving login and password"
What did I expect to happen: Account is added successfully / additional options are shown
What did you expect Geary to do? Provide all the necessary options for choosing ports and encryption algorithms or add the account automatically.
Relevant logs and/or screenshots
[deb] 13:26:42.0507 GLib-Net:CLIENT[0x5585216a2df0]: claiming operation OP_READ succeeded
[deb] 13:26:42.0507 GLib-Net:CLIENT[0x5585216a2df0]: yielding operation OP_READ
[deb] 13:26:42.0507 GLib-Net:CLIENT[0x5585216a2df0]: successfully read 116 bytes from TLS connection
[deb] 13:26:42.0507 Geary[ALL]: [authorizing] GearyImapClientSession: LOGIN failed: a002 NO [AUTHENTICATIONFAILED] login invalid credentials or IMAP is disabled sc=gQEjGV3asa61_121026_2-d5016c25958c
[deb] 13:26:42.0507 GLib-Net:CLIENT[0x5585216a2df0]: starting to read data from TLS connection
[deb] 13:26:42.0507 GLib-Net:CLIENT[0x5585216a2df0]: claiming operation OP_READ
[deb] 13:26:42.0507 GLib-Net:CLIENT[0x5585216a2df0]: claiming operation OP_READ succeeded
[deb] 13:26:42.0507 GLib-Net:CLIENT[0x5585216a2df0]: yielding operation OP_READ
[deb] 13:26:42.0507 GLib-Net:CLIENT[0x5585216a2df0]: reading data from TLS connection has failed: WOULD_BLOCK
[deb] 13:26:42.0508 Geary[ALL]: [closed] GearyImapClientSession: Disconnected from imap.yandex.ru:993
[deb] 13:26:42.0508 geary:accounts-editor-add-pane.vala:192: Error authenticating IMAP service: Bad credentials: a002 NO [AUTHENTICATIONFAILED] login invalid credentials or IMAP is disabled sc=gQEjGV3asa61_121026_2-d5016c25958c:
[deb] 13:26:42.0512 GLib-Net:CLIENT[0x5585216a2df0]: starting to close the TLS connection
[deb] 13:26:42.0512 GLib-Net:CLIENT[0x5585216a2df0]: claiming operation OP_CLOSE_BOTH
[deb] 13:26:42.0512 GLib-Net:CLIENT[0x5585216a2df0]: claiming operation OP_CLOSE_BOTH succeeded
[deb] 13:26:42.0512 GLib-Net:CLIENT[0x5585216a2df0]: yielding operation OP_CLOSE_BOTH
[deb] 13:26:42.0512 GLib-Net:CLIENT[0x5585216a2df0]: error closing TLS connection: Socket is already closed
[deb] 13:26:46.0900 GLib:posix_spawn avoided (fd close requested) (child_setup specified)