Re: Regular expressions in alias_maps

2012-10-15 Thread Wietse Venema
Noel Jones: > Indeed, the aliases(5) lookup key for non-indexed files is not > clearly documented. This manpage was missed when regular expression support was added to Postfix. Below is text that will appear in the next release. Wietse REGULAR EXPRESSION TABLES This section des

Re: Regular expressions in alias_maps

2012-10-15 Thread Noel Jones
On 10/15/2012 10:41 AM, Václav Pernica wrote: > Hello Wietse > >> You made a mistake somewhere. Show "postconf -n" command >> output and someone will tell you what's wrong. > > You were right, the mistake was: > /test27/: test > > The colon behind the key. Without it works fine. > (I let

Re: Re: Regular expressions in alias_maps

2012-10-15 Thread Václav Pernica
Hello Wietse > You made a mistake somewhere. Show "postconf -n" command > output and someone will tell you what's wrong. You were right, the mistake was: /test27/: test The colon behind the key. Without it works fine. (I let confused by usage postalias which reported to me that the colon

Re: Regular expressions in alias_maps

2012-10-15 Thread Wietse Venema
V?clav Pernica: > Hello > > Is it possible to use regular expressions in aliases maps? I tried to do: > > alias_maps = hash:/etc/aliases, pcre:/etc/aliases-regex > > then eg.: > cat /etc/aliases-regex > /test27/: test > > postalias /etc/aliases-regex postalias and postmap are not needed