OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Postfix with 2 instance of Mailman

From: Magnus Bäck (magnusdsek.lth.se)
Date: Sat May 20 2006 - 02:44:34 CDT


On Saturday, May 20, 2006 at 05:49 CEST,
     Biswajit Banerjee <biswajittetrain.com> wrote:

> We wanted to have to 2 mailman instances integrated to postfix which are
> replica to each other ( all list created on the original are same as on
> duplicate mailman) what is the method by which the mail will land on
> both the mailman?

Why do you want this? What problem are you trying to solve by doing so?

> we have tried
>
> alias_maps = hash:/var/lib/mailman/data/aliases,
> hash:/var/lib/mailmanx/data/aliases, ----- 2nd
> mailman
> hash:/etc/aliases
>
> virtual_alias_maps = mysql:/etc/postfix/vhosting/virtual_alias_maps.cf,
> hash:/var/lib/mailman/data/virtual-mailman,
> hash:/var/lib/mailmanx/data/virtual-mailman
>
> in main.cf
>
> the mail get distributed to the Ist one but not the 2nd mailman if the
> list is same.

Yes, this is correct behaviour. In a table lookup, the first match wins.
If you want two deliveries you need two recipients. Splitting one
recipient in two can be done with a virtual alias.

--
Magnus Bäck
magnusdsek.lth.se