Dovecot 无法登录 Roundcube

Dovecot failing to login Roundcube

下午好。我一直在尝试让带有 Postfix 和 Dovecot 的 Roundcube 为我 运行 的社区工作。我已经创建了一个帐户并尝试使用 Roundcube 及其已安装的帐户连接到它。 Roundcube 安装程序说它登录正常,但 Roundcubes 登录面板简单地指出,登录失败。

Dovecot -n

auth_mechanisms = plain login
disable_plaintext_auth = no
first_valid_uid = 1000
mail_location = maildir:~/Maildir
mbox_write_locks = fcntl
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix =
}
passdb {
  driver = pam
}
service auth {
  unix_listener auth-userdb {
    group = postfix
    user = postfix
  }
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
  driver = passwd
}
systemctl 状态 dovecot -l

Oct 05 18:59:22 ns3032553.ip-91-121-79.eu dovecot[30034]: master: Dovecot v2.2.10 starting up for imap, pop3, lmtp (core dumps disabled)
Oct 05 18:59:30 ns3032553.ip-91-121-79.eu dovecot[30037]: imap-login: Login: user=<holmes.k>, method=PLAIN, rip=::1, lip=::1, mpid=30045, secured, session=<QYPXpc9a4AAAAAAAAAAAAAAAAAAAAAAB>
Oct 05 18:59:30 ns3032553.ip-91-121-79.eu dovecot[30037]: imap(holmes.k): Disconnected: Logged out in=29 out=466

谢谢,我期待任何建议,我可以根据要求提供任何其他日志。

我启用了自动帐户创建功能,解决了这个问题。我已经禁用它,假设它可以让任何人拥有一个帐户,但它实际上意味着如果有一个系统用户具有相同的名称和密码,它将为他们生成一个电子邮件帐户。