|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: How to achieve alternative masquerade functionality? (apply to a limited set of hosts)
From: Victor Duchovni (Victor.Duchovni
MorganStanley.com)
Date: Thu Sep 01 2005 - 18:09:01 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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:majordomo
postfix.org?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.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]