From automx2 at seichter.de Sun Mar 8 22:24:43 2020 From: automx2 at seichter.de (Ralph Seichter) Date: Sun, 08 Mar 2020 22:24:43 +0100 Subject: Announcing automx2 release 2020.1 Message-ID: <878skazgis.fsf@wedjat.horus-it.com> The latest automx2 release is now available via https://pypi.org/project/automx2/2020.1/ This version adds support for the recently released "Werkzeug" version 1.0.0, but will continue to work with Werkzeug 0.16. -Ralph From wedwards at cyberfusion.nl Thu Mar 12 19:04:15 2020 From: wedwards at cyberfusion.nl (William Edwards) Date: Thu, 12 Mar 2020 19:04:15 +0100 Subject: Default domain Message-ID: <28ad6878afdf10095081c199ffafa907@cyberfusion.nl> Hello! I came across automx2. I would like to know how to return a default mail server for domains that do not exist in the database. If a domain is not specified in 'server_domain' table, a specific set of servers (POP/IMAP/SMTP) should be returned. Thanks. Met vriendelijke groeten, William Edwards T. 040 - 711 44 96 E. wedwards at cyberfusion.nl ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From automx2 at seichter.de Fri Mar 13 02:02:24 2020 From: automx2 at seichter.de (Ralph Seichter) Date: Fri, 13 Mar 2020 02:02:24 +0100 Subject: Default domain In-Reply-To: <28ad6878afdf10095081c199ffafa907@cyberfusion.nl> References: <28ad6878afdf10095081c199ffafa907@cyberfusion.nl> Message-ID: <875zf9gj8f.fsf@wedjat.horus-it.com> * William Edwards: > If a domain is not specified in 'server_domain' table, a specific set > of servers (POP/IMAP/SMTP) should be returned. We aim to document all supported features, and as you may have guessed, this is not supported. You can map servers to multiple domains, but adding domains to the database is required in release 2020.1. -Ralph From dave.mehler at gmail.com Tue Mar 17 20:07:19 2020 From: dave.mehler at gmail.com (David Mehler) Date: Tue, 17 Mar 2020 15:07:19 -0400 Subject: automx2 configuration, stuck Message-ID: Hello, Can anyone help with a new server configuration? I've just put automx2 on it and am stuck with getting it all going. Thanks. Dave. From wedwards at cyberfusion.nl Tue Mar 17 20:21:44 2020 From: wedwards at cyberfusion.nl (=?UTF-8?B?V2lsbGlhbSBFZHdhcmRz?=) Date: Tue, 17 Mar 2020 20:21:44 +0100 Subject: automx2 configuration, stuck In-Reply-To: References: Message-ID: <24931228-475F-4179-8982-4140997256B9@cyberfusion.nl> > Op 17 mrt. 2020 om 20:09 heeft David Mehler het volgende geschreven: > > Hello, > > Can anyone help with a new server configuration? I've just put automx2 > on it and am stuck with getting it all going. > > Thanks. > Dave. Yes. From automx2 at seichter.de Tue Mar 17 21:19:01 2020 From: automx2 at seichter.de (Ralph Seichter) Date: Tue, 17 Mar 2020 21:19:01 +0100 Subject: automx2 configuration, stuck In-Reply-To: References: Message-ID: <878sjy68ga.fsf@wedjat.horus-it.com> * David Mehler: > Can anyone help with a new server configuration? Maybe. ;-) Please elaborate. -Ralph From wedwards at cyberfusion.nl Wed Mar 18 10:49:27 2020 From: wedwards at cyberfusion.nl (William Edwards) Date: Wed, 18 Mar 2020 10:49:27 +0100 Subject: automx2 looking for MySQLdb Message-ID: <8e6ef2178e885024908796de41ddc946@cyberfusion.nl> Hello, automx2 is trying to import MySQLdb: "ModuleNotFoundError: No module named 'MySQLdb'" However, as far as I'm aware, MySQLdb is only available for Python 2. And, as required according to automx2 docs, my virtualenv uses Python 3.7. Is this a bug or am I making a mistake? Met vriendelijke groeten, William Edwards T. 040 - 711 44 96 E. wedwards at cyberfusion.nl ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From wedwards at cyberfusion.nl Wed Mar 18 10:58:49 2020 From: wedwards at cyberfusion.nl (William Edwards) Date: Wed, 18 Mar 2020 10:58:49 +0100 Subject: automx2 looking for MySQLdb In-Reply-To: <8e6ef2178e885024908796de41ddc946@cyberfusion.nl> References: <8e6ef2178e885024908796de41ddc946@cyberfusion.nl> Message-ID: Ah, 'mysqlclient' seemed to be what I was looking for. :) Met vriendelijke groeten, William Edwards T. 040 - 711 44 96 E. wedwards at cyberfusion.nl ? ----- Original Message ----- From: William Edwards (wedwards at cyberfusion.nl) Date: 03/18/20 10:49 To: automx-users at sys4.de Subject: automx2 looking for MySQLdb Hello, automx2 is trying to import MySQLdb: "ModuleNotFoundError: No module named 'MySQLdb'" However, as far as I'm aware, MySQLdb is only available for Python 2. And, as required according to automx2 docs, my virtualenv uses Python 3.7. Is this a bug or am I making a mistake? Met vriendelijke groeten, William Edwards T. 040 - 711 44 96 E. wedwards at cyberfusion.nl ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From automx2 at seichter.de Wed Mar 18 11:16:47 2020 From: automx2 at seichter.de (Ralph Seichter) Date: Wed, 18 Mar 2020 11:16:47 +0100 Subject: automx2 looking for MySQLdb In-Reply-To: <8e6ef2178e885024908796de41ddc946@cyberfusion.nl> References: <8e6ef2178e885024908796de41ddc946@cyberfusion.nl> Message-ID: <871rpqnf1s.fsf@wedjat.horus-it.com> * William Edwards: > automx2 is trying to import MySQLdb: "ModuleNotFoundError: No module > named 'MySQLdb'" No, automx2 does not attempt to import MySQLdb. Database access is handled via SQLAlchemy, and depending on your local 'db_url' setting, that's where the import happens. ? grep -l -r 'import.\+MySQLdb' * venv/lib/python3.7/site-packages/sqlalchemy/testing/suite/test_results.py venv/lib/python3.7/site-packages/sqlalchemy/dialects/mysql/mysqldb.py > Is this a bug or am I making a mistake? It's not a bug, and if you actually wish to use a MySQL backend, it is not a mistake either. "Gotta have them drivers". ;-) -Ralph From wedwards at cyberfusion.nl Wed Mar 18 11:52:44 2020 From: wedwards at cyberfusion.nl (William Edwards) Date: Wed, 18 Mar 2020 11:52:44 +0100 Subject: Autodiscover case-sensitive Message-ID: <34dba61e82ffa332d6fbb78e58e00685@cyberfusion.nl> Hi! I am aware I am asking many questions on this mailing list. I hope to make up for that by contributing to the project when I have time (e.g. implementing the default domain feature which I would like to use). Outlook is trying to get info from /Autodiscover/Autodiscover.xml , but automx2 only answers on /autodiscover/autodiscover.xml . I could of course enable mod_speling in the proxy (Apache), but that would be a dirty workaround. Met vriendelijke groeten, William Edwards T. 040 - 711 44 96 E. wedwards at cyberfusion.nl ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From automx2 at seichter.de Wed Mar 18 12:37:36 2020 From: automx2 at seichter.de (Ralph Seichter) Date: Wed, 18 Mar 2020 12:37:36 +0100 Subject: Autodiscover case-sensitive In-Reply-To: <34dba61e82ffa332d6fbb78e58e00685@cyberfusion.nl> References: <34dba61e82ffa332d6fbb78e58e00685@cyberfusion.nl> Message-ID: <87zhcduc5b.fsf@wedjat.horus-it.com> * William Edwards: > I am aware I am asking many questions on this mailing list. Not to worry. If the documentation leaves questions unanswered, I'll try my best to clarify. Juggling ideas is also possible, of course. Speaking of ideas, it is too early for code contributions. I need to write a guide first. That won't be a problem, however, because blog article [1] applies anyway. ;-) [1] https://about.gitlab.com/blog/2016/03/03/start-with-an-issue/ To formally propose a feature, please file a GitLab issue first, with all necessary details required for having a discussion and ultimately making a decision. > Outlook is trying to get info from /Autodiscover/Autodiscover.xml I did not expect that. Would you be able to point me to official docs which I might have missed? > I could of course enable mod_speling in the proxy (Apache), but that > would be a dirty workaround. Rewriting the URL to lowercase comes to mind. I'm not sure what the easiest method for that is in Apache. -Ralph From wedwards at cyberfusion.nl Wed Mar 18 17:34:23 2020 From: wedwards at cyberfusion.nl (William Edwards) Date: Wed, 18 Mar 2020 17:34:23 +0100 Subject: Autodiscover case-sensitive In-Reply-To: <87zhcduc5b.fsf@wedjat.horus-it.com> References: <34dba61e82ffa332d6fbb78e58e00685@cyberfusion.nl> <87zhcduc5b.fsf@wedjat.horus-it.com> Message-ID: <491c39a43f41d000ac547f7179696d35@cyberfusion.nl> > > Outlook is trying to get info from /Autodiscover/Autodiscover.xml > I did not expect that. Would you be able to point me to official docs > which I might have missed? Well, I'm not sure about docs, but it's what the Microsoft Remote Connectivity Analyzer looks for. > -Ralph -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.mehler at gmail.com Thu Mar 19 04:12:02 2020 From: dave.mehler at gmail.com (David Mehler) Date: Wed, 18 Mar 2020 23:12:02 -0400 Subject: automx2 configuration, stuck In-Reply-To: <878sjy68ga.fsf@wedjat.horus-it.com> References: <878sjy68ga.fsf@wedjat.horus-it.com> Message-ID: Hello, I completed the installation doc which went fine. I am not seeing and am stuck on the configuration docs. Thanks. Dave. On 3/17/20, Ralph Seichter wrote: > * David Mehler: > >> Can anyone help with a new server configuration? > > Maybe. ;-) Please elaborate. > > -Ralph > From automx2 at seichter.de Thu Mar 19 09:53:10 2020 From: automx2 at seichter.de (Ralph Seichter) Date: Thu, 19 Mar 2020 09:53:10 +0100 Subject: automx2 configuration, stuck In-Reply-To: References: <878sjy68ga.fsf@wedjat.horus-it.com> Message-ID: <87o8ssenex.fsf@wedjat.horus-it.com> * David Mehler: > I completed the installation doc which went fine. I am not seeing and > am stuck on the configuration docs. The complete automx2 documentation can be accessed in a web browser using this URL: https://gitlab.com/automx/automx2/-/blob/master/doc/automx2.adoc Section 4 is titled "Configuring automx2", so I don't know what you are "not seeing"? What exactly is your question? -Ralph From automx2 at seichter.de Thu Mar 19 12:42:22 2020 From: automx2 at seichter.de (Ralph Seichter) Date: Thu, 19 Mar 2020 12:42:22 +0100 Subject: The automx2 project home is GitLab Message-ID: <87r1xoh8pt.fsf@wedjat.horus-it.com> After I had to close a GitHub-based pull request today, I'd like to take the opportunity to remind interested parties that automx2 is hosted on GitLab (https://gitlab.com/automx/automx2). GitHub, in contrast, is used as a read-only mirror. Unfortunately there is no way to prevent people from creating pull requests based on the mirrored data, so I will probably have to change it to private access. I have removed references to the mirror from our documentation, and also updated https://gitlab.com/automx/automx2/-/blob/master/CONTRIBUTING.adoc a little. Hopefully this will help to avoid confusion in the future. -Ralph From dave.mehler at gmail.com Thu Mar 19 22:57:22 2020 From: dave.mehler at gmail.com (David Mehler) Date: Thu, 19 Mar 2020 17:57:22 -0400 Subject: automx2 configuration, stuck In-Reply-To: <87o8ssenex.fsf@wedjat.horus-it.com> References: <878sjy68ga.fsf@wedjat.horus-it.com> <87o8ssenex.fsf@wedjat.horus-it.com> Message-ID: Hello, Thanks for the docs, I didn't see that doc last time I tried for configuration I was only seeint a small installation doc. I'll write back if I have more questions. Right now I've got the python virtual environment going with automx2 installed in it and a automx user on the host machine. Thanks. Dave. On 3/19/20, Ralph Seichter wrote: > * David Mehler: > >> I completed the installation doc which went fine. I am not seeing and >> am stuck on the configuration docs. > > The complete automx2 documentation can be accessed in a web browser > using this URL: > > https://gitlab.com/automx/automx2/-/blob/master/doc/automx2.adoc > > Section 4 is titled "Configuring automx2", so I don't know what you are > "not seeing"? What exactly is your question? > > -Ralph > From buscat at gmail.com Fri Mar 20 23:21:10 2020 From: buscat at gmail.com (buscat at gmail.com) Date: Fri, 20 Mar 2020 23:21:10 +0100 Subject: Help on install automx2 on ubuntu 18.04 server LTS Message-ID: <75849f72-1f4a-75cd-f11c-ac2e6433561a@gmail.com> Hello, I'm trying to install automx2 on Ubuntu 18.04 Server LTS. Python --version Python 3.6.9 I have followed installation steps from here but after? ". venv/bin/activate" and "pip install automx2" i've got: ERROR: Could not find a version that satisfies the requirement automx2 (from versions: none) ERROR: No matching distribution found for automx2 What can I do? Thanks in advance for your help. David From wedwards at cyberfusion.nl Fri Mar 20 23:49:44 2020 From: wedwards at cyberfusion.nl (=?UTF-8?B?V2lsbGlhbSBFZHdhcmRz?=) Date: Fri, 20 Mar 2020 23:49:44 +0100 Subject: Help on install automx2 on ubuntu 18.04 server LTS In-Reply-To: <75849f72-1f4a-75cd-f11c-ac2e6433561a@gmail.com> References: <75849f72-1f4a-75cd-f11c-ac2e6433561a@gmail.com> Message-ID: <8A37631E-0500-4514-9F11-B093D5FF0BA5@cyberfusion.nl> > Op 20 mrt. 2020 om 23:23 heeft "buscat at gmail.com" het volgende geschreven: > > Hello, > I'm trying to install automx2 on Ubuntu 18.04 Server LTS. > > Python --version > Python 3.6.9 > > I have followed installation steps from here but after ". venv/bin/activate" and "pip install automx2" i've got: Use pip3. > ERROR: Could not find a version that satisfies the requirement automx2 (from versions: none) > ERROR: No matching distribution found for automx2 > What can I do? > Thanks in advance for your help. > David From automx2 at seichter.de Fri Mar 20 23:51:08 2020 From: automx2 at seichter.de (Ralph Seichter) Date: Fri, 20 Mar 2020 23:51:08 +0100 Subject: Help on install automx2 on ubuntu 18.04 server LTS In-Reply-To: <75849f72-1f4a-75cd-f11c-ac2e6433561a@gmail.com> References: <75849f72-1f4a-75cd-f11c-ac2e6433561a@gmail.com> Message-ID: <87o8sqprmr.fsf@wedjat.horus-it.com> * buscat at gmail.com: > What can I do? For starters, I suggest you read the fantastic manual, section "installation", first sentence. -Ralph From automx2 at seichter.de Sat Mar 21 11:23:09 2020 From: automx2 at seichter.de (Ralph Seichter) Date: Sat, 21 Mar 2020 11:23:09 +0100 Subject: Help on install automx2 on ubuntu 18.04 server LTS In-Reply-To: <0d3d56a5-341c-fc94-97f8-2aa0e8cc80b5@gmail.com> References: <75849f72-1f4a-75cd-f11c-ac2e6433561a@gmail.com> <87o8sqprmr.fsf@wedjat.horus-it.com> <0d3d56a5-341c-fc94-97f8-2aa0e8cc80b5@gmail.com> Message-ID: <87zhcaatwy.fsf@wedjat.horus-it.com> * buscat at gmail.com: > Maybe Ubuntu 18.04 is not compatible? Read the sentence I pointed out, at least up to the first comma. You will have an a-ha moment, and maybe a chuckle. -Ralph From automx2 at seichter.de Sat Mar 21 19:13:48 2020 From: automx2 at seichter.de (Ralph Seichter) Date: Sat, 21 Mar 2020 19:13:48 +0100 Subject: Autodiscover case-sensitive In-Reply-To: <491c39a43f41d000ac547f7179696d35@cyberfusion.nl> References: <34dba61e82ffa332d6fbb78e58e00685@cyberfusion.nl> <87zhcduc5b.fsf@wedjat.horus-it.com> <491c39a43f41d000ac547f7179696d35@cyberfusion.nl> Message-ID: <87sgi1lgo3.fsf@wedjat.horus-it.com> * William Edwards: > I'm not sure about docs, but it's what the Microsoft Remote > Connectivity Analyzer looks for. I just realised that I forgot to answer. I don't currently have an Apache server available for testing, but the following should work: # Redirect a URI to an all-lowercase version of itself RewriteMap lc int:tolower RewriteRule "(.*)" "${lc:$1}" [R] Source: https://httpd.apache.org/docs/2.4/rewrite/rewritemap.html -Ralph From wedwards at cyberfusion.nl Mon Mar 23 10:50:41 2020 From: wedwards at cyberfusion.nl (William Edwards) Date: Mon, 23 Mar 2020 10:50:41 +0100 Subject: Autodiscover case-sensitive In-Reply-To: <87sgi1lgo3.fsf@wedjat.horus-it.com> References: <34dba61e82ffa332d6fbb78e58e00685@cyberfusion.nl> <87zhcduc5b.fsf@wedjat.horus-it.com> <491c39a43f41d000ac547f7179696d35@cyberfusion.nl> <87sgi1lgo3.fsf@wedjat.horus-it.com> Message-ID: I found that as well, but the challenge seems to be that Outlook does not always follow redirects (RewriteMap puts a redirect in place, a 301 I think). So I would need to instead pass a lowercase URL to automx2, instead of to the client. mod_speling is supposed to be able to do this, but seems to be broken in recent versions. That's why I think this should perhaps be 'fixed' in automx2. Met vriendelijke groeten, William Edwards T. 040 - 711 44 96 E. wedwards at cyberfusion.nl ? ----- Original Message ----- From: Ralph Seichter (automx2 at seichter.de) Date: 03/22/20 22:52 To: automx-users at sys4.de Subject: Re: Re[2]: Autodiscover case-sensitive * William Edwards: > I'm not sure about docs, but it's what the Microsoft Remote > Connectivity Analyzer looks for. I just realised that I forgot to answer. I don't currently have an Apache server available for testing, but the following should work: ?# Redirect a URI to an all-lowercase version of itself ?RewriteMap lc int:tolower ?RewriteRule "(.*)" "${lc:$1}" [R] Source: https://httpd.apache.org/docs/2.4/rewrite/rewritemap.html -Ralph From automx2 at seichter.de Mon Mar 23 18:59:30 2020 From: automx2 at seichter.de (Ralph Seichter) Date: Mon, 23 Mar 2020 18:59:30 +0100 Subject: Autodiscover case-sensitive In-Reply-To: References: <34dba61e82ffa332d6fbb78e58e00685@cyberfusion.nl> <87zhcduc5b.fsf@wedjat.horus-it.com> <491c39a43f41d000ac547f7179696d35@cyberfusion.nl> <87sgi1lgo3.fsf@wedjat.horus-it.com> Message-ID: <871rpjrlz1.fsf@wedjat.horus-it.com> * William Edwards: > That's why I think this should perhaps be 'fixed' in automx2. I have spent more time digging, and I still don't think it needs fixing in automx2. RFC 3986 states [1] that URI "generic syntax components are assumed to be case-sensitive unless specifically defined otherwise by the scheme", and Microsoft's own Autodiscover documentation [2] shows all-lowercase URLs. [1] https://tools.ietf.org/html/rfc3986#section-6.2.2.1 [2] https://docs.microsoft.com/exchange/architecture/client-access/autodiscover?view=exchserver-2019 Has anybody else here tested Microsoft products with automx2 ? -Ralph From Anke.Spiegel at rz.hs-fulda.de Tue Mar 24 12:46:20 2020 From: Anke.Spiegel at rz.hs-fulda.de (Anke Spiegel) Date: Tue, 24 Mar 2020 12:46:20 +0100 Subject: Antw: Re: Autodiscover case-sensitive In-Reply-To: <5E79BBFD020000A900062AF8@mailout.hs-fulda.de> References: <84645D120200008051C0AB20@mailout.hs-fulda.de> <98027529020000A40CDBF9F1@mailout.hs-fulda.de> <0FAF2AE7020000790CDBF9F1@mailout.hs-fulda.de> <5E79BBFD020000A900062AF8@mailout.hs-fulda.de> Message-ID: <5E79F30C020000A900062B3F@mailout.hs-fulda.de> Hi, for me AutoMX2 works with Thunderbird but I didn?t have any luck with Microsoft products myself. Is there a way to test Microsoft Autodiscover without the Outlook program and without having to log in with a real Account and Password? Like is there a command or a request I can send to the AutoMX2 and receive an XML back? How do you test it? What would it look like in the access.log if there was a success with a Microsoft product? This is my access.log with a successful Thunderbird Autoconfig: 172.16.01.01 - - [23/Mar/2020:14:21:17 +0100] "POST /autodiscover/autodiscover.xml HTTP/1.1" 400 224 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0" 172.16.01.01 - - [23/Mar/2020:14:21:17 +0100] "GET /mail/config-v1.1.xml?emailaddress=test%40oe.mydomain.de HTTP/1.1" 200 570 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0" 172.16.01.01 - - [23/Mar/2020:14:21:17 +0100] "POST /autodiscover/autodiscover.xml HTTP/2.0" 400 136 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0" I guess the success can be seen here in the 200 after the GET link. Is that right? This is what I see in the access.log when some people try with Microsoft products: 37.201.01.01 - - [13/Mar/2020:17:11:45 +0100] "GET /autodiscover/autodiscover.json?Email=firstname.lastname%40oe.mydomain.de&Protocol=Autodiscoverv1&RedirectCount=1 HTTP/1.1" 503 8000 "-" "Microsoft Office/16.0 (Windows NT 10.0; Microsoft Outlook 16.0.12527; Pro)" 37.201.01.01 - - [13/Mar/2020:17:11:45 +0100] "POST /autodiscover/autodiscover.xml HTTP/2.0" 503 488 "-" "Microsoft Office/16.0 (Windows NT 10.0; Microsoft Outlook 16.0.12527; Pro)" 37.201.01.01 - - [13/Mar/2020:17:11:45 +0100] "POST /autodiscover/autodiscover.xml HTTP/2.0" 503 421 "-" "Microsoft Office/16.0 (Windows NT 10.0; Microsoft Outlook 16.0.12527; Pro)" 37.201.01.01- - [13/Mar/2020:17:11:45 +0100] "GET /autodiscover/autodiscover.xml HTTP/1.1" 503 582 "-" "Microsoft Office/16.0 (Windows NT 10.0; Microsoft Outlook 16.0.12527; Pro)" 37.201.01.01 - - [13/Mar/2020:17:11:46 +0100] "GET /autodiscover/autodiscover.xml HTTP/1.1" 503 582 "-" "Microsoft Office/16.0 (Windows NT 10.0; Microsoft Outlook 16.0.12527; Pro)" There is no 200 here or in any of the other Microsoft Autodiscover requests. How do I know if they are successful? Thank you, Anke >>> Ralph Seichter 23.03.2020 18:59 >>> * William Edwards: > That's why I think this should perhaps be 'fixed' in automx2. I have spent more time digging, and I still don't think it needs fixing in automx2. RFC 3986 states [1] that URI "generic syntax components are assumed to be case?sensitive unless specifically defined otherwise by the scheme", and Microsoft's own Autodiscover documentation [2] shows all?lowercase URLs. [1] https://tools.ietf.org/html/rfc3986#section?6.2.2.1 [2] https://docs.microsoft.com/exchange/architecture/client?access/autodiscover?view=exchserver?2019 Has anybody else here tested Microsoft products with automx2 ? ?Ralph From automx2 at seichter.de Tue Mar 24 13:42:21 2020 From: automx2 at seichter.de (Ralph Seichter) Date: Tue, 24 Mar 2020 13:42:21 +0100 Subject: Autodiscover case-sensitive In-Reply-To: <5E79F30C020000A900062B3F@mailout.hs-fulda.de> References: <84645D120200008051C0AB20@mailout.hs-fulda.de> <98027529020000A40CDBF9F1@mailout.hs-fulda.de> <0FAF2AE7020000790CDBF9F1@mailout.hs-fulda.de> <5E79BBFD020000A900062AF8@mailout.hs-fulda.de> <5E79F30C020000A900062B3F@mailout.hs-fulda.de> Message-ID: <87h7ydorf6.fsf@wedjat.horus-it.com> * Anke Spiegel: > Is there a way to test Microsoft Autodiscover without the Outlook > program and without having to log in with a real Account and Password? I know that a colleague of mine has been working on an independent test utility, but I am not sure if it is finished yet. I've sent him an email to ask for the status and will let you know when he answers. > How do you test it? See https://gitlab.com/automx/automx2/-/tree/master/tests for the complete set of unittests I employ. Additionally, I use Postman (https://www.postman.com) and curl. > What would it look like in the access.log if there was a success with > a Microsoft product? On the server side, HTTP code 200 indicates that an incoming request has been successfully processed. > 37.201.01.01 - - [13/Mar/2020:17:11:45 +0100] "GET > /autodiscover/autodiscover.json?Email=firstname.lastname%40oe.mydomain.de&Protocol=Autodiscoverv1&RedirectCount=1 > HTTP/1.1" 503 8000 "-" "Microsoft Office/16.0 (Windows NT 10.0; > Microsoft Outlook 16.0.12527; Pro)" JSON based requests are not supported, the observed error code is therefore expected. > 37.201.01.01 - - [13/Mar/2020:17:11:45 +0100] "POST > /autodiscover/autodiscover.xml HTTP/2.0" 503 488 "-" "Microsoft > Office/16.0 (Windows NT 10.0; Microsoft Outlook 16.0.12527; Pro)" POST is the correct request type, and /autodiscover/autodiscover.xml is the expected path. The reason for return code 503 cannot be determined based on the web server's log, but the automx2 log should provide more information. -Ralph