|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Modularized Config Files
From: Andy Boyett (agb-postfix
padded-cell.net)
Date: Tue May 02 2006 - 18:35:27 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I am deploying multiple mail servers that are largely going to have the
same configuration, only a few items will differ (hostname, interface,
some of the aliases, etc.) I planned to break up the configs, into
common config files, and machine specific config files. The common
configs would contain all of the settings that are the same on all three
servers, and settings that differed would be contained in files with
names following a naming scheme such as "main.<machine name>.cf" Samba
has this implemented, the variable %m is used to store the
machine/hostname and configurations can be sourced via this method.
I have not been able to find anything similar implemented in postfix,
not even an Include directive. If this is not possible in Postfix, is
there a reason it has been kept out, or has there just been no demand?
This would make if far easier to maintain the servers as the configs are
kept in a CVS repository and I had planned to periodically update them
via cron.
Thank you,
-Andy
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]