id-unibe-ch / ansible-role-postfix

This ansible role manages the postfix configuration including the alias file
MIT License
0 stars 1 forks source link

Support configuring sender_canoncial map #3

Closed mrolli closed 1 year ago

mrolli commented 1 year ago

Is your feature request related to a current shortcoming? Please describe. To be able to replace the sender address with a specific one, the configuration of the sender_canonical map is required. As an example one can rewrite the sender from root@$fqdn to something that is actually a valid return address, i.e. hpc-monitoring.id@unibe.ch in the context of HPC.

In addition the HPC team has the requirement to rewrite senders of the form

@ to the real email address of the Campus Account that is creating a mail, i.e. mrolli@submit02.unibe.ch is rewritten to michael.rolli@unibe.ch. For this to work, the must allow the configuration of a sender_canonical map in LDAP. **Describe the solution you'd like** Allow managing the sender_canonical hash map. Allow to configure LDAP-based canonical sender addresses