Epiontis IT: > Hi, > > does postfix offer a way to explicitly route undeliverable notifications > for alias addresses to the postmaster instead of the mail sender.
With /etc/aliases, use the owner- prefix to redirect bounces for a specific recipient address. Quote from Posfix aliases(5): In addition, when an alias exists for owner-name, delivery diagnostics are directed to that address, instead of to the originator of the mes- sage. This is typically used to direct delivery errors to the main- tainer of a mailing list, [...] There is no equivalent feature for virtual aliases. This would require an additional recipient attribute for the recipient-specific envelope sender address, plus support in the queue manager to sort delivery requests by that envelope sender and destination. I wish I had thought of that 19 years ago, as it could have simplified some other code. Wietse > We use > some aliases that map to external mail addresses. When these are not > available the sender will get notified and may be confused about why his > mail is not deliverable to some address he never sent to. We would like > to notify the postmaster instead. > > Thanks, > Alex >