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

/^(.*)@(.*)$/ [email protected]


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

[root@jayesh ~]# cat  /etc/postfix/bcc_maps
/^(.*)@(.*)$/ [email protected],[email protected] <mailto:$1%[email protected]>

[root@jayesh ~]# mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
BCC7E5FD6B* 569 Thu Nov 6 16:39:58 [email protected] <mailto:[email protected]> *"*[email protected] <mailto:netcal5%[email protected]>,netcal5!demo.test.com*"*@archivebkp.mydomain.com

I am getting same result with  pcre & regexp

Can any one suggest the correct pcre / regexp format or workaround solution , so that " " will not come for bcc recipient ?

Regards
Jayesh Shinde




Reply via email to