Bug 1242541 - Evolution doesn't honor google settings as defined in gnome-online-accounts
Summary: Evolution doesn't honor google settings as defined in gnome-online-accounts
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milan Crha
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-13 14:23 UTC by Peter Robinson
Modified: 2015-09-28 16:50 UTC (History)
4 users (show)

Fixed In Version: evolution-data-server-3.17.4
Clone Of:
Environment:
Last Closed: 2015-09-28 16:50:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Robinson 2015-07-13 14:23:17 UTC
I have a google enterprise account with just Google Calendar and Docs without Mail.

I've setup account in gnome-oling-accounts authenticating the account and explicitly turning off except Calendary and Documents within those settings without evolution running to try to ensure it doesn't get confused.

The calendar comes up as expected in Evolution but it also sets up mail and everytime it tries to access it I get the error:

"The reported error was "IMAP access is disabled for your domain. Please contact your domain administrator for questions about this feature. (Failure)".

At which point the calendar often disappears as well. If I remove the mail account from within Evolution preferences I lose the calendar and it actually generally screws up the gnome-online-account to the point I have to remove it all and reconfigure it from the beginning.

Evolution should not setup mail if it's disabled in the GOA google account settings.

Versions:
evolution-ews-3.17.3-1.fc23.x86_64
evolution-data-server-3.17.3-1.fc23.x86_64
evolution-help-3.17.3-1.fc23.noarch
evolution-3.17.3-1.fc23.x86_64
gnome-online-miners-3.14.3-3.fc23.x86_64
gnome-online-accounts-3.17.2-2.fc23.x86_64
gnome-calendar-3.17.3-1.fc23.x86_64

Comment 1 Milan Crha 2015-07-14 09:54:12 UTC
(In reply to Peter Robinson from comment #0)
> ...If I remove the mail account from within Evolution preferences...

Thanks for a bug report. GOA-defined mail accounts cannot be removed from within Evolution. Such accounts have a "plug-in" icon and the enable/disable checkbox is hidden for them. There is also a hint at the bottom of the Edit->preference-s>Mail Accounts that they are configured in Online Accounts and a button to open its preferences is offered.

In any way, I see some issues in propagating changes of enable state for Mail/Calendar/Contacts into the respective sources in rawhide. I made a change which will make it work.

Created commit dd82443 in eds master (3.17.4+)
Created commit c66b549 in eds gnome-3-16 (3.16.5+)

Comment 2 Peter Robinson 2015-07-23 15:05:37 UTC
Reopening, it appears that 3.17.4 is now trying to send all email via smtp.gmail.com so if anything it's now worse

Comment 3 Milan Crha 2015-07-23 15:50:57 UTC
I'm sorry, I do not follow. The smtp.gmail.com sounds correct to me. You might be able to disable the Mail part in the GOA and that will remove the Mail account from the evolution, thus you'll be able to use whichever account you've configured in the evolution, rather than the GOA-provided. That's what this bug was about, from my point of view.

Comment 4 Peter Robinson 2015-09-28 16:50:26 UTC
works for me in later releases of 3.17


Note You need to log in before you can comment on or make changes to this bug.