Re: virtual_alias_maps question

2013-10-24 Thread Jeroen Geilman
On 10/24/2013 11:20 PM, LuKreme wrote: On 24 Oct 2013, at 04:39 , Wietse Venema wrote: Louis-David Mitterrand: 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

Re: virtual_alias_maps question

2013-10-24 Thread LuKreme
On 24 Oct 2013, at 04:39 , Wietse Venema wrote: > Louis-David Mitterrand: >> 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_

Re: virtual_alias_maps question

2013-10-24 Thread Louis-David Mitterrand
On Thu, Oct 24, 2013 at 10:04:08AM -0500, /dev/rob0 wrote: > On Thu, Oct 24, 2013 at 10:00:00AM -0500, /dev/rob0 forgot to > terminate a PCRE expression: > > if /@example\.(com|net|org)$/ > > /^(info|contact|etc)@ localuser@mydestination.domain > > endif > > if /@example\.(com|net|or

Re: virtual_alias_maps question

2013-10-24 Thread /dev/rob0
On Thu, Oct 24, 2013 at 10:00:00AM -0500, /dev/rob0 forgot to terminate a PCRE expression: > if /@example\.(com|net|org)$/ > /^(info|contact|etc)@ localuser@mydestination.domain > endif if /@example\.(com|net|org)$/ /^(info|contact|etc)@/ localuser@mydestination.domain endif --

Re: virtual_alias_maps question

2013-10-24 Thread Viktor Dukhovni
On Thu, Oct 24, 2013 at 10:00:00AM -0500, /dev/rob0 wrote: > > Is there a better way? > > Nested, if/endif: > > if /@example\.(com|net|org)$/ > /^(info|contact|etc)@ localuser@mydestination.domain > endif This is all silly, the list of virtual alias domains is known, use a Makefile to g

Re: virtual_alias_maps question

2013-10-24 Thread /dev/rob0
On Thu, Oct 24, 2013 at 10:49:43AM +0200, Louis-David Mitterrand wrote: > On Thu, Oct 24, 2013 at 10:42:07AM +0200, Ralf Hildebrandt wrote: > > * Louis-David Mitterrand > > : > > > I have a virtual_alias_maps with a pcre entry like > > > > > > /^(info|contact|etc)@/ localuser > > > > > >

Re: virtual_alias_maps question

2013-10-24 Thread Wietse Venema
Louis-David Mitterrand: > 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? RTFM: NAME virtual - Postf

Re: virtual_alias_maps question

2013-10-24 Thread Ralf Hildebrandt
* Louis-David Mitterrand : > On Thu, Oct 24, 2013 at 10:42:07AM +0200, Ralf Hildebrandt wrote: > > * Louis-David Mitterrand : > > > Hi, > > > > > > I have a virtual_alias_maps with a pcre entry like > > > > > > /^(info|contact|etc)@/ localuser > > > > > > and it delivers i...@anydomain.com t

Re: virtual_alias_maps question

2013-10-24 Thread Louis-David Mitterrand
On Thu, Oct 24, 2013 at 10:42:07AM +0200, Ralf Hildebrandt wrote: > * Louis-David Mitterrand : > > 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'

Re: virtual_alias_maps question

2013-10-24 Thread Ralf Hildebrandt
* Louis-David Mitterrand : > 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. -- [*] sys4 AG http://s

virtual_alias_maps question

2013-10-24 Thread Louis-David Mitterrand
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?