作者 主題: 請問roundcube webmail 如何設定 home 目錄為mailbox  (閱讀 3583 次)

0 會員 與 1 訪客 正在閱讀本文。

jonathan_lwo

  • 活潑的大學生
  • ***
  • 文章數: 323
    • 檢視個人資料
各位前輩好

系統為: centos8
mail為postfix

roundcube 版本為1.4.4

請問roundcube webmail 如何設定 home 目錄為mailbox ?
這台EMail 目前可寄信,收信時用roundcube webmail 沒有信件資料
在roundcube 的目錄中不知到那設定抓取mailbox 的設定

然後在home 目錄下的user 帳號中,下ls 是可看到一堆信件檔案


以下是postfix 的檔案片斷
# DELIVERY TO MAILBOX
#
# The home_mailbox parameter specifies the optional pathname of a
# mailbox file relative to a user's home directory. The default
# mailbox file is /var/spool/mail/user or /var/mail/user.  Specify
# "Maildir/" for qmail-style delivery (the / is required).
#
#home_mailbox = Mailbox
#home_mailbox = Maildir/
home_mailbox = Maildir/              <--- 設定mailbox 在 home 目錄內


這個網站的問題似乎和我相似
https://serverfault.com/questions/979942/roundcube-doesnt-retrieve-email-but-emails-are-available-in-maildir

« 上次編輯: 2020-06-04 08:33 由 jonathan_lwo »

jonathan_lwo

  • 活潑的大學生
  • ***
  • 文章數: 323
    • 檢視個人資料
自己回答

結果是/etc/dovecot/dovecot.conf
這行造成錯誤,刪掉就可
mail_location = mbox~/spool/mail/INBOX=/var/spool/mail/%u
« 上次編輯: 2020-06-04 20:00 由 jonathan_lwo »