On 10/31/24 16:17, Hirayama, Pat wrote:
Is it possible to redirect the -bounces alias of a specific list so that it also goes to a person, in addition to the normal bounces processing for that list?
In Mailman2, I know that I could do that by modifying the aliases table.
You can do the same in MM3 if you want to just deliver to a person and not to normal bounce processing, but if you want to do both, and your MTA is Postfix, you would need to add and alias domain to your lists domain and configure Postfix according to https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.ht....
Then for example if your list domain is example.com and its alias domain
is x.example.com, you could modify one line in the postfix_vmap file for
the listname
mappings from
listname-bounces@example.com listname-bounces@x.example.com
to
listname-bounces@example.com listname-bounces@x.example.com,
person@example.com
and then run postmap on the file. The problem is any time you create or
delete a list or run mailman aliases
or run mailman start
with the
--generate-alias-file option, the file is regenerated and you will have
to edit it again.
To avoid that issue, you can create a separate vmap file containing only the
listname-bounces@example.com listname-bounces@x.example.com,
person@example.com
entry and then add that file to virtual_alias_maps in Postfix main.cf, being sure to add it ahead of the postfix_vmap entry.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan