Hajo Locke:
> Hello,
> 
> since some days we use postfix 3.1.0
> We have some failoversystems and use a main.cf which is symlinked into a 
> drbd-area.
> When using postconf to change a main.cf parameter, symlink is replaced 
> by regular file.

Sorry, symlinked configuration files are NOT SUPPORTED.

> This behaviour is documented here: http://www.postfix.org/postconf.1.html
> 
> What is the reason for this behvaiour? A symlinked file may have some 
> advantages. In our case it spares editing the main.cf after failover, 
> because main.cf always fits to current master-server (myhostname, 
> relayhost).

Please, use proper configuration management tools (look into things
like Puppet/Chef) or use rsync.

        Wietse

Reply via email to