From dave.mehler at gmail.com Sun Apr 5 03:37:07 2020 From: dave.mehler at gmail.com (David Mehler) Date: Sat, 4 Apr 2020 21:37:07 -0400 Subject: database setup Message-ID: Hello, Trying to insert commands in to the sqlite3 database, and keep getting the error no table named domain or servers exist, no table definitions defined. I created sqlite-generate.sh per the installation docs, if I run the script from the commandline without piping it through sqlite3 it works fine, but when going through sqlite3 that's when I get the errors. as the automx2 user with the python3 virtual environment activated I run: sqlite-generate.sh | sqlite3 /var/db/automx2/db.sqlite Suggestions welcome. Thanks. Dave. From wedwards at cyberfusion.nl Sun Apr 5 10:36:30 2020 From: wedwards at cyberfusion.nl (=?UTF-8?B?V2lsbGlhbSBFZHdhcmRz?=) Date: Sun, 5 Apr 2020 10:36:30 +0200 Subject: database setup In-Reply-To: References: Message-ID: <98117BB0-3C1C-4D97-8053-DDC84868D293@cyberfusion.nl> > Op 5 apr. 2020 om 03:39 heeft David Mehler het volgende geschreven: > > Hello, > > Trying to insert commands in to the sqlite3 database, and keep getting > the error no table named domain or servers exist, no table definitions > defined. I created sqlite-generate.sh per the installation docs, if I > run the script from the commandline without piping it through sqlite3 > it works fine, but when going through sqlite3 that's when I get the > errors. ?The errors?? > > as the automx2 user with the python3 virtual environment activated I run: > > sqlite-generate.sh | sqlite3 /var/db/automx2/db.sqlite > > Suggestions welcome. > Thanks. > Dave. From dave.mehler at gmail.com Sun Apr 5 16:18:18 2020 From: dave.mehler at gmail.com (David Mehler) Date: Sun, 5 Apr 2020 10:18:18 -0400 Subject: database setup In-Reply-To: <98117BB0-3C1C-4D97-8053-DDC84868D293@cyberfusion.nl> References: <98117BB0-3C1C-4D97-8053-DDC84868D293@cyberfusion.nl> Message-ID: Hello, I've added my specific information to the user-generated section of the sqlite-generate.sh script. If I run it with ./sqlite-generate.sh it runs, dumps the output to the screen with no syntax errors. If I run: ./sqlite-generate.sh | sqlite3 /var/db/automx2/db.sqlite this is what I get: Error: near line 1: no such table: provider Error: near line 2: no such table: server Error: near line 4: no such table: server Error: near line 6: no such table: domain Error: near line 7: no such table: server_domain Error: near line 8: no such table: server_domain If you've got this working what did you do? Thanks. Dave. On 4/5/20, William Edwards wrote: > >> Op 5 apr. 2020 om 03:39 heeft David Mehler het >> volgende geschreven: >> >> Hello, >> >> Trying to insert commands in to the sqlite3 database, and keep getting >> the error no table named domain or servers exist, no table definitions >> defined. I created sqlite-generate.sh per the installation docs, if I >> run the script from the commandline without piping it through sqlite3 >> it works fine, but when going through sqlite3 that's when I get the >> errors. > > ?The errors?? > >> >> as the automx2 user with the python3 virtual environment activated I run: >> >> sqlite-generate.sh | sqlite3 /var/db/automx2/db.sqlite >> >> Suggestions welcome. >> Thanks. >> Dave. > From automx2 at seichter.de Sun Apr 5 23:48:46 2020 From: automx2 at seichter.de (Ralph Seichter) Date: Sun, 05 Apr 2020 23:48:46 +0200 Subject: database setup In-Reply-To: References: <98117BB0-3C1C-4D97-8053-DDC84868D293@cyberfusion.nl> Message-ID: <874ktxob7l.fsf@wedjat.horus-it.com> * David Mehler: > Error: near line 1: no such table: provider > Error: near line 2: no such table: server > [...] As is usual for SQL databases, the structure needs to be created before adding content. Section 4.2 of the documentation [1] shows how to do it using 'curl'. Should you prefer to manually execute the necessary steps, see the example SQL file [2] the required DDL statements. [1] https://gitlab.com/automx/automx2/-/blob/master/doc/automx2.adoc [2] https://gitlab.com/automx/automx2/-/blob/master/contrib/sqlite-sample.sql -Ralph From stephane.branchoux at univ-perp.fr Sat Apr 11 16:42:13 2020 From: stephane.branchoux at univ-perp.fr (Stephane Branchoux) Date: Sat, 11 Apr 2020 16:42:13 +0200 Subject: Ansible playbook for automx2 and Centos Message-ID: <975FA3E9-01E2-439D-A5E5-269CC5C0978F@univ-perp.fr> Hello, Is there an Ansible playbook to install automx2 service on Centos server ? Many thanks in advance -- Stephane BRANCHOUX Direction des syst?mes d?information de l'Universit? de Perpignan. Syst?mes/R?seaux - RSSI mailto:stephane.branchoux at univ-perp.fr 04 68 66 21 24 / 07 60 73 38 42 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3552 bytes Desc: not available URL: From automx2 at seichter.de Sat Apr 11 17:11:25 2020 From: automx2 at seichter.de (Ralph Seichter) Date: Sat, 11 Apr 2020 17:11:25 +0200 Subject: Ansible playbook for automx2 and Centos In-Reply-To: <975FA3E9-01E2-439D-A5E5-269CC5C0978F@univ-perp.fr> References: <975FA3E9-01E2-439D-A5E5-269CC5C0978F@univ-perp.fr> Message-ID: <87pncenjky.fsf@wedjat.horus-it.com> * Stephane Branchoux: > Is there an Ansible playbook to install automx2 service on Centos > server ? I don't include a playbook with the automx2 distribution, and if there is a third-party playbook I have not been informed about it. Is there a particular part of the installation that is unclear, or are you just looking for greater convenience? -Ralph From wedwards at cyberfusion.nl Sat Apr 11 17:14:07 2020 From: wedwards at cyberfusion.nl (=?UTF-8?B?V2lsbGlhbSBFZHdhcmRz?=) Date: Sat, 11 Apr 2020 17:14:07 +0200 Subject: Ansible playbook for automx2 and Centos In-Reply-To: <975FA3E9-01E2-439D-A5E5-269CC5C0978F@univ-perp.fr> References: <975FA3E9-01E2-439D-A5E5-269CC5C0978F@univ-perp.fr> Message-ID: <8C434542-949A-4E1C-AA80-0D6B2537A868@cyberfusion.nl> > Op 11 apr. 2020 om 16:44 heeft Stephane Branchoux het volgende geschreven: > > Hello, > > Is there an Ansible playbook to install automx2 service on Centos server ? I made one for internal use. I may open source it when I find the time. > > Many thanks in advance > -- > Stephane BRANCHOUX > Direction des syst?mes d?information de l'Universit? de Perpignan. > Syst?mes/R?seaux - RSSI > mailto:stephane.branchoux at univ-perp.fr > 04 68 66 21 24 / 07 60 73 38 42 > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane.branchoux at univ-perp.fr Tue Apr 14 21:05:35 2020 From: stephane.branchoux at univ-perp.fr (Stephane Branchoux) Date: Tue, 14 Apr 2020 21:05:35 +0200 Subject: Automx2 and ldap configuration Message-ID: <320E3C65-B8EE-413F-A8E5-3240D9B3C4CC@univ-perp.fr> Hello, In the docs ( https://gitlab.com/automx/automx2/-/blob/master/doc/automx2.adoc ) I don?t understand how and where to configure ldap parameters in order to change %EMAILLOCALPART% by my LDAP uid. Do I need to configure them in /etc/automx2.conf or in database ? Where do I configure imap_auth_identity to be the uid from my ldap server ? Many thanks -- Stephane BRANCHOUX Direction des syst?mes d?information de l'Universit? de Perpignan. Syst?mes/R?seaux - RSSI mailto:stephane.branchoux at univ-perp.fr 04 68 66 21 24 / 07 60 73 38 42 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3552 bytes Desc: not available URL: From automx2 at seichter.de Wed Apr 15 19:59:29 2020 From: automx2 at seichter.de (Ralph Seichter) Date: Wed, 15 Apr 2020 19:59:29 +0200 Subject: Automx2 and ldap configuration In-Reply-To: <320E3C65-B8EE-413F-A8E5-3240D9B3C4CC@univ-perp.fr> References: <320E3C65-B8EE-413F-A8E5-3240D9B3C4CC@univ-perp.fr> Message-ID: <87o8rswry6.fsf@wedjat.horus-it.com> * Stephane Branchoux: > I don?t understand how and where to configure ldap parameters in order > to change %EMAILLOCALPART% by my LDAP uid. https://gitlab.com/automx/automx2/-/blob/master/contrib/sqlite-sample.sql lines 27 ff show the "ldapserver" table's definition and sample content. The values of "attr_uid" and "attr_cn" define the LDAP attribute names for user ID and common name, respectively. Remember to also set the ldapserver_id field for the domains you want to bind to a specific LDAP server. -Ralph From automx2 at seichter.de Wed Apr 15 22:23:36 2020 From: automx2 at seichter.de (Ralph Seichter) Date: Wed, 15 Apr 2020 22:23:36 +0200 Subject: Automx2 and ldap configuration In-Reply-To: <47A42B4A-08B1-4237-B9DC-FCD4A6745550@univ-perp.fr> References: <320E3C65-B8EE-413F-A8E5-3240D9B3C4CC@univ-perp.fr> <87o8rswry6.fsf@wedjat.horus-it.com> <47A42B4A-08B1-4237-B9DC-FCD4A6745550@univ-perp.fr> Message-ID: <87eesoebw7.fsf@wedjat.horus-it.com> Please keep discussions on the mailing list, so that others may benefit from and contribute to them. Thanks. * Stephane Branchoux: > Im am not database admin so it was not easy for me, sorry. Frankly, you should not have to deal with the backed. Months ago, I filed issues about introducing a stable API, and possibly (although it is less important) a Web UI. Alas, world events have interfered, which is also why my dear colleague (nudge, nudge) has not yet updated the documentation as planned. Mobileconfig and LDAP support have not been documented yet, so you need not apologise for floundering a bit. > A last question : have you got a script to start / stop service flask > or automx2 on Centos7 ? I package a simple launcher script[1] which works with a Python virtual environment. I have also created a Gentoo Linux package[2], but Gentoo uses OpenRC while CentOS uses systemd. Perhaps somebody here has created systemd support files? [1] https://gitlab.com/automx/automx2/-/blob/master/contrib/flask.sh [2] https://packages.gentoo.org/packages/net-mail/automx2 -Ralph From me at junc.eu Wed Apr 15 23:22:14 2020 From: me at junc.eu (Benny Pedersen) Date: Wed, 15 Apr 2020 23:22:14 +0200 Subject: multidomains with automx2 ssl cert Message-ID: i got it to work with example.eu, but since my server have multidomains such as example.org, how to solve this in ssl ? i could make my csr just have all domains incl custommers and be with it, but this only work if i reisue new csr each time there is a new domain hosted is this how to configure it or is there better way to make it work so it does not revail other domains anywhere so far i am happy that my config is working as it should now with thunderbird is it a secureity bug that http://autodiscover.example.org/mail/config-v1.1.xml?emailaddress=foobar at example.info works ? should automx not reject this ? i have not added dns srv yet From eduval at ligfy.fr Fri Apr 24 14:54:46 2020 From: eduval at ligfy.fr (Eric DUVAL) Date: Fri, 24 Apr 2020 14:54:46 +0200 Subject: Problem with automx2 - error setupvenv.sh Message-ID: Hello, I try to install automx2 on ubuntu LTS 16.04.6 (xenial) I have read doc: https://gitlab.com/automx/automx2/blob/master/doc/installation.adoc On ubuntu i installed python3.8.2 and pip3 8.1.1. When i run : sudo su automx2 ./setupvenv.sh i have an error: Error: Command '['/var/www/automx2/venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1 Can you help me? Regards Eric DUVAL From eduval at ligfy.fr Fri Apr 24 15:18:59 2020 From: eduval at ligfy.fr (Eric DUVAL) Date: Fri, 24 Apr 2020 15:18:59 +0200 Subject: Problem with automx2 - error setupvenv.sh In-Reply-To: References: Message-ID: <06d65e78-df7e-5d39-3d30-819db34b2d1a@ligfy.fr> Hello, It's ok now. Certainely a problem with python3.8, bad install. Regards Le 24/04/2020 ? 14:54, Eric DUVAL a ?crit?: > Hello, > > I try to install automx2 on ubuntu LTS 16.04.6 (xenial) > I have read doc: > https://gitlab.com/automx/automx2/blob/master/doc/installation.adoc > > On ubuntu i installed python3.8.2 and pip3 8.1.1. > > When i run : sudo su automx2 ./setupvenv.sh i have an error: > > Error: Command '['/var/www/automx2/venv/bin/python3', '-Im', > 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1 > > Can you help me? > > Regards > Eric DUVAL From eduval at ligfy.fr Mon Apr 27 11:33:34 2020 From: eduval at ligfy.fr (Eric DUVAL) Date: Mon, 27 Apr 2020 11:33:34 +0200 Subject: automx2 - error autodiscover with outlook client Message-ID: <3c05b6c1-b1be-50b9-51e1-f1e922b30f37@ligfy.fr> Hello, automx2 installed on ubuntu xenial (16.04.6 LTS) python 3.8.2 haproxy --> proxy apache2 --> automx2 MUA : outlook pro 2016 automx2 --> autoconfig OK automx2 --> autodiscover KO autodiscover: Step 1 outlook: Create new account -> I enter the email address then I click on connection -> automx2 receives a first request GET "/autodiscover/autodiscover.json" Details of the request: "GET /autodiscover/autodiscover.json?Email=user at domain.tld& Protocol=ActiveSync&RedirectCount=1 HTTP/1.1" 404 Step 2 outlook: The advanced configuration is displayed, whatever my choice (Exchange or Exchange 2013 or earlier) the request received by automx2 is: /autodiscover/autodiscover.xml Details of the request: "POST /autodiscover/autodiscover.xml HTTP/1.1" 200 Step 3 outlook: Displays an error message (Outlook could not configure your account) I did a connectivity test on https://testconnectivity.microsoft.com The XML autodiscover response received by Microsoft's connectivity analyzer is not correct. The Exception Details exception: Message : There is an error in XML document (1, 2). Type : System.InvalidOperationException Procedure call tree : at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at Microsoft.Exchange.Tools.ExRca.Tests.AutoDiscover.AutoDiscoverGetXMLBase`2.Discover() Exception details: Message : was not expected. Type : System.InvalidOperationException Procedure call tree : at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderOutlookAutoDiscoverResponseXML.Read11_Autodiscover() has been met. I don't understand the problem, Do you have an idea? Regards Eric From eduval at ligfy.fr Mon Apr 27 11:54:00 2020 From: eduval at ligfy.fr (Eric DUVAL) Date: Mon, 27 Apr 2020 11:54:00 +0200 Subject: Update :: Re: automx2 - error autodiscover with outlook client In-Reply-To: <3c05b6c1-b1be-50b9-51e1-f1e922b30f37@ligfy.fr> References: <3c05b6c1-b1be-50b9-51e1-f1e922b30f37@ligfy.fr> Message-ID: <22f9f672-6892-6570-39f5-75031b85dbc5@ligfy.fr> Of course if i use my phone and outlook nine autodiscover is OK. I missed an info, is this autodiscover for outlook PC cannot work with automx2? Le 27/04/2020 ? 11:33, Eric DUVAL a ?crit?: > Hello, > > automx2 installed on ubuntu xenial (16.04.6 LTS) > python 3.8.2 > haproxy --> proxy apache2 --> automx2 > MUA : outlook pro 2016 > > automx2 --> autoconfig OK > automx2 --> autodiscover KO > > autodiscover: > > Step 1 outlook: Create new account -> I enter the email address then I > click on connection -> automx2 receives a first request GET > "/autodiscover/autodiscover.json" > > Details of the request: > "GET /autodiscover/autodiscover.json?Email=user at domain.tld& > Protocol=ActiveSync&RedirectCount=1 HTTP/1.1" 404 > > Step 2 outlook: The advanced configuration is displayed, whatever my > choice (Exchange or Exchange 2013 or earlier) the request received by > automx2 is: /autodiscover/autodiscover.xml > > Details of the request: > "POST /autodiscover/autodiscover.xml HTTP/1.1" 200 > > Step 3 outlook: Displays an error message (Outlook could not configure > your account) > > > I did a connectivity test on https://testconnectivity.microsoft.com > > The XML autodiscover response received by Microsoft's connectivity > analyzer is not correct. The Exception Details exception: > Message : There is an error in XML document (1, 2). > Type : System.InvalidOperationException > Procedure call tree : > ?at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader > xmlReader, String encodingStyle, XmlDeserializationEvents events) > ?at > Microsoft.Exchange.Tools.ExRca.Tests.AutoDiscover.AutoDiscoverGetXMLBase`2.Discover() > > > Exception details: > Message : xmlns='http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006'> > was not expected. > Type : System.InvalidOperationException > Procedure call tree : > ?at > Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderOutlookAutoDiscoverResponseXML.Read11_Autodiscover() > has been met. > > > I don't understand the problem, Do you have an idea? > > Regards > Eric From me at junc.eu Mon Apr 27 12:08:01 2020 From: me at junc.eu (Benny Pedersen) Date: Mon, 27 Apr 2020 12:08:01 +0200 Subject: Update :: Re: automx2 - error autodiscover with outlook client In-Reply-To: <22f9f672-6892-6570-39f5-75031b85dbc5@ligfy.fr> References: <3c05b6c1-b1be-50b9-51e1-f1e922b30f37@ligfy.fr> <22f9f672-6892-6570-39f5-75031b85dbc5@ligfy.fr> Message-ID: <901b23b5ec6539469ada3b1400a45baa@junc.eu> On 2020-04-27 11:54, Eric DUVAL wrote: > Of course if i use my phone and outlook nine autodiscover is OK. > I missed an info, is this autodiscover for outlook PC cannot work with > automx2? >> "GET /autodiscover/autodiscover.json?Email=user at domain.tld& >> Protocol=ActiveSync&RedirectCount=1 HTTP/1.1" 404 space after & makes the 404, if this is in automx2 you have discovery a bug sorry cant help more From eduval at ligfy.fr Mon Apr 27 13:16:33 2020 From: eduval at ligfy.fr (Eric DUVAL) Date: Mon, 27 Apr 2020 13:16:33 +0200 Subject: Update :: Re: automx2 - error autodiscover with outlook client In-Reply-To: <901b23b5ec6539469ada3b1400a45baa@junc.eu> References: <3c05b6c1-b1be-50b9-51e1-f1e922b30f37@ligfy.fr> <22f9f672-6892-6570-39f5-75031b85dbc5@ligfy.fr> <901b23b5ec6539469ada3b1400a45baa@junc.eu> Message-ID: <42dbf3e9-cecd-63a9-ce4b-20100058bc38@ligfy.fr> It's not a bug it's my copy/paste sorry for that. The true log is ok : GET /autodiscover/autodiscover.json?Email=user%40domain.tld&Protocol=ActiveSync&RedirectCount=1 HTTP/1.1" 404 Le 27/04/2020 ? 12:08, Benny Pedersen a ?crit?: > On 2020-04-27 11:54, Eric DUVAL wrote: >> Of course if i use my phone and outlook nine autodiscover is OK. >> I missed an info, is this autodiscover for outlook PC cannot work with >> automx2? > >>> "GET /autodiscover/autodiscover.json?Email=user at domain.tld& >>> Protocol=ActiveSync&RedirectCount=1 HTTP/1.1" 404 > > space after & makes the 404, if this is in automx2 you have discovery a bug > > sorry cant help more From eduval at ligfy.fr Tue Apr 28 10:09:55 2020 From: eduval at ligfy.fr (Eric DUVAL) Date: Tue, 28 Apr 2020 10:09:55 +0200 Subject: automx2 - error autodiscover with outlook client In-Reply-To: References: <3c05b6c1-b1be-50b9-51e1-f1e922b30f37@ligfy.fr> Message-ID: Not yet. Today I will test with the outlook version from 2007 to 2019 to make a specific point. I'll keep you posted. In resum for me: WAN --> FW --> haproxy --> apache2 proxy --> automx2 autodiscover phone OK autodiscover outlook PC 2016 KO autoconfig OK Next step today :-) Le 27/04/2020 ? 22:42, David Mehler a ?crit?: > Hello, > > Did you ever get a fix for this issue? I'm also trying to configure > automx2 with outlook in my case pro 2010 and autodiscover. > > Thanks. > Dave. > > > On 4/27/20, Eric DUVAL wrote: >> Hello, >> >> automx2 installed on ubuntu xenial (16.04.6 LTS) >> python 3.8.2 >> haproxy --> proxy apache2 --> automx2 >> MUA : outlook pro 2016 >> >> automx2 --> autoconfig OK >> automx2 --> autodiscover KO >> >> autodiscover: >> >> Step 1 outlook: Create new account -> I enter the email address then I >> click on connection -> automx2 receives a first request GET >> "/autodiscover/autodiscover.json" >> >> Details of the request: >> "GET /autodiscover/autodiscover.json?Email=user at domain.tld& >> Protocol=ActiveSync&RedirectCount=1 HTTP/1.1" 404 >> >> Step 2 outlook: The advanced configuration is displayed, whatever my >> choice (Exchange or Exchange 2013 or earlier) the request received by >> automx2 is: /autodiscover/autodiscover.xml >> >> Details of the request: >> "POST /autodiscover/autodiscover.xml HTTP/1.1" 200 >> >> Step 3 outlook: Displays an error message (Outlook could not configure >> your account) >> >> >> I did a connectivity test on https://testconnectivity.microsoft.com >> >> The XML autodiscover response received by Microsoft's connectivity >> analyzer is not correct. The Exception Details exception: >> Message : There is an error in XML document (1, 2). >> Type : System.InvalidOperationException >> Procedure call tree : >> at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader >> xmlReader, String encodingStyle, XmlDeserializationEvents events) >> at >> Microsoft.Exchange.Tools.ExRca.Tests.AutoDiscover.AutoDiscoverGetXMLBase`2.Discover() >> >> Exception details: >> Message : > xmlns='http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006'> >> >> was not expected. >> Type : System.InvalidOperationException >> Procedure call tree : >> at >> Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderOutlookAutoDiscoverResponseXML.Read11_Autodiscover() >> >> has been met. >> >> >> I don't understand the problem, Do you have an idea? >> >> Regards >> Eric >> From eduval at ligfy.fr Wed Apr 29 16:08:34 2020 From: eduval at ligfy.fr (Eric DUVAL) Date: Wed, 29 Apr 2020 16:08:34 +0200 Subject: automx2 - error autodiscover with outlook client In-Reply-To: References: <3c05b6c1-b1be-50b9-51e1-f1e922b30f37@ligfy.fr> Message-ID: <3e80cd92-c285-b548-0828-e7228412d7b3@ligfy.fr> Hello, I finished my tests. Now almost everything works :-) autoconfig OK autodiscover OK except outlook 2019 Regards Le 28/04/2020 ? 10:09, Eric DUVAL a ?crit?: > Not yet. Today I will test with the outlook version from 2007 to 2019 to > make a specific point. I'll keep you posted. > > In resum for me: > > WAN --> FW --> haproxy --> apache2 proxy --> automx2 > > autodiscover phone OK > autodiscover outlook PC 2016 KO > autoconfig OK > > Next step today :-) > > > Le 27/04/2020 ? 22:42, David Mehler a ?crit?: >> Hello, >> >> Did you ever get a fix for this issue? I'm also trying to configure >> automx2 with outlook in my case pro 2010 and autodiscover. >> >> Thanks. >> Dave. >> >> >> On 4/27/20, Eric DUVAL wrote: >>> Hello, >>> >>> automx2 installed on ubuntu xenial (16.04.6 LTS) >>> python 3.8.2 >>> haproxy --> proxy apache2 --> automx2 >>> MUA : outlook pro 2016 >>> >>> automx2 --> autoconfig OK >>> automx2 --> autodiscover KO >>> >>> autodiscover: >>> >>> Step 1 outlook: Create new account -> I enter the email address then I >>> click on connection -> automx2 receives a first request GET >>> "/autodiscover/autodiscover.json" >>> >>> Details of the request: >>> "GET /autodiscover/autodiscover.json?Email=user at domain.tld& >>> Protocol=ActiveSync&RedirectCount=1 HTTP/1.1" 404 >>> >>> Step 2 outlook: The advanced configuration is displayed, whatever my >>> choice (Exchange or Exchange 2013 or earlier) the request received by >>> automx2 is: /autodiscover/autodiscover.xml >>> >>> Details of the request: >>> "POST /autodiscover/autodiscover.xml HTTP/1.1" 200 >>> >>> Step 3 outlook: Displays an error message (Outlook could not configure >>> your account) >>> >>> >>> I did a connectivity test on https://testconnectivity.microsoft.com >>> >>> The XML autodiscover response received by Microsoft's connectivity >>> analyzer is not correct. The Exception Details exception: >>> Message : There is an error in XML document (1, 2). >>> Type : System.InvalidOperationException >>> Procedure call tree : >>> ?? at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader >>> xmlReader, String encodingStyle, XmlDeserializationEvents events) >>> ?? at >>> Microsoft.Exchange.Tools.ExRca.Tests.AutoDiscover.AutoDiscoverGetXMLBase`2.Discover() >>> >>> >>> Exception details: >>> Message : >> xmlns='http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006'> >>> >>> >>> was not expected. >>> Type : System.InvalidOperationException >>> Procedure call tree : >>> ?? at >>> Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderOutlookAutoDiscoverResponseXML.Read11_Autodiscover() >>> >>> >>> has been met. >>> >>> >>> I don't understand the problem, Do you have an idea? >>> >>> Regards >>> Eric >>>