View Single Post
  #1  
Old 31st October 2011, 11:03
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 262 Times in 208 Posts
Default ISPC3 Installation/Update Postfix main.cf

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.
Reply With Quote
Sponsored Links