OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Question about multiple postfix setup

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Mon Aug 01 2005 - 12:11:01 CDT


On Mon, Aug 01, 2005 at 06:50:00PM +0200, forumuserkogels.net wrote:

> So the bottom line is: mail within the local LAN should never be
> masqueraded between servers, only when the mail leaves serverA.
>

    http://www.postfix.org/ADDRESS_REWRITING_README.html
    http://www.postfix.org/ADDRESS_REWRITING_README.html#generic

The "smtp_generic_maps" parameter can be configured on a per-transport
basis:

    master.cf:
           relay unix ... smtp
            -o smtp_generic_maps=$relay_generic_maps

    main.cf:
        # No delivery-time rewriting for internal deliveries.
            relay_generic_maps =

        transport_maps = hash:/etc/postfix/transport

    transport:
            .example.com relay

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>