Ken Murchison wrote: >This is most likely your problem. Make sure that your hostname is fully >qualified, so that saslpasswd2 creates secrets with >mail.rent-a-mailserver.de as the realm, or just leave it alone and let >it use 'mail' as the realm. In either case, Cyrus/SASL should do the >"right thing". > Ok! Actually I got it working! If authenticating without an @ symbol I got SASL(-13) user not found all the time and that was only because the user was searched against the realm with the fully qulalified domain-name of the server.
root-17:24:45:/ >sasldblistusers2 [EMAIL PROTECTED]: userPassword [EMAIL PROTECTED]: userPassword schulte@mail: userPassword schulte@imap: userPassword After adding [EMAIL PROTECTED] it works with this imapd.conf file: configdirectory: /var/imap partition-default: /var/spool/imap servername: imap.rent-a-mailserver.de admins: schulte defaultdomain: rent-a-mailserver.de sasl_pwcheck_method: auxprop sasl_auxprop_plugin: sasldb sasl_allowanonymouslogin: no sasl_allowplaintext: yes #sasl_mysql_use: smtp #sasl_mysql_passwd: smtp #sasl_mysql_hostnames: inforeg.epag.net #sasl_mysql_database: jboss #sasl_mysql_statement: select password from SASLUser where login='%u' and domain='%r' #sasl_mysql_verbose: yes tls_cert_file: /usr/local/var/imap/server.pem tls_key_file: /usr/local/var/imap/server.pem tls_ca_file: /usr/local/var/imap/CAcert.pem idlesocket: /usr/local/var/imap/socket/idle unixhierarchysep: yes virtdomains: yes altnamespace: no All other users cannot login ! I do not quite understand why the schulte@imap realm does not work but [EMAIL PROTECTED] does ! Thanks a lot for your help!
