Hi, our developers team would like to send a bunch of test mails using a productive recipients database - which of course is a great idea.
In order to prevent real recipients from receiving these test mails, all test mails should be redirected to an internal mailbox, respectively, the recipient addresses should be rewritten. The test mails will have a specific sender address. Using canonical_maps, I can either rewrite a sender or a recipient address, but how can I rewrite the recipient address dependent on the sender address? I thought another way would be putting t...@example.com REDIRECT foo.example.org to the check_sender_access lookup table, but Postfix will ignore this and deliver the mail to the original recipient. -- Thomas