我试图安装赛勒斯与SASL进行身份validation。 我努力让login正常工作。 我正在尝试设置虚拟主机,因为我们将在这个主机上有几个域值的电子邮件。
在我的imapd.conf中:
sasl_pwcheck_method: auxprop virtdomains: true defaultdomain: fqdn.example.com
来自sasldblistusers2 :
[email protected]: userPassword
我有一个名为user.matt的邮箱,我试图创build[email protected]并且出现错误,表示邮箱已经存在。 有了这个设置,我可以使用imtest localhost -m DIGEST-MD5 -a mattlogin,但是我无法使用imtest localhost -m DIGEST-MD5 -a [email protected] 。 系统上也没有一个名为matt的UNIX用户。 有没有人有任何想法我失踪?
系统日志中的确切错误:
imap [23310]:badlogin:localhost [127.0.0.1] DIGEST-MD5 [SASL(-13):未find用户:数据库中没有秘密]
你在imapd.conf中有这个吗?
loginrealms: fqdn.example.com
(imapd.conf手册页告诉你这个):
loginrealms: <empty string> The list of remote realms whose users may authenticate using cross-realm authentication identifiers. Seperate each realm name by a space. (A cross-realm iden‐ tity is considered any identity returned by SASL with an "@" in it.) Note that to support multiple virtual domains on the same interface/IP, you need to list them all as loginreals. If you don't list them here, your users probably won't be able to log in.