OK, the issue is similar to what I’d suspected above, but with a bit of nuance. You have an access rule in dnshelper that lets automx read/write CNAME and SRV records with certain values, but only for the gaillet.be zone. Your second rule covers all values for all zones, but only CNAME records. If you add ateliersaule.fr to the first rule, you should be able to “check again” and have automx see the record.
I’ll see about making automx complain more usefully about this kind of situation.
Actually it’s not clear whether automx needs dnshelper. Is it needed to check for the records configuration ?
I tried without it at first and hit that problem record “missing” problem. Then I installed dnshelper expecting the module to would configure the records correctly for me but I was in a hurry and missed the SRV setting.
Wouldn’t be wise to include the calendars and adress book configurations at the domain level instead of the general parameters ? I’d like one each of my domain to be directed to the right nextcloud instance, which is not possible right now if I’m not mistaken.
It doesn’t. If dnshelper is present, automx uses it both to add records and to check for their presence; if dnshelper isn’t present, automx checks the records using the system’s DNS resolvers. Things are easier IMO with dnshelper (which is why I developed it), but it isn’t needed.
I’ve made updates to dnshelper and automx that should make it a bit easier to spot the kind of issue you had–those should hit the repo shortly.
An open question at this point is why automx didn’t see the SRV record before you installed dnshelper. If you’d like to revert to that situation and test, I’ll see what I can find, but I don’t want to disrupt your running system either.
That sounds like a good idea I hadn’t considered. You’re right that right now it’s a global configuration. I’ve added it to the roadmap and will see about including it in 0.3.
I installed the app to give it a go and successfully set it up with four email domains. So far, so good. But now, all of a sudden, I’ve got 30 entries in the app launcher that I can tap on. Is that how it’s meant to be?
They have different names. It’s always “autodiscover” or „autoconfig“ followed by the relevant domain. But I just discovered that you can hide the entries in the Launcher app.
I selected ‘Sign Apple profiles’ and also specified my SogoI instance for Calendar, Contacts and ActiveSync. When I now try to install the downloaded profile on my iPhone, it asks me for a password for the CalDAV/CardDAV settings. I then enter my account password and receive this error message:
The operation could not be completed.
(DAAccountValidationDomain error 100.)
Could this be due to the two-factor authentication (2FA) that I’ve enabled on my SOGo instance?
One more question. I’ve blocked unauthorised access from outside my network by configuring the relevant internal networks in the traffic settings. Is that the right way to go about it? I certainly don’t want anyone causing trouble from the internet,
OK, then 2FA isn’t likely to be the issue. Can you go into the profile on the phone, in the CalDAV and CardDAV accounts, and see what it shows for the username, server, and URL? Or DM me the profile directly (it doesn’t contain passwords by design, but would it could contain username and server information). Also take a look in the logs–SOGo should log any failed logins, and Traefik (filtered to SOGo’s hostname) should indicate whether it’s seeing the login traffic at all.
Apparently that was a gap in my testing, because when I try the same thing on an iPhone, I get the same error–which means I can work on it directly. Let me see what I can find.
2026-11-08 20:10:49.700 sogod[101:101] File NSRegularExpression.m: 275. In -[NSRegularExpression initWithPattern:options:error:] Warning: this implementation of NSRegularExpression uses -enumerateMatchesInString:options:range:callback:context: as a primitive method rather than the blocks-dependtent method used by Apple. If you must subclass NSRegularExpression, you must bear that difference in mind
For reasons unknown, the iPhone is requesting https://<SOGO_HOST>/.well-known/caldav rather than what it’s told to request, which is https://<SOGO_HOST>/SOGo/dav. A bug in SOGo’s Apache config then redirects to http://<SOGO_HOST>/SOGo/dav, the iPhone won’t follow the redirect from HTTPS to HTTP, causing this problem.