On Thu, Mar 26, 2009 at 09:31:59AM -0400, Wietse Venema wrote: > Michael Maciag: > > Is it possible to automatically add a CC to an incoming message > > based on recipient using rewriting, similar to what recipient_bcc_maps > > can do? We'd like to have the added address be visible to the > > original recipient. > > Yes. > > For complex transformations, use a Milter or external content > filter. Postfix implements single transformations: add a message > header, or add an envelope recipient. Not both at the same time.
Note, adding Cc: recipients is tricky, because while most implementations support multiple "Cc:" headers, the RFC clearly specifies that a message must have exactly one "Cc:" header containing all the Cc: recipients. Automated tools that modify the "Cc:" list must append elements to the Cc: header. So "PREPEND" is not a portable option. -- 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:majord...@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.