[Mailman-Users] Running two list with same email prefix

Mark Sapiro mark at msapiro.net
Tue Aug 18 16:56:44 CEST 2009


Andrea Cappelli wrote:
>
>So I have to create the list with the original name plus a unique
>trailing and after create mail alias and let postfix rewrite the
>destination from the alias to the real name before passing the mail to
>mailman, correct?


You don't want Postfix to rewrite the name. That's more complicated
than you need and not what you want anyway because it would expose the
'true' name in the To: header of outgoing posts.

What you do is the following:

For listx in domain example.com, you create the list as
listx_example.com or however you want to append domain to name to make
it unique. You also add listx at example.com to acceptable_aliases for
the listx_example.com list.

For postfix, considering only the list posting address (the others are
similar) In the normal case for the listx at example.com list you would
have a virtual_alias_maps entry like

listx at example.com   listx

and an alias_maps entry like

listx: "|/path/to/wrapper post listx"

Instead of these, you would have a virtual_alias_maps entry like

listx at example.com   listx_example.com

and an alias_maps entry like

listx_example.com: "|/path/to/wrapper post listx_example.com"

-- 
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