Mailcow in Outlook on iPhone
Add your mailbox in Outlook
Open Microsoft Outlook on your iPhone and tap Add Account. If you already use another mailbox, tap your profile icon and open Settings → Accounts → Add Account. Enter your full Mailcow email address. Choose IMAP on the provider screen. If Outlook suggests Exchange, use the option to change providers.
Turn on Use Advanced Settings to see both server sections. Have the hostnames from your hosting activation email ready. If you created an app password for this iPhone, use it for both receiving and sending. Mailcow app passwords.
Incoming mail (IMAP)
Under IMAP Incoming Mail Server, enter your incoming hostname in IMAP Hostname. Set IMAP Port to 993 and choose SSL under Port Security (some versions label it SSL/TLS). Enter your full mailbox address in IMAP Username and your mailbox or app password in IMAP Password.

Outgoing mail (SMTP)
Scroll to SMTP Outgoing Mail Server. Enter the sending hostname from your activation email in SMTP Hostname. Set SMTP Port to 465 with SSL under Port Security. If your activation details specify port 587, select STARTTLS for that port.
Fill in SMTP Username and SMTP Password as well. The outgoing server requires your full mailbox address and the same password you entered for IMAP. Tap Sign In.

Test receiving and sending
Send a message from the new mailbox to a second address and reply from that address. If the message stays in the outbox, check the SMTP port, encryption and username. If the reply appears in SOGo but not in Outlook, check the IMAP settings.
Microsoft’s IMAP setup instructions · Screenshot source – Namecheap.