分页: 1 / 1

dovecot如何设置多个INBOX?

发表于 : 2018-08-04 7:59
drop
我这样设置:

代码: 全选

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

那个namespace的设置看了半天也看不懂,设了能让我同时收到mbox1和mbox2的邮件吗?该如何设置?

Re: dovecot如何设置多个INBOX?

发表于 : 2018-08-05 12:00
poloshiao
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.