OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: to/orig_to control

From: Victor Duchovni (Victor.Duchovnimorganstanley.com)
Date: Wed Mar 04 2009 - 18:13:45 CST


On Wed, Mar 04, 2009 at 05:07:44PM -0700, LuKreme wrote:

> when you have "to=<johnexample.net>, orig_to=<johnexample.com>" in the
> maillog file, that translation is handled by /etc/postfix/virtual, isn't
> it?

No, by any mechanism that rewrites the envelope recipient in cleanup(8):

    recipient_canonical_maps
    canonical_maps
    recipient_canonical_maps
    masquerade_domains (if masquerade_classes includes "envelope_recipient")
    virtual_alias_maps

and you can use various tables with each of these.

> If johnexample.com is not in /etc/postfix/virtual, where else could this
> be controlled?

See above. Consider also that the rewrite could be based on a partial
match of either the domain or a bare user name (if the domain is "local").

--
        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:majordomopostfix.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.