Also, I've done more research and the number of bindings allowed when using kernel-mode authentication has a limit is 64 bindings per Virtual Web Site. If you add 65 or more bindings, IIS will show “401.2 Unauthorized: Logon Failed Due to Server Configuration with No Authentication” error even though the credentials you submit are correct. I believe anonymous authentication, used with IIS APP POOL, counts toward this limit.
I already have 24 Bindings for old and new style DNS names for webmail, imap, smtp, and pop plus you need both http and https. Then going with a proper autodiscover setup for MAPI each client will require four bindings autodiscover.<customer-domain> and webmail.<customer-domain> depending on what you want to call it for both http and https.
The reason for adding the imap, smtp, and pop is so that I can use ACME to manage my Certs. I simply copy over the certs when they change to the cert folder referenced in SmarterMail Bindings.
I think it is time that SmarterMail add to the road-map management of the Certificates. First I would like to see full support of ACME Certs. This is not only an issue for the Web Server, however, also for xmpp, imap, smtp, and pop.
Plus SmarterMail can easily test all of the autodiscover options and then generate the Certs for ACME like it does for DKIM. By using ACME's Web Authentication via .well-known you don't need DNS integration which is difficult given the dozens of DNS implementations.
Also, with the limit of 64 Bindings you also have the issue with 100 Alternative Subject Names for ACME and this another limit from approaching the max limit of SmarterMail licenses. I have 250 eMailbox license and we are moving more and more folks over to MAPI for lots of good reasons -- one is better security. We want to drop IMAP and POP plus MAPI is superior to IMAP.
The one way to solve all of these scaling issues is with some kind of Proxy or multiple bindings that all point to the MRS Folder. Microsoft has offered up YARP 2.0 (Yet Another Reverse Proxy) Engine which is Open Source and might be a viable solution. Here you could create a Proxy per client that needs MAPI. Each Client's proxy would have four entires: autodiscover.<customer-domain> and webmail.<customer-domain> depending on what you want to call it for both http and https. You likely would want to redirect non-https requests to https.
Anyway, I am thinking ahead. Also, you have other limits like the number of Virtual Web Sites which defaults to 100 for the number of web sites after which immediate activation is disabled and dynamic activation is enforced. You can change this default, however, with more and more MAPI usage folks are going to need to have a cluster of SmarterMail Servers some running just MRS to implement MAPI and ActiveSync.
SmarterMail already supports for this kinda of concept with
https://help.smartertools.com/smartermail/current/topics/systemadmin/misc/gateways.aspx, however, we need to consider doing the same thing for MAPI and ActiveSync.