* Louis-David Mitterrand <vindex+lists-postfix-us...@apartia.org>:
> On Thu, Oct 24, 2013 at 10:42:07AM +0200, Ralf Hildebrandt wrote:
> > * Louis-David Mitterrand <vindex+lists-postfix-us...@apartia.org>:
> > > Hi, 
> > > 
> > > I have a virtual_alias_maps with a pcre entry like 
> > > 
> > >   /^(info|contact|etc)@/ localuser
> > > 
> > > and it delivers i...@anydomain.com to localuser even though
> > > 'anydomain.com' is not in virtual_alias_domains, is that normal?
> > 
> > Yes.
> 
> So I have to write (and maintain) that entry like this?
> 
>       /^(info|contact|etc)@(domain1|domain2|domain3|etc).com$/ localuser
> 
> Is there a better way?

That's the only way. Otherwise it would rewrite the address for all
domains, even non-local ones.

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein

Reply via email to