Originally Posted by Croydon
Currently the contents of the main.cf config for postfix seems to be hardcoded into the installer_base library and the operating system specific ones.
This means the main.cf is overwritten on each update/install.
Would it be an option either
- to make a config template for the main.cf that can be overridden in the conf-cust dir - and remains the same during update
- to add some config option questions into the (expert mode) installer for the postfix conf
To be more specific:
smtpd_sender_restrictions = check_sender_access mysql:'.$config_dir.'/mysql-virtual_sender.cf
At nearly all servers I use something like
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf, reject_invalid_hostname, reject_non_fqdn_hostname, reject_rbl_client zen.spamhaus.org
So I have to keep in mind adding these options every time again when updating ispc.
Same "problem" here.
It would be very convinient to have a place to put our customizations.