Where does your commune host email? I did an analysis via DNS records and plotted it on a map:

https://mxmap.ch/

This is an early version, looking for feedback πŸ‘€

#digitalsovereignty #dns

MXmap β€” Email Providers of Swiss Municipalities

Interactive map showing where Swiss municipalities host their official email. DNS analysis of all ~2,100 municipalities, color-coded by provider.

MXmap
@davidhuser As i see and look through some entries, there are perhaps some corrections. ex. seppmail.cloud entries are only a mx relay server for spam/virus check mails and encrypt/decrypt smime mails as i know. Behind it can still be office 365, another provider or selfhosted.
@Beleggrodion thanks, looking into it, and how to reflect them on the map
@Beleggrodion I updated the pipeline to look for gateways and use a neat autodiscover check suggested by another reply here. More M365 now
@davidhuser A lot of them have spf.protection.outlook.com in their SPF which means that there is a high probability that the mailboxes are actually hosted on M365 but they use a (cloud-hosted) mail security gateway like SEPPMail or cleanmail et al.
I just checked some and the map should be a lot more red IMHO.
@faebudo thanks! I updated it to look for these gateways and if the spf record is M365 itβ€˜s flagged as such
@davidhuser You could also have a look at the autodiscover.example.net DNS record to get an idea about where mailclients will be connecting to. This would help to identify the infrastructure of municipalities who use gateways to receive as well as send mail.
@faebudo thanks a lot for your idea, I could identify some more M365 by the autodiscovery approach (from 992 to 1057 now).
@faebudo I believe to have fixed these issues on https://mxmap.ch by introducing a confidence score instead of binary classification
MXmap β€” Email Providers of Swiss Municipalities

Interactive map showing where Swiss municipalities host their official email. DNS analysis of all ~2,100 municipalities, color-coded by provider.

MXmap
@davidhuser Great idea for an important topic. Awesome work. Thanks.

@davidhuser

https://hackerpublicradio.org/eps/hpr4379/index.html

Is the idea based on this project?

This was done for many countries in Europe-but I find it less visually impressing than your map of Switzerland.

HPR4379::Mapping Municipalities' Digital Dependencies

Hacker Public Radio is a podcast that releases shows every weekday Monday through Friday. Our shows are produced by the community (you) and can be on any topic that is of interest to hackers and hobbyists.

@datenschatz Iβ€˜ve seen the map but not the code or blog, will put a ref into the readme file, thanks! Yes I thought areas are more explanatory