Thanks, Mark.

I (finally) started working on this ... and in trying to implement your 
suggestion — ran into a problem, I think.

The current postfix_vmap has entries like:

list-boun...@lists.domain.info                lmtp:[mailman-core]:24

So, when I try adding entries to a separate vmap file, like:

list-boun...@lists.domain.info                lmtp:[mailman-core]:24, 
u...@gmail.com

It only goes through normal bounce processing.

If I do:

list-boun...@lists.domain.info                u...@gmail.com, 
lmtp:[mailman-core]:24

Then it goes to the gmail address, and no bounce processing happens.

I'm thinking that I can't combine two methods of delivery (LMTP + email 
address). Do you know if that is correct?

Thanks,

                    -p



Pat Hirayama
Pronouns: he/him/his
Systems Engineer
IT | Systems Engineering
Fred Hutchinson Cancer Center
O 206.667.4856
phira...@fredhutch.org
________________________________
From: Mark Sapiro <m...@msapiro.net>
Sent: Thursday, October 31, 2024 21:18
To: mailman-users@mailman3.org <mailman-users@mailman3.org>
Subject: [MM3-users] Re: redirecting -bounces replies

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


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://urldefense.com/v3/__https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.html*unusual-postfix-configuration__;Iw!!GuAItXPztq0!kJTb4mYujhWytTcptiOuFu7n3zAkg0HieZWYSCE1zBUn50YwQTs7POt9CwtD_ZgdWRreLdXlWbBqI94$
 .

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-boun...@example.com            listname-boun...@x.example.com
```
to
```
listname-boun...@example.com            listname-boun...@x.example.com,
                                         per...@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-boun...@example.com            listname-boun...@x.example.com,
                                         per...@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 <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://urldefense.com/v3/__https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/__;!!GuAItXPztq0!kJTb4mYujhWytTcptiOuFu7n3zAkg0HieZWYSCE1zBUn50YwQTs7POt9CwtD_ZgdWRreLdXlM0PxDew$
Archived at: 
https://urldefense.com/v3/__https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/TQYJKOUVCCYXZLJAWW5GIZKCDHSWVXDE/__;!!GuAItXPztq0!kJTb4mYujhWytTcptiOuFu7n3zAkg0HieZWYSCE1zBUn50YwQTs7POt9CwtD_ZgdWRreLdXlVDGYZ1w$

This message sent to phira...@fredhutch.org
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@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/3QBGX3N6NNBMJT7BJJEDM2GCZGB6TKMU/

This message sent to arch...@mail-archive.com

Reply via email to