View Single Post
  #3  
Old 7th November 2011, 00:53
8omas 8omas is offline
Senior Member
 
Join Date: Jan 2011
Posts: 148
Thanks: 16
Thanked 35 Times in 26 Posts
Default

Quote:
Originally Posted by Croydon View Post
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
or
- to add some config option questions into the (expert mode) installer for the postfix conf

To be more specific:
Code:
smtpd_sender_restrictions = check_sender_access mysql:'.$config_dir.'/mysql-virtual_sender.cf
At nearly all servers I use something like
Code:
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.
Reply With Quote