> Your principial in keytab should look like this - > imap/mail.example.com at EXAMPLE.COM > Make sure your realm name are all CAPS, otherwise it won't work. Thank you, Captain Obvious.