Oefenweb / ansible-postfix

Ansible role to set up postfix in Debian-like systems
MIT License
174 stars 83 forks source link

Option to set alias database type to regexp #133

Closed bugspencor closed 8 months ago

bugspencor commented 8 months ago

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.