问题原文
原帖链接 · John Doof · CC BY-SA 3.0
Currently I am using this in my dovecot.conf:
protocol imap {
mail_plugins = "autocreate"
}
plugin {
autocreate = Trash
autocreate2 = Sent
autosubscribe = Trash
autosubscribe2 = Sent
}
My log says: Warning: autocreate plugin is deprecated, use mailbox { auto } setting
I checked this page, but I am not able to "translate" my current settings into what it should be.
社区高分解答
原帖链接 · Serrano · CC BY-SA 3.0
I just started experimenting with this myself, but I believe that in your case you need to replace these lines:
protocol imap {
mail_plugins = "autocreate"
}
plugin {
autocreate = Trash
autocreate2 = Sent
autosubscribe = Trash
autosubscribe2 = Sent
}
With:
namespace inbox {
inbox = yes
mailbox Trash {
auto = subscribe # autocreate and autosubscribe the Trash mailbox
special_use = \Trash
}
mailbox Sent {
auto = subscribe # autocreate and autosubscribe the Sent mailbox
special_use = \Sent
}
}
And finally service dovecot restart.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
