Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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