redirecting -bounces replies
Greetings,
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.
I've been poking around in Mailman3, but haven't managed to figure out which container I need to be looking at. And rather than keep spinning, I figured that I'd ask the hive mind, since I'm sure one of you can quickly point me to the correct location.
Thanks!
-p
Pat Hirayama Pronouns: he/him/his Systems Engineer IT | Systems Engineering - Infrastructure Fred Hutch Cancer Center O 206.667.4856
phirayam@fredhutch.org<mailto:phirayam@fredhutch.org>
If you are using Postfix with mysql you could use an entry in the virtual_aliases table by doing something like:
MariaDB [mailserver]> REPLACE INTO mailserver.virtual_aliases (id,domain_id,source,destination) VALUES ('N', '1', 'ListNameHere-bounces@example.org', 'person@example.org'); Query OK, 1 row affected (0.010 sec)
where the value 'N' is one larger than the largest id entry already present in said table ....
Cheers, Nelson
On 10/31/24 19:17, Hirayama, Pat wrote:
Greetings,
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.
I've been poking around in Mailman3, but haven't managed to figure out which container I need to be looking at. And rather than keep spinning, I figured that I'd ask the hive mind, since I'm sure one of you can quickly point me to the correct location.
Thanks!
-p
Pat Hirayama Pronouns: he/him/his Systems Engineer IT | Systems Engineering - Infrastructure Fred Hutch Cancer Center O 206.667.4856
phirayam@fredhutch.org<mailto:phirayam@fredhutch.org>
Mailman-users mailing list --mailman-users@mailman3.org To unsubscribe send an email tomailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at:https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
This message sent tojustfixit@marilynstrother.com
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
Instead of what I wrote at https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/... you might consider whether setting the list's Notify owner on bounce increment to Yes and Forward unrecognized bounces to List or Site admins might do what you want.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Hirayama, Pat
-
Mark Sapiro
-
Nelson Strother