dovecot说,userdb有缺less的细节

当我尝试通过outlook连接到dovecot时,我得到这个错误:

ERR:[AUTH]:validation失败

这里是日志文件:

Sep 16 12:23:32 hostname9727 dovecot: auth: Error: passwd-file /etc/maillpass: User aaaa is missing userdb info Sep 16 12:23:35 hostname9727 dovecot: pop3-login: Disconnected (auth failed, 1 attempts in 2 secs): user=<aaaa>, method=PLAIN, rip=77.114.47.11, lip=30.220.108.9, session=<oF81YqI83gBNfC8L> Sep 16 12:26:02 hostname9727 dovecot: master: Warning: Killed with signal 15 (by pid=14751 uid=0 code=kill) Sep 16 12:26:02 hostname9727 dovecot: master: Dovecot v2.2.10 starting up for imap, pop3 (core dumps disabled) Sep 16 12:26:11 hostname9727 dovecot: auth: Error: passwd-file /etc/maillpass: User aaaa is missing userdb info Sep 16 12:26:13 hostname9727 dovecot: pop3-login: Disconnected (auth failed, 1 attempts in 2 secs): user=<aaaa>, method=PLAIN, rip=77.114.47.11, lip=30.220.108.9, session=<ykSja6I8AQBNfC8L> 

这里是密码数据库:

 aaaa:1234 

谢谢!

 aaaa:1234 

这不是一个用户数据库 ,因为错误消息指出你明显缺less那里的几个字段。

这种格式确实可以是密码数据库,但是您仍然需要在configuration文件中定义通常在用户数据库中find的其他必填字段。 请参考手册: http : //wiki.dovecot.org/AuthDatabase/PasswdFile如何使用密码数据库作为模板来派生userdb字段。

最后,你可能已经混淆了你的密码哈希值,但是如果用户aaaa的明文密码应该是1234我会期望如下所示:

 aaaa:{plain}1234