This isn’t a step-by-step guide but provides some notes from my trial and frequent error.
Client
- If you have credentials for more than one Kerberos realm, make sure your Default identity (in KfW) is set to the realm you want Thunderbird to authenticate to. You can set this by right-clicking on the identity. If you change which identity is your default, restart KfW.
- In Thunderbird, go to Options –> Advanced –> Config Editor. Toggle the value
network.auth.use-sspitofalse. Restart Thunderbird - For your account settings, you must use a fully qualified domain name (not just a host name or an IP address).
KDC
- Add principal
imap/mailserver.yourdomain.com - Extract
imap/mailserver.yourdomain.cominto mailserver.yourdomain.com’s keytab
Mail Server
- Read and understand completely the Cyrus IMAP documentation!
- On your mail server (where Cyrus imapd is running… which you built to support Kerberos 5 via GSSAPI…),
/etc/imapd.confcannot specify asasl_minimum_layeras Thunderbird does not support even layer 1. - The relevant options I use are:
allowplaintext: false
force_sasl_mech: gssapi
sasl_log_level: 4
Thanks to Ken Hornstein and Jeffrey Altman for their help.
Maybe see also: bugzilla.mozilla.org







