[Mailman-Users] bounce mail transfer

Mark Sapiro mark at msapiro.net
Wed Jun 5 22:15:03 EDT 2019


On 6/5/19 6:51 PM, Masaharu Kawada wrote:
> 
> In my case,  /etc/mailman/aliase is the default file path and then what I
> need to do is going for the steps below, is this right?
> 
> 1.Create /etc/mailman/alias_overrides as follows.
> 
> Note: The first line is copied from /etc/mailman/aliases and the second
> line 'test at domain.com 'is additional.
> ---
> LISTNAME-bounces:   "|/usr/lib/mailman/mail/mailman bounces LISTNAME"
>  test at domain.com
> ---
> 
> 2.Create the alias_overrides.db
> 
> # postalias alias_overrides
> 
> 3.Edit /etc/postfix/main.cf to add  the 'hash:/etc/mailman/alias_overrides'
> into alias_maps and alias_database as follows.
> 
> alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases,
> hash:/etc/mailman/alias_overrides


The overrides need to be ahead of the mailman aliases

alias_maps = hash:/etc/aliases, hash:/etc/mailman/alias_overrides,
hash:/etc/mailman/aliases

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list