|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Relay configuration related question
From: Victor Duchovni (Victor.Duchovni
MorganStanley.com)
Date: Tue May 03 2005 - 08:14:51 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, May 03, 2005 at 11:10:37AM +0200, Jaskula Thomas wrote:
> Hello,
>
> I have one question about postfix configuration but I didn't find anything
> in the documentation. I'll try to give an example and if someone could say
> me if it's possible I'll greatly appreciate.
> I have two domains "mypublic.com" which is public domain and
> "myinternal.com" which is for internal use only. "mypublic.com" is a postfix
> server and "myinternal.com" is MS Exchange server. People with
> "myinternal.com" accounts can only send mails to other internal accounts.
> People with "mypublic.com" can send to both domains. If someone from
> "mypublic.com" sends an email to several people (public and internal domain)
> all email addresses with "myinternal.com" should be deleted from headers. So
> if someone receives the mail he shouldn't see any "myinternal.com" mails
> when he does reply to all. Is that configuration possible with postfix?
>
The generic(5) and canonical(5) rewriting mechanisms are 1-to-1, the
only 1-many rewriting mechanisms are aliases(5) and virtual(5) and these
apply to the envelope recipient only.
If you don't want to make the internal recipients externally addressable,
the best you can do is to rewrite each internal address to a discarded
external address.
interal.com nobody
mypublic.com
with "nobody" an account that is silently delivered to /dev/null or the
discard transport (Postfix 2.2).
This will prevent unwanted bounces to Reply-All.
BEFORE: Cc: user1
internal.com, user2
internal.com
AFTER: Cc: nobody
mypublic.com, nobody
mypublic.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>
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]