Closed petarmaric closed 7 years ago
Should we then make a whilelist or a blacklist of file-types that require calling newaliases/postmap ?
I have a feeling that the following whitelist (based on http://www.postfix.org/postmap.1.html):
btree
cdb
dbm
hash
sdb
may be more preferable.
Please test PR#51, it should satisfy your requirements.
Ping ?
The PR is now merged so this issue can be closed.
Thank you - next time, please include "Fixes #issue" in the commit message of your final commit for the PR.
Here's an excerpt from my Pillar:
Running
state.apply
results in a rather cryptic error:We shouldn't presume that everyone is using
hash
as their dictionary type, as 'newaliases' should not be called if the 'alias_maps' postfix setting hasregexp
as its dictionary type.References:
file_type
argument