2017-10-05 178 views
0

下午好。我一直試圖讓Postfix和Dovecot的Roundcube爲我運行的社區工作。我創建了一個帳戶並嘗試使用Roundcube及其安裝的連接到它。 Roundcube安裝程序表示它可以正常登錄,但Roundcubes登錄面板狀態簡單,登錄失敗。Dovecot未能登錄Roundcube

達夫科特-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

謝謝你,我期待着任何建議,我可以提供其他任何登錄請求。

回答

0

我啓用了自動帳戶創建解決了問題。我已經禁用了它,假設它可以讓任何人擁有一個帳戶,但實際上它的意思是如果有一個系統用戶使用相同的名稱和密碼,它將爲他們生成一個電子郵件帳戶。