|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Victor Duchovni (Victor.Duchovni
MorganStanley.com)
Date: Mon Dec 10 2007 - 14:29:42 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Dec 10, 2007 at 02:06:31PM -0500, Greg Cowie wrote:
> Thanks very much Victor - by dividing the incoming and outgoing into two
> transport streams and applying the smtp_generic_maps to JUST the
> outgoing stream, I get around the issue of not wanting to rewrite
> recipient fields, as those by definition will be in the incoming stream.
>
In headers there is no real difference between recipients and senders,
as "Reply" reverses the roles. The important mental rule is that any
single email reader should see a consistent and stable view of the
addresses in headers, and be able to use the addresses to reply.
So destination-dependent rewriting makes more sense than context-dependent
(context == From, To or Cc) rewriting.
If you can separate inside and outside recipients by transport you are
doing as well as-is reasonably possible.
--
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 ]