iPhone client issues connecting to MDaemon

We have an MDaemon mail server and I have set up all the Autodiscovery DNS items per MDaemon’s instructions. I have no problem setting up Android phones w/ the client’s automatic setup option.

On the iPhone, however, two out of the three iPhones we’ve tried setting up have an issue. I’ve tried setting up the iPhones both on and off our network WiFi. Same result

On the good iPhone (running iOS 26.2), after entering your email and clicking “Automatic”, it prompts for your password, asks all the other questions, and boom – you’re set up.

One the other two iPhones (one running iOS 26.5 - I don’t know about the other one), after entering your email and clicking “Automatic”, it asks to assign an account name, encryption optiosn, avatar/sync/notify options, then the finish button. Clicking that causes a pop-up that says "eM Client Wants to Use “login.microsoftonline.com " to Sign In”

Now, all the users have MS365 accounts that have the same name as their MDaemon email address – ie, John Smith at company.com has an MDaemon email address of [email protected] and their MS365 account user name is [email protected] – but we are not using 365 for anything except managing Office licenses.

As I’ve said, DNS-wise, we have a CNAME autodiscover pointing to mail.company.com, and SRV enrties for _airsysnc._tcp.@, _autodiscover._tcp.@, _caldav._tcp.@, _caldavs._tcp.@, _carddav._tcp.@, _carddavs._tcp.@, _imap._tcp.@, _imaps._tcp.@, _smtp._tcp.@, _smtps._tcp.@

So, why are some iPhones not finding our MDaemon server, and looking to Microsoft instead?

Thanks!

Dave

If only some of your iPhones are not connecting to the same MDaemon server via the automatic account setup and not some other mobile clients, suggest you try to manually setup the accounts in the mobile app via “Menu / Accounts / Add Account / Manual Setup” and choose either “Outlook, Exchange” or “Other” depending on if they are Outlook, Exchange or IMAP accounts.

If the manual setup options also don’t work then you would have two options.

1). If you have setup eM Client for desktop for each iPhone user and their email accounts are logging in ok on the desktop, then on each of the desktop clients go to “Menu / Tools / QRExport” and “select accounts” and any other options you want to export on the wizard and follow the wizard till you get to the end. Then at the end you will see the QR Code appear.

Then open the eM Client mobile app and press “Menu / Settings / Import / Export”. Then press “Import via QRCode” and scan the desktop code that appears, which will then import those exact same accounts & should work.

2). If the other iPhone users don’t have the desktop client installed or the manual option doesn’t work and you have only just setup the mobile app for the first time, then suggest you email [email protected] and link this thread with what you have already tried, as sounds like you will need your mobile logs checked for each of those iPhones as to why they are fail to connect.

This is only a free community user forum and not official support.

Thanks – I’ll try setting up a desktop client for one of them and see what happens – that’ll at least help inform things. I appreciate the assistance!

FYI, I set up the desktop client and created the QR code as you suggested – and that worked… or so it seemed.

But it was taking a really long time to scan for the email folders.

Then I had an inspiration… I checked, and the phone was connected to our guest wifi, not the office wifi. I fixed that, and boom! Everything appeared.

I have a feeling that that was the real problem all along!

Thanks for your help!