Re: How to achieve alternative masquerade functionality? (apply to a limited set of hosts)

From: Victor Duchovni (no email)
Date: Thu Sep 01 2005 - 19:09:01 EDT

  • Next message: Victor Duchovni: "Re: Multi delivery to catchallaccount"

    On Thu, Sep 01, 2005 at 06:10:37PM +0200, Simon J Mudd wrote:

    > Postfix allows mail originating from servers with a certain subdomain to
    > have headers and addresses modified so they appear to originate from the
    > domain rather than the hostname itself.
    >
    > It is possible to exclude certain addresses from this masquerade process
    > by username.
    >
    > At my office our Postfix server is used as BOTH an internal/external
    > gateway hiding MS Exchange and Lotus Notes server which are inside. We
    > also have a large number of unix servers which send status mails to a
    > "reporting server". All internal mail servers use the Postfix mail server
    > as the internal mailrelay.
    >
    > We have been using the masquerading functionality for a limited set of
    > hosts which mail to the outside world and here we want to hide the host
    > details from the mails.
    >
    > However other unix hosts in the same domain (which are not able to send to
    > the outside world) are also affected by the masquerading and this is
    > causing us trouble as the "reporting server" is unable to identify the
    > origin of various messages.
    >
    > I can temporarily fix the problem by adjusting the masquerading exceptions
    > list to include the appropriate "users" which send email. However I would
    > really prefer to specify a specific list of hosts to which masquerading
    > SHOULD be applied and not apply it to all others. Is this possible?
    >

        masquerade_domains = !special.example.com example.com

    -- 
    	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:?body=unsubscribe%20postfix-users>
    If my response solves your problem, the best way to thank me is to not
    send an "it worked, thanks" follow-up. If you must respond, please put
    "It worked, thanks" in the "Subject" so I can delete these quickly.
    

  • Next message: Victor Duchovni: "Re: Multi delivery to catchallaccount"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD