I'm trying to install Cyrus with SASL for authentication. I'm struggling getting logins to work properly though. I'm trying to setup virtual hosting, as we'll have several domains worth of email on this host.
In my imapd.conf:
sasl_pwcheck_method: auxprop
virtdomains: true
defaultdomain: fqdn.example.com
From sasldblistusers2
:
[email protected]: userPassword
I have a mailbox called user.matt
, and I tried creating [email protected]
and I got an error saying the mailbox already exists. With this setup, I am able to login using imtest localhost -m DIGEST-MD5 -a matt
, however I am unable to using imtest localhost -m DIGEST-MD5 -a [email protected]
. There is also not a UNIX user called matt
on the system. Does anyone have any idea what I am missing?
Exact error from syslog:
imap[23310]: badlogin: localhost [127.0.0.1] DIGEST-MD5 [SASL(-13): user not found: no secret in database]
Do you have this in your imapd.conf?
(imapd.conf man page tells you this):