当我试图通过outlook连接到dovecot时,我得到了以下错误:
错误:八月:身份验证失败
以下是日志文件:
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谢谢!
发布于 2016-09-16 17:15:14
aaaa:1234这不是一个用户数据库,因为错误消息表明您显然遗漏了几个字段。
这种格式确实可以是一个密码数据库,但是您仍然需要在配置文件中定义通常在用户数据库中找到的其他必需字段。请参考手册:http://wiki.dovecot.org/AuthDatabase/PasswdFile如何使用密码数据库作为模板来派生userdb字段。
最后,您可能已经混淆了密码哈希,但是如果用户aaaa的明文密码应该是1234,我希望这样做:
aaaa:{plain}1234https://serverfault.com/questions/803587
复制相似问题