目前我在我的 dovecot.conf 中使用它:
protocol imap {
mail_plugins = "autocreate"
}
plugin {
autocreate = Trash
autocreate2 = Sent
autosubscribe = Trash
autosubscribe2 = Sent
}
我的日志显示:警告:自动创建插件已弃用,请使用邮箱 {自动} 设置
我检查了这一页,但我无法将我当前的设置“翻译”成应该的样子。
答案1
我刚刚开始自己尝试这个,但我相信在你的情况下你需要替换这些行:
protocol imap {
mail_plugins = "autocreate"
}
plugin {
autocreate = Trash
autocreate2 = Sent
autosubscribe = Trash
autosubscribe2 = Sent
}
和:
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
}
}
最后service dovecot restart
。