OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: catch-all with virtual domains

From: Magnus Bäck (magnusdsek.lth.se)
Date: Sun Jan 02 2005 - 18:04:07 CST


On Monday, January 03, 2005 at 00:39 CET,
     Pierre Moermans <pierre.moermansidea2dev.com> wrote:

> I would like to configure postfix to have a catch-all address per
> virtual domain.
>
> I've read some threads about that (one of it is
> http://www.irbs.net/internet/postfix/0410/0907.html) and it seems that
> one solution for it is to have the same content in the
> virtual_alias_maps and virtual_mailbox_maps.

That's not quite true. What is needed is an identity mapping (a -> a)
in the virtual alias table for each valid user in the virtual mailbox
table. This stops the recursion.

[...]

> --------------------------------- virt_alias_maps
> -----------------------------------
>
> pierreubidata.be pierre.moermansmycomp1.be
> mycomp1.be adminmycomp1.be

pierreubidata.be -> pierre.moermansmycomp1.be -> adminmycomp1.be

This is what you need in the virtual alias table:

validuser1example.com validuser1example.com
validuser2example.com validuser2example.com
...
validusernexample.com validusernexample.com
example.com catchallexample.com

I explained this exact problem to another poster just one or two days
ago.

--
Magnus Bäck
magnusdsek.lth.se