Dovecot:autocreate插件已弃用,请使用邮箱{自动}设置

目前我在dovecot.conf中使用这个:

protocol imap { mail_plugins = "autocreate" } plugin { autocreate = Trash autocreate2 = Sent autosubscribe = Trash autosubscribe2 = Sent } 

我的日志说:警告:autocreate插件已弃用,使用邮箱{自动}设置

我检查了这个页面 ,但是我不能将我当前的设置“翻译”成它应该是的。

我刚开始尝试这个,但我相信在你的情况下,你需要replace这些行:

 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