jayesh shinde:
> Hi ,
> 
> I have live mail archival server and now created the backup of the same.
> 
> For this I am taking bcc copy from mailserver  on which 
> postfix-2.10.0-1.el6.x86_64 running
> 
> recipient_bcc_maps = pcre:/etc/postfix/bcc_maps
> [root@jayesh ~]# cat  /etc/postfix/bcc_maps
> 
> /^(.*)@(.*)$/ $1!$2...@archive.mydomain.com
> 
> 
> Above is working fine for me.   Now for creating another copy of mail 
> for backup archival server I modified the bcc_maps as follows.
> but by this the recipient email id is generating with " "
> 
> recipient_bcc_maps = pcre:/etc/postfix/bcc_maps

recipient_bcc_maps (default: empty)
       Optional  BCC  (blind  carbon-copy)  address  lookup tables, indexed by
       recipient address.  The BCC address  (multiple  results  are  not  sup-
       ported) is added when mail enters from outside of Postfix.

> [root@jayesh ~]# cat  /etc/postfix/bcc_maps
> /^(.*)@(.*)$/ $1!$2...@archive.mydomain.com,$1!$2...@archivebkp.mydomain.com 
> <mailto:$1%21$2...@archivebkp.clientdomain.com>

As documented, recipient_bcc_maps outputs one email address. Use
virtual aliases to expand that into multiple addresses.

        Wietse

Reply via email to