postfix virtual_mailbox_maps 传递到两个 maildir

postfix virtual_mailbox_maps 传递到两个 maildir

我的后缀配置如下:

/etc/postfix/main.cf

virtual_alias_maps  =   hash:/etc/postfix/virtual
virtual_mailbox_domains =   /etc/postfix/vdomains
virtual_mailbox_base    =   /VMAIL
virtual_mailbox_maps    =   hash:/etc/postfix/vusers
virtual_minimum_uid =   1000
virtual_uid_maps    =   static:5000
virtual_gid_maps    =   static:5000

/etc/postfix/vusers

[email protected]         domain.com/boss/
[email protected]       domain.com/editor/
[email protected]       domain.com/novini/

/etc/postfix/虚拟

[email protected]   [email protected]

目前它运行正常,但我想要的是:

有人发送了邮件至[email protected],该邮件将同时存储在domain.com/editor/和中domain.com/novini/。我还想将邮件副本转发给个人电子邮件 -[email protected]

如果有人发送了电子邮件到[email protected],则电子邮件将同时存储在domain.com/editor/和中domain.com/novini/。在这种情况下,我不希望任何电子邮件发送到 [email protected]

如何使用更简单的方法来设置它virtual_mailbox_maps

答案1

相关内容