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 describes how the table lookups change when the table is given in the form of regular expressions. For a description of regular expression lookup table syntax, see regexp_table(5) or pcre_table(5). NOTE: these formats do not use ":" at the end of a pattern. Each regular expression is applied to the entire search string. Thus, a search string user+foo is not broken up into user and foo. Regular expressions are applied in the order as specified in the table, until a regular expression is found that matches the search string. Lookup results are the same as with indexed file lookups. For security reasons there is no support for $1, $2 etc. substring interpolation.