************************************************************ REPOST Sorry, all email addresses in my last post were garbled Please ignore my last post ************************************************************
Hi, To channel bounce reports to multiple sender domains I control to specific addresses for analysis I used: In main.cf: canonical_maps = regexp:/etc/postfix/canonical canonical_classes = envelope_sender In canonical: /@abc\.com/ address_1[at]whereto.com /@def\.com/ address_1[at]whereto.com /@ghi\.com/ address_2[at]whereto.com /@jkl\.com/ address_1[at]whereto.com I checked the regular expressions using (for instance): postmap -q "info[at]ghi.com" regexp:/etc/postfix/canonical postmap -q "info[at]abc.com" regexp:/etc/postfix/canonical Got (in order): address_2[at]whereto.com address_1[at]whereto.com I then postmapped /etc/postfix/canonical and restarted the server. For some reason, the envelope sender is not modified properly when sending mail. A mail sent from "whatever[at]ghi.com" would leave this trace in maillog: Apr 9 10:44:52 acer postfix/qmgr[2299936]: 5CC3CC5ECD: from=<address_1[at] whereto.com>, size=520, nrcpt=1 (queue active) The "from" should be "address_2[at]whereto.com" as specified in canonical. There is no "catchall" regexp put by mistake before the list you see above, and nothing after that could have that effect. I just don't get what I'm doing wrong. Any help would be much appreciated.
_______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org