Android – Mailcow in K-9 Mail
In K-9 Mail, add an account, enter your mailbox address and open manual setup. Choose IMAP as the account type. The screenshots show the K-9 Mail 6.400 wizard. Newer releases may arrange the fields differently.
Copy the server hostname from your hosting activation email. Use your full mailbox address to sign in to both servers. If you created an app password for this device, enter it in both password fields. Mailcow app passwords.
Incoming mail
Enter your hostname in IMAP server. Set Security to SSL/TLS, use port 993 and select Normal password. Leave automatic IMAP namespace detection enabled and continue.

Outgoing mail
Enter the sending hostname in SMTP server. Choose SSL/TLS and port 465. If you use port 587, choose STARTTLS. Enable Require sign-in, check the full email address and enter the password. Tap Next to test the settings and finish setup.

Test the connection
Send a message to another address and reply from that account. If the reply appears in SOGo but the app does not receive it, check IMAP. If the original message stays in the outbox, check the SMTP port, encryption and sign-in settings.