Hi, I have a problem with address rewriting. The mail originates from a broken, cannot be changed, mail system that sends out mails to the wrong receiver: Ex: Mail send to: firstname_lastn...@domain.dk
Should have been send to: firstname.lastn...@domain.com I have solved this with a canonical map this way: In main.cf: canonical_maps = regexp:/etc/postfix/recipientmap and recipientmap contains the following: /^(.*)_(.*)@domain\.dk$/ ${1}.${2}@domain.com This works, however it should only be done from mails originating from the broken system, ex 10.11.12.13 I have struggled with this for some time, but cannot find a way to accomplish this?