Dovecot imap 協議自動建立基本資料夾

筆記一下 . 為了做 Maildir , imap service 改用 dovecot
但卻無法自行建立幾個基本的資料夾 or new user .

設定的檔案 : dovecot.conf
設定內容 :
1. 找到以下 section …
##
## IMAP specific settings
##
protocol imap {

}

在這 section 中加入以下這段 .
#worren for Autocreate basic folder
mail_plugins = autocreate

2. 找到以下 section (應該是 dovecot.conf 的最後面)
plugin {

}

在這 section 中加入 :

# worren .. autocreate basic folder
autocreate = Trash
autosubscribe = Trash
autocreate2 = Sent
autosubscribe2 = Sent
autocreate3 = Drafts
autosubscribe3 = Drafts

3. 重啟 dovecot

Share your vote!


Do you like this post?
  • Fascinated
  • Happy
  • Sad
  • Angry
  • Bored
  • Afraid

Leave a Reply

Your email address will not be published. Required fields are marked *


Please help to input verification code