sasldb problem with imapd

Troex Nevelin nevelin at mail.ru
Mon Nov 24 17:19:23 EST 2003


I'm trying to create virtual users in cyrus-imapd-2.1.12 with sasl using
unixhierarchysep: yes in /etc/imapd.conf to create usernames like
user at host.net. What I did:

$ /usr/local/sbin/saslpasswd2 troex at evil.openbsd.ru
Password:
Again (for verification):
$ cyradm --user cyrus --auth cram-md5 --server fury.scancode.ru
Password:
fury.scancode.ru> cm user/troex at evil.openbsd.ru
fury.scancode.ru> quit

then login fails and I get this in logs:
Nov 25 00:55:48 fury pop3d[27404]: badlogin: xxx.xxx.xxx.xxx plaintext
troex at evil.openbsd.ru SASL(-13): user not found: checkpass failed
Seems like sasldb cannot handle usernames with '@' because if i create
user like: 'troex' everything works fine.

/etc/imapd.conf:
 admins: cyrus
configdirectory: /var/imap
partition-default: /var/spool/imap
sasl_pwcheck_method: auxprop
sendmail: /usr/sbin/sendmail
sievedir: /var/imap/sieve
unixhierarchysep: yes

$ /usr/local/sbin/sasldblistusers2
cyrus at fury.scancode.ru: cmusaslsecretOTP
cyrus at evil.openbsd.ru: userPassword
cyrus at fury.scancode.ru: userPassword
cyrus at evil.openbsd.ru: cmusaslsecretOTP
troex at evil.openbsd.ru@fury.scancode.ru: userPassword
troex at evil.openbsd.ru: cmusaslsecretOTP

I can't understand where is error... what I did wrong?

-- 
      born to create future
Troex Nevelin (troex at post.ru)




More information about the Info-cyrus mailing list