Skip to content

Evolution Data Server disabled accounts status not taken into account, causes endless connection attempts #1018

@nekohayo

Description

@nekohayo

What Happened?

Out of curiosity I wanted to try out elementary Mail to compare it with Geary, so on Fedora 41 I simply dnf install elementary-mail (which provided me with version 8.0.0) and ran it.

That's where I noticed that it does not seem to respect EDS' mail accounts enabled/disabled status:

  • It showed all my email accounts in Mail's sidebar
  • It seems it tried establishing a connection to all of them, and as some of them had not been used in years or had expired credentials, it kept prompting me with EDS' username/password prompt credentials request dialog

Steps to Reproduce

  1. Using Evolution's GUI, disable one of your email accounts (without deleting it), either by using the Preferences dialog's "Mail Accounts" section or by using the corresponding menu action when right-clicking the account in the sidebar (as shown below):
    Image

  2. Run io.elementary.mail

Expected Behavior

I don't know if you'd like to provide the ability for Mail itself to enable/disable accounts (without deleting them) in its account management UI, but if EDS had some disabled accounts already then that should probably be honored; in a situation like mine, I essentially had to force-quit the Mail app immediately after startup.

OS Version

Other Linux

Session Type

Secure Session (Wayland)

Software Version

Latest release (I have run all updates)

Log Output

$ io.elementary.mail 

(io.elementary.mail:3392117): camel-WARNING **: 18:00:49.134: CamelIMAPXStore::get_folder_info_sync() reported failure without setting its GError
(io.elementary.mail:3392117): camel-WARNING **: 18:00:49.713: CamelIMAPXStore::get_folder_info_sync() reported failure without setting its GError
(io.elementary.mail:3392117): camel-WARNING **: 18:00:49.979: CamelIMAPXStore::get_folder_info_sync() reported failure without setting its GError
(io.elementary.mail:3392117): camel-CRITICAL **: 18:00:51.473: camel_session_trust_prompt: assertion 'class->trust_prompt != NULL' failed
** (io.elementary.mail:3392117): WARNING **: 18:00:51.482: GroupedFolderSourceItem.vala:102: Unable to fetch INBOX of account 'IBPSA': Failed to get capabilities: Unacceptable TLS certificate
(io.elementary.mail:3392117): camel-CRITICAL **: 18:00:51.674: camel_session_trust_prompt: assertion 'class->trust_prompt != NULL' failed
** (io.elementary.mail:3392117): WARNING **: 18:00:51.680: GroupedFolderSourceItem.vala:102: Unable to fetch INBOX/Archive of account 'IBPSA': Failed to get capabilities: Unacceptable TLS certificate
** (io.elementary.mail:3392117): WARNING **: 18:00:51.681: GroupedFolderSourceItem.vala:102: Unable to fetch INBOX/Sent of account 'IBPSA': Failed to get capabilities: Unacceptable TLS certificate
(io.elementary.mail:3392117): camel-CRITICAL **: 18:00:52.005: camel_session_trust_prompt: assertion 'class->trust_prompt != NULL' failed
** (io.elementary.mail:3392117): CRITICAL **: 18:00:52.013: AccountSourceItem.vala:64: Failed to get capabilities: Unacceptable TLS certificate
(io.elementary.mail:3392117): camel-CRITICAL **: 18:00:52.031: camel_session_trust_prompt: assertion 'class->trust_prompt != NULL' failed
** (io.elementary.mail:3392117): WARNING **: 18:00:52.034: GroupedFolderSourceItem.vala:102: Unable to fetch INBOX/Archive of account 'IBPSA info': Unacceptable TLS certificate
** (io.elementary.mail:3392117): WARNING **: 18:00:52.034: GroupedFolderSourceItem.vala:102: Unable to fetch INBOX/Sent of account 'IBPSA info': Unacceptable TLS certificate
** (io.elementary.mail:3392117): WARNING **: 18:00:52.034: GroupedFolderSourceItem.vala:102: Unable to fetch INBOX of account 'IBPSA info': Unacceptable TLS certificate
(io.elementary.mail:3392117): camel-CRITICAL **: 18:00:52.371: camel_session_trust_prompt: assertion 'class->trust_prompt != NULL' failed
** (io.elementary.mail:3392117): CRITICAL **: 18:00:52.380: AccountSourceItem.vala:64: Unacceptable TLS certificate
(io.elementary.mail:3392117): camel-WARNING **: 18:00:52.546: CamelIMAPXStore::get_folder_info_sync() reported failure without setting its GError
(io.elementary.mail:3392117): camel-WARNING **: 18:00:52.559: CamelIMAPXStore::get_folder_info_sync() reported failure without setting its GError
(io.elementary.mail:3392117): camel-WARNING **: 18:00:54.273: CamelIMAPXStore::get_folder_info_sync() reported failure without setting its GError
(io.elementary.mail:3392117): camel-WARNING **: 18:00:54.862: CamelIMAPXStore::get_folder_info_sync() reported failure without setting its GError
(io.elementary.mail:3392117): camel-WARNING **: 18:00:54.920: CamelIMAPXStore::get_folder_info_sync() reported failure without setting its GError
** (io.elementary.mail:3392117): CRITICAL **: 18:00:55.563: AccountSourceItem.vala:64: Failed to authenticate: Failed to obtain an access token for “the GOA version of my primary email account”: Account is disabled
(io.elementary.mail:3392117): camel-WARNING **: 18:00:56.324: CamelIMAPXStore::get_folder_info_sync() reported failure without setting its GError
(io.elementary.mail:3392117): camel-WARNING **: 18:00:56.397: CamelIMAPXStore::get_folder_info_sync() reported failure without setting its GError
(io.elementary.mail:3392117): camel-WARNING **: 18:00:56.433: CamelIMAPXStore::get_folder_info_sync() reported failure without setting its GError
(io.elementary.mail:3392117): camel-WARNING **: 18:00:56.745: CamelIMAPXStore::get_folder_info_sync() reported failure without setting its GError
(io.elementary.mail:3392117): camel-WARNING **: 18:00:57.935: CamelIMAPXStore::get_folder_info_sync() reported failure without setting its GError
(io.elementary.mail:3392117): camel-WARNING **: 18:00:59.701: CamelIMAPXStore::get_folder_info_sync() reported failure without setting its GError
(io.elementary.mail:3392117): camel-CRITICAL **: 18:00:59.952: camel_session_trust_prompt: assertion 'class->trust_prompt != NULL' failed
(io.elementary.mail:3392117): camel-CRITICAL **: 18:01:00.093: camel_session_trust_prompt: assertion 'class->trust_prompt != NULL' failed

Hardware Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions