Oefenweb / ansible-postfix

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

Ensure aliases.db is always generated #71

Closed evilhamsterman closed 5 years ago

evilhamsterman commented 5 years ago

Postfix expects aliases.db to exist, while your role has a handler to generate it if you modify the aliases file it does not verify the file exists on a fresh install where you don't change the aliases file. The debian installer does not automatically generate the file unless you use the debconf which ansible does not, and despite you setting it up it does not run. Plus since it is necessary for postfix to run without complaint it is a good idea to check for it anyway.