dovecot如何设置多个INBOX?

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
drop
帖子: 14
注册时间: 2018-05-26 19:54

dovecot如何设置多个INBOX?

#1

帖子 drop » 2018-08-04 7:59

我这样设置:

代码: 全选

mail_location = mbox:~/mail:INBOX=%h/mbox1
mail_location = mbox:~/mail:INBOX=%h/mbox2
结果IMAP只能收到mbox2的邮件,收不到mbox1的邮件,该怎么办?

那个namespace的设置看了半天也看不懂,设了能让我同时收到mbox1和mbox2的邮件吗?该如何设置?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: dovecot如何设置多个INBOX?

#2

帖子 poloshiao » 2018-08-05 12:00

mail_location = mbox:~/mail:INBOX=%h/mbox1
mail_location = mbox:~/mail:INBOX=%h/mbox2
1. 試試
mail_location = mbox:~/mail:INBOX=/var/mail/%u
1-1. 參閱
https://wiki1.dovecot.org/MailLocation#indexfiles
Mail location
那个namespace的设置看了半天也看不懂
2. https://wiki1.dovecot.org/Namespaces
Namespaces
Examples

3. https://wiki1.dovecot.org/MailboxFormat/mbox
Although Dovecot tries to minimize the damage by moving the data in a way that data should never get lost (only duplicated), mboxes still aren't recommended to be used for important data.
回复