Postfix,sender_bcc – 在多个地址发送拷贝

我有我的后缀在这个文件中的sender_bcc_maps = pcre:/etc/postfix/conf/sender_bcc我有规则,如

 /[email protected]/ [email protected] 

现在我需要发送盲目复制到多个电子邮件。 我尝试使用空白和逗号作为分隔符,但它没有工作。 这里有什么解决scheme? 谢谢。

编辑:解决scheme是(thx dynax60)发送副本sender_bcc_maps文件中的别名。 然后设置这个别名与所需的地址。

  • 在/etc/postfix/main.cf中:

sender_bcc_maps = pcre:/etc/postfix/sender_bcc

  • 在/ etc / postfix / sender_bcc中:

/[email protected]/ [email protected]

  • 在$ virtual_alias_maps中:

[email protected] [email protected], [email protected], [email protected]

在main.cf中试试这个:

 sender_bcc_maps = hash:/usr/local/etc/postfix/bcc 

密件抄送文件的内容是:

 [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] 

不要忘记在/ usr / local / etc / postfix /下的postmap密件抄送。