´Great, I think I got it! The next days I'll try it!
I've no idea what I have to do to get the CRAM-MD5 stuff running!
if you want to use CRAM-MD5, you have to add all your users to sasldb using saslpasswd2. Then you need to change /etc/imapd.conf so that it uses sasldb and offers CRAM-MD5:
sasl_pwcheck_method: auxprop sasl_mech_list: DIGEST-MD5 CRAM-MD5 PLAIN LOGIN
Mozilla should be able to use it after that. saslauthd doesn't support CRAM-MD5.
Thanks Hajo