On Tue, Jun 14, 2011 at 10:21:56AM +0200, Csillag Tamas wrote: > I need to duplicate mails if they are sent from users with sending > profile set to a specific role (which they can set). > > For example user1@domain can select departmentA@domain as a sender > address. In this case I want to send a copy to user2@domain user3@domain > as they are all related to this common departmentA address. > > I was thinking sender_bcc_maps can help me, but if user1 selects this role > in her MUA envelope-from remains the same as if she does not, only the > message-from changes. > > Please help me is there clean (I mean Postfix ;-) way/switch to do this? > > I was thinking of using milters or some filter, but I really want to > avoid them if I can (not even sure if milters get the message-from).
There is no built-in support in Postfix for message-content dependent BCC actions. Perhaps you can convince the MUA to emit the corresponding envelope-sender address. -- Viktor.