Oefenweb / ansible-postfix

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

Make master.cf configurable, ensure order of lines in transport_maps #102

Open schuetzi99 opened 3 years ago

schuetzi99 commented 3 years ago

In master.cf, column service together with column type are uniq, so these two columns are used together as key. In that way, each default line of matser.cfcan be overwritten.

When transport_maps is changed, lineinfile cant ensure, that the lines are in the right order. New lines were always added to the end of the file, and existing lines weren't changed. But the order of the lines is very important for this function.

chas0amx commented 2 years ago

@tersmitten Is there a way to do configuration changes in master.cf ?

tersmitten commented 6 months ago

No, there isn't