Hello all

I've installed cyrus-imapd-2.1.13, cyrus-sasl-2.1.13 on FreeBSD 4.8
box.
In imapd.conf I have:
configdirectory:        /var/imap
defaultpartition:       default
partition-default:      /var/spool/imap
unixhierarchysep:       yes
allowplaintext:         yes
admins:                 cyrus [EMAIL PROTECTED]
sasl_pwcheck_method:    auxprop
lmtpsocket: /var/imap/socket/lmtp

I've added to sasldb2 2 user:
# sasldblistusers2
[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: userPassword

The 1st problem:
cyradm --user cyrus localhost
says
    cyradm: cannot authenticate to server with  as cyrus
Corresponding message in syslog:
    badlogin: localhost[127.0.0.1] DIGEST-MD5 [SASL(-13): user not found: no secret in 
database]

cyradm --user [EMAIL PROTECTED] localhost
says the same but in syslog I see
badlogin: localhost[127.0.0.1] DIGEST-MD5 [SASL(-13): authentication failure: 
cross-realm login [EMAIL PROTECTED] denied]

cyradm --user cyrus --auth login localhost
says
badlogin: localhost[127.0.0.1] plaintext cyrus SASL(-13): user not found: checkpass 
failed

Only
cyradm --user [EMAIL PROTECTED]@host.domain.tld --auth login localhost
works

What is wrong?
How can I authenticate in cyradm with cyrus? Or it is impossible?

The 2nd problem:
I've created mailbox test. But imtest works only as
imtest -a [EMAIL PROTECTED] -m login localhost
Other combinations don't work:
imtest -a [EMAIL PROTECTED] localhost says
badlogin: localhost[127.0.0.1] DIGEST-MD5 [SASL(-13): authentication failure: 
cross-realm login [EMAIL PROTECTED] denied]

imtest -a test localhost says
badlogin: localhost[127.0.0.1] DIGEST-MD5 [SASL(-13): user not found: no secret in 
database]

So what is wrong?
Please help!

With respect,
Pavel

Reply via email to