Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2005 11:34:07 +0200
From:      Erik Norgaard <norgaard@locolomo.org>
To:        Vladimir Dvorak <dvorakv@vdsoft.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cyrus-imap + virtualdomains
Message-ID:  <4327EE8F.4040200@locolomo.org>
In-Reply-To: <4327E94F.2020703@vdsoft.org>
References:  <432693A9.5010706@vdsoft.org> <4326998C.1080600@locolomo.org> <43269C73.30003@vdsoft.org> <43269EFF.8060501@vdsoft.org> <4326A9F1.2040507@locolomo.org> <4326C2F5.2000304@vdsoft.org> <4326D127.5010403@locolomo.org> <4326D2BB.2030209@vdsoft.org> <4326D583.7060704@locolomo.org> <4327DD31.1020602@vdsoft.org> <4327E607.1010809@locolomo.org> <4327E94F.2020703@vdsoft.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Vladimir Dvorak wrote:

> Erik, we both are about to solve the problem. ;-) Yes, you are probably
> right. When I cyradm -u cyrus, I have in maillog:
> 
> Sep 14 09:08:37 devel imap[9491]: badlogin: localhost.localdomain
> [127.0.0.1] plaintext cyrus@localdomain SASL(-13): user not found:
> checkpass failed
> 
> When I add cyrus@localdomain, it will manage 'localdomain' users and I
> will be on the same place (probably, for now not tried). :-( Erik, how
> can I log as cyrus without domain ?

Please post your imapd.conf (remove comments) - I posted mine yesterday. 
  Check the content of the admins entry, does it specify domain?

I think that cyradm authenticates against sasldb and not system password 
(or maybe falls back on system password) - this I understand - is to 
separate ordinary users and administrators - but can also be quite 
annoying.

If you have added an entry to sasldb with saslpasswd2 then it could be 
for the "devel" realm.

You can try to rename sasldb and see what happens, then if it doesn't 
work create it with new entries where you make sure not to specify realm:

   # saslpasswd2 cyrus

Also, reading above there may be a difference between:

   # cyradm -u cyrus

and

   # cyradm -u cyrus localhost

Cheers, Erik

-- 
Ph: +34.666334818                                  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4327EE8F.4040200>