Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 31st October 2011, 13:30
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

That's true .. only thing i was bothered by that it removed my RBL's ..

I commited RBL adding via webGUI and retaining them during an update to the svn, should be in the next version.

"reject_invalid_hostname, reject_non_fqdn_hostname, " are 2 options that would not hurt putting them in the main.cf template.
__________________
Real men don't backup... Real men cry!

http://www.e-rave.nl/
Reply With Quote
  #3  
Old 6th November 2011, 23: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
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Email Working ISPConfig3 Squirrelmail and Courier etc Ian Wilson Installation/Configuration 17 19th June 2013 22:58
Postfix/courier/Centos 6 cant send email to external email servers maxtorzito Installation/Configuration 14 7th October 2011 10:56
Postfix SMTP Auth to Dovecot Not Working -- HELP! Scratchpad Server Operation 6 12th April 2011 13:29
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47


All times are GMT +2. The time now is 18:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.