作为英语,我觉得“垃圾”和“垃圾”这两个词是混淆的,因为它们本质上是一回事。 我想将我的Dovecot IMAP服务器上的这些文件夹分别重命名为“已删除”和“垃圾邮件”,因为这些术语对我来说意味着更多。
所以我改变了15-mailboxes.conf这样,而不是定义邮箱Junk :
mailbox Spam { special_use = \Junk auto = subscribe }
和“垃圾桶删除”类似。
我假设\Junk是一个魔术字,不应该改变。 我也改变了我的筛选脚本,将邮件redirect到新的目录名称。 我也重命名了文件系统中的现有文件夹,垃圾邮件等。
当我重新启动Dovecot并连接一个IMAP客户端(在这种情况下,Outlook 2013),Dovecot仍然创build旧的命名文件夹以及新的。 所以我们有“垃圾”以及“垃圾邮件”。 “垃圾”是新创build的,并且是空的。
我如何抑制这种行为? 我只是想自己“垃圾”和“删除”。
这里是收件箱的名称空间
namespace inbox { #mailbox name { # auto=create will automatically create this mailbox. # auto=subscribe will both create and subscribe to the mailbox. #auto = no # Space separated list of IMAP SPECIAL-USE attributes as specified by # RFC 6154: \All \Archive \Drafts \Flagged \Junk \Sent \Trash #special_use = #} # These mailboxes are widely used and could perhaps be created automatically: mailbox Drafts { special_use = \Drafts auto = subscribe } mailbox Spam { special_use = \Junk auto = subscribe } mailbox Deleted { special_use = \Trash auto = subscribe } # For \Sent mailboxes there are two widely used names. We'll mark both of # them as \Sent. User typically deletes one of them if duplicates are created. mailbox Sent { special_use = \Sent auto = subscribe } # If you have a virtual "All messages" mailbox: #mailbox virtual/All { # special_use = \All #} # If you have a virtual "Flagged" mailbox: #mailbox virtual/Flagged { # special_use = \Flagged #} }