Bug 284492 - Kmail does not check http://example.com/.well-known/autoconfig/mail/config-v1.1.xml
Summary: Kmail does not check http://example.com/.well-known/autoconfig/mail/config-v1...
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-19 19:13 UTC by Bruno Léon
Modified: 2011-10-29 17:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.7.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Léon 2011-10-19 19:13:03 UTC
Version:           4.7 (using KDE 4.7.2) 
OS:                Linux

Kmail autoconfiguration support has been implemented as reported in 250375.

However, it does not check for config-v1.1.xml files, which is needed if you are not in the ISP database.

Reproducible: Always

Steps to Reproduce:
Create a new account and setup the config for your domain, according to https://developer.mozilla.org/en/Thunderbird/Autoconfiguration

Actual Results:  
Kmail does not take the config-v1.1.xml into account.

Expected Results:  
Kmail should detect the config automatically based on the content of the config file.
Comment 1 Laurent Montel 2011-10-20 06:55:36 UTC
account wizard uses it https://live.mozillamessaging.com/autoconfig/v1.1/
So It can configure account.
I close it
Comment 2 Bruno Léon 2011-10-20 15:50:45 UTC
Do you confirm it checks autoconfig.YOURDOMAIN/mail/config-v1.1.xml  ?

AFAIK it does not work with Kmail when it does with Thunderbird.
Not everybody can be in Mozilla ISP database, you need to be a big one.
Comment 3 Laurent Montel 2011-10-20 16:37:03 UTC
Why do you want to look at autoconfig.YOURDOMAIN/mail/config-v1.1.xml ?
we look at https://live.mozillamessaging.com/autoconfig/v1.1/Account
so why you want to look at this file ?
it's official directory.

and it works fine in accountwizard
Comment 4 Bruno Léon 2011-10-20 21:50:58 UTC
Because that is the work it is described to work on the page https://wiki.mozilla.org/Thunderbird:Autoconfiguration

1 - tb-install-dir/isp/example.com.xml on the harddisk
2 - check for autoconfig.example.com
3 - look up of "example.com" in the ISPDB
4 - look up "MX example.com" in DNS, and for mx1.mail.hoster.com, look up "hoster.com" in the ISPDB
5 - try to guess (imap.example.com, smtp.example.com etc.)

You cannot assume that everybody will be present in Mozilla ISP database, especially if you are not a big ISP.

That feature would simply make it possible to easily deploy Kmail in a corporate environment for example.
Comment 5 Laurent Montel 2011-10-21 07:05:42 UTC
Reopen it
Comment 6 Laurent Montel 2011-10-21 11:57:01 UTC
Do you have a system to test it ?
I will implement it but I don't know how to test it.
Comment 7 Laurent Montel 2011-10-21 13:44:16 UTC
Git commit 926ff60c4b9f264e26fed78de49e5a5e5d612a08 by Montel Laurent.
Committed on 21/10/2011 at 15:43.
Pushed by mlaurent into branch 'master'.

Fix Bug 284492 - Kmail does not check http://example.com/.well-known/autoconfig/mail/config-v1.1.xml

And make address to lower.

FIXED-IN: 4.7.3
BUG: 284492

M  +48   -6    accountwizard/ispdb/ispdb.cpp
M  +4    -0    accountwizard/ispdb/ispdb.h

http://commits.kde.org/kdepim-runtime/926ff60c4b9f264e26fed78de49e5a5e5d612a08
Comment 8 Laurent Montel 2011-10-21 13:44:41 UTC
Git commit 8aae04eaa619803871d866432dac77dfb5a79c96 by Montel Laurent.
Committed on 21/10/2011 at 15:43.
Pushed by mlaurent into branch 'KDE/4.7'.

Fix Bug 284492 - Kmail does not check http://example.com/.well-known/autoconfig/mail/config-v1.1.xml

And make address to lower.

FIXED-IN: 4.7.3
BUG: 284492
(cherry picked from commit 926ff60c4b9f264e26fed78de49e5a5e5d612a08)

M  +48   -6    accountwizard/ispdb/ispdb.cpp
M  +4    -0    accountwizard/ispdb/ispdb.h

http://commits.kde.org/kdepim-runtime/8aae04eaa619803871d866432dac77dfb5a79c96
Comment 9 Laurent Montel 2011-10-21 13:45:33 UTC
Ok I commited patch in 4.7.3/master which allows to support it.
Now I implemented but can't test it.
I hope that it works.
Needs infos.
Comment 10 Bruno Léon 2011-10-29 17:07:05 UTC
I sent you an email with an account on my server for testing purposes.

Thanks for the quick response !