This PR allows configuring alias_database as regexp. This topic was already discussed in issue #88, but could not work because the alias db syntax was incorrect for regexp type (containing a colon between user and alias).
A new option postfix_alias_database_type was introduced which is used for alias_database and alias_maps when specified (postfix_default_database_type is used otherwise), and a correct regexp database file is created from the postfix_aliases list.
This PR allows configuring
alias_database
asregexp
. This topic was already discussed in issue #88, but could not work because the alias db syntax was incorrect for regexp type (containing a colon between user and alias).A new option
postfix_alias_database_type
was introduced which is used foralias_database
andalias_maps
when specified (postfix_default_database_type
is used otherwise), and a correct regexp database file is created from thepostfix_aliases
list.