Le 23/12/2012 05:21, Joey J a écrit : > Hello All, > > I have done this previously, but can't find any of my own documentation > that I make. > > I want to configure a transport map, that delivers mail to my server ( > postfix acting as a gateway ) but also deliver every message to a mailbox. > > this is how we get mail if the server crashes. >
no need for a transport. use http://www.postfix.org/ADDRESS_REWRITING_README.html#auto_bcc recipient_bcc_maps = pcre:/etc/postfix/recipient_bcc recipient_delimiter = + == recipient_bcc: /(.*)@example\.com$/ archive+$1...@example.net this will copy mail for foo...@example.com to archive+foo...@example.net the extension allows you to retrieve the original recipient. if you have multiple domains, you use something like: /(.*)@(example\.com)$/ archive+$1=$2...@example.net so as to retrieve the original recipient domain as well.