On Mon, Mar 09, 2015 at 12:43:14AM +0100, Sebastian Nielsen wrote:

> How can this be accomplished?

Don't mix the relay and inbound services in the same Postfix.

Setup one Postfix to receive inbound mail from outside.

Setup another Postfix to handle outbound mail from inside.

For extra brownie points, arrange for bounces from either (bounces
follow the reverse path) to be relayed to the other, by adding
transport entries that shunt inbound mail from the outbound MTA to
the inbound MTA and the converse.  This helps with DKIM signing
and any other direction-dependent content processing.

    http://www.postfix.org/MULTI_INSTANCE_README.html

(this also separates local submission on the MTA into a separate
null-client instance, which is also a good idea if I do say so
myself).

-- 
        Viktor.

Reply via email to