I am wanting to setup postfix to redirect all outbound email from the server that is "not" address to @example.com to go to a mailing list that i have created to capture all non example.com emails. The server that this runs on is designed to send out email reports to external people but I need a way to test/review these emails.

For example.

user@gmail.com => mailinglist@example.com * => maillinglist@example.com

But i still need emails that are address to my users to be send as normal. user1@example.com -> user1@example.com

Thanks in advanced.

link|improve this question
feedback

1 Answer

For local deliveries, try luser_relay.

In a virtual_alias or virtual_mailbox setup, add an entry for @example.com pointing to the mailing list.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.