Dear all, how do I forward submitted mails under the identity of an email alias to all other members of that alias? Is that even possible with Postfix only?
I am running Postfix 3.8.4 with OpenLDAP as the backend for account and alias management. Postfix is setup for virtual mail hosting and transports mails for addresses listed in virtual_mailbox_maps to Dovecot via LMTP as their final destination. Moreover, the alias feature implements a simple mailing list feature via virtual_alias_maps. Mail clients which submit new mails via SMTP are restricted by smtpd_sender_login_maps to either use their „personal“ mail address or one of the aliases their are member of as the sending mail address. I am trying to implement the following feature: When a mail client submits a new mail under the identity of an email alias as the sender, Postfix shall deliver this mail to all other members of that email alias (of course in addition to the actual recipient). How can I implement such a behavior? Is that even possible with Postfix? I found the configuration parameter sender_bcc_maps. At first glance, that looked promising, however it neither supports mail aliases nor more than one address. Just for the sake of clarity, I give a simplified example with only two mail accounts to illustrate what I want to achieve. Lets assume there are the virtual mail accounts `[email protected]` and `[email protected]` as well as the alias `[email protected]` which resolves to both mail accounts: 1. Someone, e.g. [email protected] sends a mail to [email protected] 2. Postfix receives the mail, resolves the alias and transports two copies of the mail to Dovecot (via LMTP) for recipient [email protected] and [email protected] 3. Lets say, Jane decides to reply. Jane's mail client submits a mail to Postfix for [email protected] as the recipient and with [email protected] as the sender identity. 4. Postfix relays the mail to [email protected] but also transports a copy of the mail for [email protected] to Dovecot 5. John is able to notice that Jane has already replied to [email protected] Any suggestions, tips or help are much appreciated. Bests, Matthias _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
