Old*_*unt 7 email email-server iphone dovecot
Dovecot 设置的 IMAP 邮箱没有 SENT 文件夹或 TRASH 文件夹。我如何设置这些?有没有办法将它们放在 INBOX hiearchy 之外?我想确保这些文件夹适用于 iPhone 电子邮件客户端或任何其他移动电子邮件客户端。
2011 年的原始答案已过时。
对于 2.2 之前的任何版本,我们不会提供任何补丁或修复。以前就是这种情况,但我们现在正式宣布它们 EOL。
我仍然会列出所有版本以供参考。有时管理员必须运行他们不想运行的软件。
鸽舍 1.x
检查原始答案。
鸽舍 2.0.x
使用自动创建插件。
鸽舍 2.1+
这就是你今天的做法。添加一个namespace inbox {}部分来定义文件夹。dovecot wiki 中的示例是为了演示所有可能的功能,我已将其改编为现实世界的示例:
namespace inbox {
inbox = yes
separator = /
mailbox "Drafts" {
auto = subscribe
special_use = \Drafts
}
mailbox "Sent" {
auto = subscribe
special_use = \Sent
}
mailbox "Trash" {
auto = subscribe
special_use = \Trash
}
mailbox "Junk" {
auto = subscribe
special_use = \Junk
}
mailbox "Archive" {
auto = subscribe
special_use = \Archive
}
}
Run Code Online (Sandbox Code Playgroud)
如果您希望使用创建并坚持使用有趣(或翻译)名称的特殊用途文件夹的邮件客户端对您的用户友好,您可以让 dovecot 重用它们而不是创建新文件夹。这可能会减少由于这些文件夹被复制而陷入绝望的缺乏经验的用户的支持请求。
为此,请向上述设置添加更多文件夹名称,但不要设置auto或使用默认值auto=no:
mailbox "Gelöschte Elemente" {
special_use = \Trash
}
Run Code Online (Sandbox Code Playgroud)
我遇到了类似的问题,三星 Android 应用正在创建自己的垃圾文件夹,而不是使用现有的垃圾文件夹。修复它后,如下所述,我必须删除然后再次添加该帐户,以便更新其配置。
解决方案是 Dovecotnamespace配置:
我个人使用这个(从这里):
namespace inbox {
type = private
separator = .
inbox = yes
mailbox Drafts {
special_use = \Drafts
auto = subscribe
}
mailbox Junk {
special_use = \Junk
auto = create
}
mailbox spam {
special_use = \Junk
auto = no
}
mailbox Spam {
special_use = \Junk
auto = no
}
mailbox Trash {
special_use = \Trash
auto = subscribe
}
mailbox TRASH {
special_use = \Trash
auto = no
}
mailbox Sent {
special_use = \Sent
auto = subscribe
}
mailbox "Sent Mail" {
special_use = \Sent
auto = no
}
mailbox "Sent Messages" {
special_use = \Sent
auto = no
}
mailbox Archive {
special_use = \Archive
auto = create
}
mailbox "Archives" {
special_use = \Archive
auto = no
}
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
17402 次 |
| 最近记录: |