https://redmine.documentfoundation.org/https://redmine.documentfoundation.org/favicon.ico?16960560022014-03-14T10:05:45ZThe Document Foundation RedmineInfrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=4522014-03-14T10:05:45ZAlexander Werneralex@documentfoundation.org
<ul><li><strong>Category</strong> set to <i>Mail system</i></li><li><strong>Assignee</strong> set to <i>Alexander Werner</i></li></ul> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=4722014-03-14T10:21:24ZAlexander Werneralex@documentfoundation.org
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Low</i></li></ul> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=15642014-07-30T12:54:24ZFlorian Effenbergerfloeff@documentfoundation.org
<ul><li><strong>Assignee</strong> deleted (<del><i>Alexander Werner</i></del>)</li></ul><p>IMHO nothing for Alex' table - nice addendum, but really only of use for a few people, so any takers, feel free to take this :)</p> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=27862014-11-17T12:46:21ZDennis Roczekdennisroczek@libreoffice.org
<ul></ul><p>well having fun on a bit scripting and new stuff... why not. but for testing I would need at least a @libo address ^^</p> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=27872014-11-17T12:49:14ZFlorian Effenbergerfloeff@documentfoundation.org
<ul></ul><p>Are you a TDF member? Then you have been offered one already :)</p> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=27912014-11-17T13:35:49ZDennis Roczekdennisroczek@libreoffice.org
<ul></ul><p>I'm a TDF member, but no, I never got an offer. I only got by mail following mail:</p>
<code>
Dear Dennis Roczek,
We are pleased to inform you that, as of 2014-10-01, your membership
has been officially filed. You are now acknowledged as member of
The Document Foundation according to its bylaws.
Kind Regards,
</code>
<p>No mention on the possibility of a mail account (through I know that it is possible as it is documented in the wiki :-p)</p>
<p>Is something borked? No spam mail in my junk folder.</p> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=27922014-11-17T13:37:11ZFlorian Effenbergerfloeff@documentfoundation.org
<ul></ul><p>I poked Sophie, maybe the mail was lost or forgotten :)</p> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=28092014-11-18T07:27:33ZDennis Roczekdennisroczek@libreoffice.org
<ul><li><strong>Assignee</strong> set to <i>Dennis Roczek</i></li></ul><p>I'll take this. This is fun and maybe this helps me in my own company. ;-)</p> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=28102014-11-18T07:32:30ZFlorian Effenbergerfloeff@documentfoundation.org
<ul></ul><p>Thanks! :)</p> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=28162014-11-18T07:51:57ZDennis Roczekdennisroczek@libreoffice.org
<ul></ul><p>first run: thunderbird. Mostly the easiest way. ;-)</p>
<p>Well if I understand the MDN pages (Section "Small company") correctly, the file should be located at <br /><a class="external" href="http://libreoffice.org/.well-known/autoconfig/mail/config-v1.1.xml">http://libreoffice.org/.well-known/autoconfig/mail/config-v1.1.xml</a><br />and<br /><pre>
All config files must be served as Content-Type: text/xml (or application/xml), otherwise the file will be ignored. Also, they must use charset UTF-8 (esp. if there are any non-ASCII-characters).
</pre></p>
<p>The file itself should (well somehow untested until now) look like:<br /><pre>
<?xml version="1.0" encoding="UTF-8"?>
<clientConfig version="1.1">
<emailProvider id="libreoffice.org">
<domain>libreoffice.org</domain>
<displayName>LibreOffice.org</displayName>
<displayShortName>LibreOffice</displayShortName>
<incomingServer type="imap">
<hostname>mail.jpberlin.de</hostname>
<port>993</port>
<socketType>SSL</socketType>
<authentication>password-encrypted</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="imap">
<hostname>mail.jpberlin.de</hostname>
<port>143</port>
<socketType>STARTTLS</socketType>
<authentication>password-encrypted</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<outgoingServer type="smtp">
<hostname>mail.jpberlin.de</hostname>
<port>465</port>
<socketType>SSL</socketType>
<authentication>password-encrypted</authentication>
<username>%EMAILADDRESS%</username>
</outgoingServer>
<outgoingServer type="smtp">
<hostname>mail.jpberlin.de</hostname>
<port>587</port>
<socketType>STARTTLS</socketType>
<authentication>password-encrypted</authentication>
<username>%EMAILADDRESS%</username>
</outgoingServer>
<documentation url="https://wiki.documentfoundation.org/MailAccounts">
<descr lang="de">Generische Einsetellungen und Rechtliches</descr>
<descr lang="en">Generic settings and legal page</descr>
</documentation>
<documentation url="">
<descr lang="de">Webmailer</descr>
<descr lang="en">Webmailer</descr>
</documentation>
<documentation url="https://www.jpberlin.de/verwaltung/index.php?lang=en">
<descr lang="de">Verwaltungskonsole zum Ändern des Passwortes und zum Einstellen von Serverseitige Emailfilterung</descr>
<descr lang="en">Control Panel for changing password and installing serverside email filters</descr>
</documentation>
</emailProvider>
</clientConfig>
</pre></p>
<p>Moreover there is a webmailer part for the XML, but I don't think this is needed or useful in any kind. I also don't know how the user can get this part of information without looking in the xml file so skipping that.</p> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=29072014-11-24T05:15:32ZFlorian Effenbergerfloeff@documentfoundation.org
<ul></ul><p>Thanks for that!<br />Any chance you can test with a modified /etc/hosts locally before we put this live?</p> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=29152014-11-24T11:27:40ZDennis Roczekdennisroczek@libreoffice.org
<ul></ul><p>Yeah, I wanted to set up a local mediawiki for testing and thus I would need a xampp installation --> I will test it locally. maybe even today as I might find the time to do this. (/me is playing with the idea of reimplementing / updating <a class="external" href="http://www.mediawiki.org/wiki/Extension:BrokenLinks">http://www.mediawiki.org/wiki/Extension:BrokenLinks</a> so that we can check automatically for broken web links in out tdf wiki...)</p> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=30422014-11-24T21:50:11ZDennis Roczekdennisroczek@libreoffice.org
<ul></ul><p>:-)</p>
<p>File should be located at:<br /><a class="external" href="http://autoconfig.libreoffice.org/mail/config-v1.1.xml">http://autoconfig.libreoffice.org/mail/config-v1.1.xml</a></p>
<p>It works like a sharm. Well maybe I will try the outlook stuff out as well... ;-)</p>
<p>new file (small modification in the SMTP auth)</p>
<pre>
<?xml version="1.0" encoding="UTF-8"?>
<clientConfig version="1.1">
<emailProvider id="libreoffice.org">
<domain>libreoffice.org</domain>
<displayName>LibreOffice.org</displayName>
<displayShortName>LibreOffice</displayShortName>
<incomingServer type="imap">
<hostname>mail.jpberlin.de</hostname>
<port>993</port>
<socketType>SSL</socketType>
<authentication>password-encrypted</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="imap">
<hostname>mail.jpberlin.de</hostname>
<port>143</port>
<socketType>STARTTLS</socketType>
<authentication>password-encrypted</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<outgoingServer type="smtp">
<hostname>mail.jpberlin.de</hostname>
<port>465</port>
<socketType>TLS</socketType>
<authentication>password-encrypted</authentication>
<username>%EMAILADDRESS%</username>
</outgoingServer>
<outgoingServer type="smtp">
<hostname>mail.jpberlin.de</hostname>
<port>465</port>
<socketType>SSL</socketType>
<authentication>password-encrypted</authentication>
<username>%EMAILADDRESS%</username>
</outgoingServer>
<documentation url="https://wiki.documentfoundation.org/MailAccounts">
<descr lang="de">Generische Einsetellungen und Rechtliches</descr>
<descr lang="en">Generic settings and legal page</descr>
</documentation>
<documentation url="">
<descr lang="de">Webmailer</descr>
<descr lang="en">Webmailer</descr>
</documentation>
<documentation url="https://www.jpberlin.de/verwaltung/index.php?lang=en">
<descr lang="de">Verwaltungskonsole zum Ändern des Passwortes und zum Einstellen von Serverseitige Emailfilterung</descr>
<descr lang="en">Control Panel for changing password and installing serverside email filters</descr>
</documentation>
</emailProvider>
</clientConfig>
</pre> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=30432014-11-24T22:35:41ZDennis Roczekdennisroczek@libreoffice.org
<ul><li><strong>Assignee</strong> deleted (<del><i>Dennis Roczek</i></del>)</li></ul><p>should I assign Alex for that ticket to implement that on the server? (/me is out although I will do check the outlook stuff)</p> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=30452014-11-25T08:56:54ZFlorian Effenbergerfloeff@documentfoundation.org
<ul></ul><p>Assignee:</p>
<p>Thanks a lot for your work!<br />I propose we leave this as open task for one infra volunteer, as this is <br />a low-hanging fruit now and might help to get people in :)</p> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=31722014-12-01T12:57:08ZDennis Roczekdennisroczek@libreoffice.org
<ul></ul><p>Just FYI:</p>
<p>The Outlook part is mostly finished. I have to find a way so that the complete email address will be used. sadly that isn't that easy as MS do want to provide a dynamic XML (so per request generated) and thus I do need to figure out if there is a generic parameter which simply uses the given mail address like in mozillas way...</p> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=31732014-12-01T13:00:38ZChristian Lohmaiercloph@documentfoundation.org
<ul></ul><p>if the necessary parts of the email-address are passed as URL or post-request parameters or similar, then silverstripe can be used to create that xml on-the-fly</p> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=31742014-12-01T13:17:34ZDennis Roczekdennisroczek@libreoffice.org
<ul></ul><p>Christian Lohmaier wrote:</p>
<blockquote>
<p>if the necessary parts of the email-address are passed as URL or post-request parameters or similar, then silverstripe can be used to create that xml on-the-fly</p>
</blockquote>
<p>Yeah, we have to do something. Alternatively (to the silverstripe solution) I found a PHP script which does this already. See <a class="external" href="http://web.archive.org/web/20120828065248/http://moens.ch/2012/05/31/providing-email-client-autoconfiguration-information/">http://web.archive.org/web/20120828065248/http://moens.ch/2012/05/31/providing-email-client-autoconfiguration-information/</a> (search for the heading "Getting the user’s email address in the response XML")</p>
<p>OK, then I will test my existing configuration today and will post the preconfigurated XML file.</p> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=33302014-12-08T20:21:55ZDennis Roczekdennisroczek@libreoffice.org
<ul></ul><p>OK, that code works for Outlook (tested with win 8.1 and ms outlook 2013 with the registry test path)</p>
<p>replace <a class="email" href="mailto:dennisroczek@libreoffice.org">dennisroczek@libreoffice.org</a> with the email address which is in the request as described in that section <a class="external" href="http://technet.microsoft.com/en-us/library/cc511507.aspx#AutodiscoverXMLSchema">http://technet.microsoft.com/en-us/library/cc511507.aspx#AutodiscoverXMLSchema</a></p>
<p>Sadly there aren't many options for configuration. :-(</p>
<pre>
<?xml version="1.0" encoding="utf-8" ?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
<Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
<Account>
<AccountType>email</AccountType>
<Action>settings</Action>
<!-- Image: Optional / Does anybody have a better JPG image? -->
<Image>https://wiki.documentfoundation.org/images/b/b9/Facebook-five.jpg</Image>
<ServiceHome>https://wiki.documentfoundation.org/MailAccounts</ServiceHome>
<Protocol>
<Type>IMAP</Type>
<TTL>168</TTL>
<Server>mail.jpberlin.de</Server>
<Port>993</Port>
<DomainName>libreoffice.org</DomainName>
<LoginName>dennisroczek@libreoffice.org</LoginName>
<DomainRequired>on</DomainRequired>
<SPA>off</SPA>
<SSL>on</SSL>
<AuthRequired>on</AuthRequired>
</Protocol>
<Protocol>
<Type>IMAP</Type>
<TTL>168</TTL>
<Server>mail.jpberlin.de</Server>
<Port>143</Port>
<DomainRequired>on</DomainRequired>
<LoginName>dennisroczek@libreoffice.org</LoginName>
<SPA>off</SPA>
<AuthRequired>on</AuthRequired>
</Protocol>
<Protocol>
<Type>SMTP</Type>
<TTL>168</TTL>
<Server>mail.jpberlin.de</Server>
<Port>465</Port>
<DomainRequired>on</DomainRequired>
<LoginName>dennisroczek@libreoffice.org</LoginName>
<SPA>off</SPA>
<SSL>on</SSL>
<AuthRequired>on</AuthRequired>
</Protocol>
<Protocol>
<Type>SMTP</Type>
<TTL>168</TTL>
<Server>mail.jpberlin.de</Server>
<Port>465</Port>
<DomainRequired>on</DomainRequired>
<LoginName>dennisroczek@libreoffice.org</LoginName>
<SPA>off</SPA>
<AuthRequired>on</AuthRequired>
</Protocol>
</Account>
</Response>
</Autodiscover>
</pre> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=33332014-12-09T08:55:17ZDennis Roczekdennisroczek@libreoffice.org
<ul></ul><p>I missed my prewritten comments regarding the Outlook parts:</p>
<p>The file should be located at <a class="external" href="https://libreoffice.org/autodiscover/autodiscover.xml">https://libreoffice.org/autodiscover/autodiscover.xml</a> (or alternatively at <a class="external" href="https://autodiscover.libreoffice.org/autodiscover/autodiscover.xml">https://autodiscover.libreoffice.org/autodiscover/autodiscover.xml</a>) (the connection has to be in SSL with a valid certificate, I (or anybody else who want to test this out) can test this scenario by modifying a registry using<br />[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Autodiscover] "libreoffice.org"="C:\temp\libreoffice.xml" <br />)</p>
<p>Everything can be tested by using Microsoft's official page (for the case you don't have any outlook 2007+)<br /><a class="external" href="https://testconnectivity.microsoft.com/">https://testconnectivity.microsoft.com/</a></p> Infrastructure - Feature #98: implement e-mail autoconfigurationhttps://redmine.documentfoundation.org/issues/98?journal_id=182962019-12-18T11:07:10ZGuilhem Moulinguilhem@libreoffice.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Guilhem Moulin</i></li></ul><p>Done for libreoffice.org and documentfoundation.org domains using <code>/.well-known/autoconfig/mail</code> URIs a while back. Works at least for Thunderbird, autoconfiguration is not standardized so we won't find a solution that works for all MUAs.</p>