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 for regular expression tables.

> However when trying to deliver message to test27 it says that:
> 
> 550 5.1.1 <test27>: Recipient address rejected: User unknown in local 
> recipient table
> 
> Of course test27 is not regular expression, but this was just for testing..
> I got the same result is also with regexp maps.
> 
> Any idea?

You made a mistake somewhere. Show "postconf -n" command
output and someone will tell you what's wrong.

        Wietse

Reply via email to