On Mon, Nov 24, 2008 at 01:21:37PM -0500, George Vilches wrote:

> The question: Is it possible to have a domain do address rewriting and  
> relaying in some combination?

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

> 1) The e-mail address arriving must be a real user (i.e. all address  
> resolution must already be done)

    http://www.postfix.org/ADDRESS_CLASS_README.html
    http://www.postfix.org/LOCAL_RECIPIENT_README.html
    http://www.postfix.org/VIRTUAL_README.html

> 2) The e-mail address of the envelope must be the real user's e-mail  
> address.  i.e. [EMAIL PROTECTED], not [EMAIL PROTECTED]
> 
> Given that, here's what our current virtual tables look like (the last  
> entry was changed for illustrating the point):
> 
> example.net                   Domain
> @example.net          @example.org

This wildcard rewrite breaks recipient validation for @example.net
addresses.

> example.info                  Domain
> [EMAIL PROTECTED]     [EMAIL PROTECTED]

This is fine.

> example.org                   Domain
> [EMAIL PROTECTED]             [EMAIL PROTECTED]
> [EMAIL PROTECTED]             bob     <------  ILLUSTRATION ONLY!  To 
> point out a  real user.

This is fine.

> What this indicates is that bob is the only real user in the entire  
> system

That's what you'd like, but it is not what you've configured, this
configuration will accept mail for any recipient in example.net and
specific ones in example.org/info

> 3) [EMAIL PROTECTED] arrives at border gateway, gets rewritten to 
> [EMAIL PROTECTED] , cannot be rewritten further, cannot be found, bounces.

As expected.

-- 
        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:[EMAIL PROTECTED]>

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.

Reply via email to