OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: relay_recipient_maps and virtual domains?

From: Andreas Hasenack (andreasconectiva.com.br)
Date: Mon May 02 2005 - 08:12:05 CDT


On Sun, May 01, 2005 at 08:12:33PM -0400, Wietse Venema wrote:
> Andreas Hasenack:
> > On Thu, Apr 28, 2005 at 10:26:54PM -0400, Wietse Venema wrote:
> > > virtual_alias_maps (and canonical maps) is checked before
> > > relay_recipient_maps.
> >
> > I can't get it to work. If I have "example.com example.com.br" in
> > virtual_alias_maps, then relay_recipient_maps is not being checked
> > when the recipient matches the "example.com".
>
> This is a limitation of domain wild-cards. Eliminating that requires
> some serious surgery in Postfix.
>
> It is therefore preferable to GENERATE the example.com valid
> address map from the map for example.com.br.

Ok, thanks for answering. I'll try to get rid of domain wild-cards.

> I'm assuming of course that you aren't typing in each map.

No, I'm using an LDAP map.