Bluehost.com Web Hosting $6.95

Re: Relay configuration related question

This is a discussion on Re: Relay configuration related question within the mailing.postfix.users forums, part of the Mail Servers and Related category; On Tue, May 03, 2005 at 11:10:37AM +0200, Jaskula Thomas wrote: > Hello, > > I have one ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-03-2005
Victor Duchovni
 
Posts: n/a
Default Re: Relay configuration related question

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%20p ostfix-users>

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:50 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0