After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 709393 - Support IMAP/SMTP for Windows Live accounts
Support IMAP/SMTP for Windows Live accounts
Status: RESOLVED FIXED
Product: gnome-online-accounts
Classification: Core
Component: general
3.10.x
Other All
: Normal enhancement
: ---
Assigned To: GNOME Online Accounts maintainer(s)
GNOME Online Accounts maintainer(s)
Depends on:
Blocks: 709561
 
 
Reported: 2013-10-03 21:20 UTC by Matthew Barnes
Modified: 2013-10-09 14:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
live: Add support for mail (4.88 KB, patch)
2013-10-07 11:56 UTC, Debarshi Ray
committed Details | Review

Description Matthew Barnes 2013-10-03 21:20:58 UTC
This looks like some low hanging fruit for GOA:
http://blogs.office.com/b/microsoft-outlook/archive/2013/09/12/outlook-com-now-with-imap.aspx

I'm a little unclear whether live.com accounts are the same as outlook.com accounts.  Assuming they are, this may only require some simple modifications to GoaWindowsLiveProvider.

The details are:

    Incoming IMAP
        Server: imap-mail.outlook.com
        Server port: 993
        Encryption: SSL

    Outgoing SMTP
        Server: smtp-mail.outlook.com
        Server port: 587
        Encryption: TLS

    OAuth 2.0 scopes:
        "wl.imap" and "wl.offline_access"

The E-D-S changes should be trivial.

Sadly no CalDAV/CardDAV support yet.
Comment 1 John Paul Adrian Glaubitz 2013-10-04 13:59:33 UTC
> I'm a little unclear whether live.com accounts are the same as outlook.com
accounts.  Assuming they are, this may only require some simple modifications
to GoaWindowsLiveProvider.

Yes. All Windows Live Mail, Hotmail and Outlook.com mail are the same accounts since Microsoft has migrated all of their users to Outlook.com.

I have an old Hotmail address which I created in around 2005 and I kept using it with POP3 all the time. I could finally switch it to IMAP now and it works fine with both Evolution and Thunderbird (Icedove on Debian). So I can CONFIRM it.

The account database for Evolution/GNOME should therefore be updated to use the above IMAP and SMTP servers for all Windows Live (@live.com), Hotmail (@hotmail.com) and Outlook.com (@outlook.com) mail addresses.

Currently, Evolution (in my case version 3.8.5) still assumes that Hotmail uses POP3 for incoming mail and that the SMTP server is smtp.live.com which is not valid anymore.

Please update the account database in this regard.

The username to be used both for the IMAP and SMTP servers is the respective email address btw. So, it will be "user123@hotmail.com" for a Hotmail account.

There was also a statement regarding the IMAP transition from the Outlook.com team on reddit [1].

Cheers,

Adrian

> [1] http://www.reddit.com/r/IAmA/comments/1m926j/we_are_the_outlookcom_team_ask_us_anything/cc6yl6l
Comment 2 Rudra 2013-10-04 20:05:51 UTC
I am using gnome 3.10 (f20).
The live.com issue seems to be solved (using imap/smtp). But yes, a quick update of windows live from pop to imap will be great.
Comment 3 Debarshi Ray 2013-10-07 11:56:55 UTC
Created attachment 256620 [details] [review]
live: Add support for mail
Comment 4 Debarshi Ray 2013-10-07 12:02:33 UTC
s/outlook.com/Windows Live/ for consistency.
Comment 5 Matthew Barnes 2013-10-07 17:42:37 UTC
Testing this, it looks like a "MailEnabled" key is not getting written to the accounts.conf file, and so the OnlineAccounts.Mail interface is not exported.

After manually adding "MailEnabled=true" to accounts.conf and restarting the goa-daemon, the interface was exported as expected.

Since supported interfaces for a GOA account are enabled by default, maybe for the sake of robustness a missing "*Enabled" key should imply TRUE, not FALSE?
Comment 6 Debarshi Ray 2013-10-08 15:04:16 UTC
(In reply to comment #5)
> Testing this, it looks like a "MailEnabled" key is not getting written to the
> accounts.conf file, and so the OnlineAccounts.Mail interface is not exported.

Works for me. Maybe there was a mismatch between the libgoa / libgoabackend / goa-daemon versions that you were using.
Comment 7 Matthew Barnes 2013-10-08 15:55:15 UTC
(In reply to comment #6)
> Works for me. Maybe there was a mismatch between the libgoa / libgoabackend /
> goa-daemon versions that you were using.

I'm assuming that's the case.  I'll give it another try before this slips into a release, just to be sure.
Comment 8 Debarshi Ray 2013-10-09 14:49:21 UTC
Backported to gnome-3-10 also.