autocreate plugin is deprecated, use mailbox { auto } setting instead
问题:/var/log/maillog 日志中,有dovecot的警告信息,如
Nov 19 23:25:22 localhost dovecot: imap(laile@s)<1100>
尝试:将dovecot配置文件中的原:
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
  }
}