I'm running my own mail server setup:
- IMAP: Dovecot
- SMTP: Postfix
There are 4 clients which retrieve emails via IMAP:
- iOS (Default client: Apple Mail)
- Android (Default client)
- Mac (Default client: Apple Mail)
- Windows (Thunderbird)
The problem: I don't want these mail clients to trust anybody except my server's certificate. (MITM risk w/ compromised CA)
Is there a way to "untrust" all certificates, which were shipped by default (only for SMTP/IMAP)?
Also is there something like HPKP (HTTP-Public-Key-Pinning) for IMAP?
My domain and Mail Clients don't "support" DNSSEC, that's why I can't use DANE.
It seems that only Thunderbird has an add-on ("Certificate Patrol") which allows what I want. However this is useless, as my other three mail clients don't have a similar add-on.
It's enough if an attacker is able to MITM's one Mail Client to get my password..
Maybe I should switch to something like *-Challenge-Response instead of plain password authentication?