Sending email to a pair of users regardless of which one was addressed?

In the old sendmail I used to be able to backslash the usernames to prevent forwarding loops, however postfix 2 doesn't allow this syntax since complying with RFC822.

Here is my example sendmail aliases file:

fred: \fred, \jim
jim: \fred, \jim
fredandjim: jim

In postfix 2 the backslash is supposed to obsolete as it will detect that fred needs not to be forwarded to fred, however when it goes on to process jim it finds the loop back to fred and reports an error.

Can anyone suggest a way of implementing this in postfix?


Solution 1:

recipient_bcc_maps option will allow such setup.

http://www.postfix.org/postconf.5.html#recipient_bcc_maps