cyrus--imapd virtual domains

A Clockwork Orange leo at cfe.ru
Sat Oct 28 11:16:22 EDT 2006


Hi 

# uname -a
OpenBSD mow.strs.ru 3.9 GENERIC#617 i386
#

# sasldblistusers2
leo at cfe.ru: cmusaslsecretOTP
admin at mow.strs.ru: cmusaslsecretOTP
leo at strs.ru: cmusaslsecretOTP
1 at strs.ru: userPassword
leo at cfe.ru: userPassword
admin at mow.strs.ru: userPassword
leo at strs.ru: userPassword
1 at strs.ru: cmusaslsecretOTP
#

# cyradm -u admin localhost
Password:
localhost.strs.ru> lm
user.1 (\HasNoChildren)           user.leo at cfe.ru (\HasNoChildren)
user.leo (\HasNoChildren)
localhost.strs.ru> exit
#

 cat /etc/imapd.conf
# $OpenBSD: imapd.conf,v 1.1.1.1 2005/03/27 18:01:50 alek Exp $
# imapd.conf(5)

configdirectory: /var/imap
partition-default: /var/spool/imap
sievedir: /var/sieve
sendmail: /usr/sbin/sendmail
admins: admin
lmtpsocket: /var/imap/socket/lmtp
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sasldb
#sasldb_path: /etc/sasldb2.db
sasl_mech_list: PLAIN LOGIN DIGEST-MD5 CRAM-MD5
#allowplaintext: 1
defaultdomain: strs.ru
virtdomains: userid
loginrealms: strs.ru cfe.ru


BUT!!!!

imtest fot virtual leo at cfe.ru - GOOD!

# imtest -m login -a leo at cfe.ru localhost
S: * OK mow.strs.ru Cyrus IMAP4 v2.2.12 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE AUTH=DIGEST-MD5 AUTH=CRAM-MD5 SASL-IR LISTEXT LIST-SUBSCRIBED
S: C01 OK Completed
Please enter your password:
C: L01 LOGIN leo at cfe.ru {1}
S: + go ahead
C: <omitted>
S: L01 OK User logged in
Authenticated.
Security strength factor: 0
^CC: Q01 LOGOUT
Connection closed.
#

imtest for defaultdomain user leo at strs.ru - FAILD!!!!!

# imtest -m login -a leo at strs.ru localhost
S: * OK mow.strs.ru Cyrus IMAP4 v2.2.12 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE AUTH=DIGEST-MD5 AUTH=CRAM-MD5 SASL-IR LISTEXT LIST-SUBSCRIBED
S: C01 OK Completed
Please enter your password:
C: L01 LOGIN leo at strs.ru {1}
S: + go ahead
C: <omitted>
S: L01 NO Login failed: user not found
Authentication failed. generic failure
Security strength factor: 0
^CC: Q01 LOGOUT
Connection closed.
#

OR for user leo

# imtest -m login -a leo localhost
S: * OK mow.strs.ru Cyrus IMAP4 v2.2.12 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE AUTH=DIGEST-MD5 AUTH=CRAM-MD5 SASL-IR LISTEXT LIST-SUBSCRIBED
S: C01 OK Completed
Please enter your password:
C: L01 LOGIN leo {1}
S: + go ahead
C: <omitted>
S: L01 NO Login failed: user not found
Authentication failed. generic failure
Security strength factor: 0
^CC: Q01 LOGOUT
Connection closed.
#

What is heppening!!!!???
Have you any idias?




More information about the Info-cyrus mailing list