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 26th April 2013, 14:09
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
 
Default IPSCFG Upgrade - persistent part of postfix main.cf

Hi guys,

lately I updated my IPSCOnfig to the most recent version, with the effect I was generally aware of, but finally forogt about it, that it backups but recreates some config files.
In my special case, the main.cf, where I added some RBL filters, changed the TLS certificate files and some others.
And I also made this file a bit more human readable with some tabs and linebreaks

So the final question is, what is seen from the upgrade archtitecture a possible solution to detect differences between the current and the new file and e.g. prompt for action, like aptitude does.

I am aware of that things might get complicated it there was a change in the "native" config file ispconfig3 provided between a current and the upated version, when a parameter was additionally extended by an admin.

So my idea woul be to ask the user for what to do, then save the old file as backup, and explicitly NOT restarting the particular service. After the installation the admin gets presented a list with services not startet and config changes that need a manual review.
This would ensure that service do not start with a "broken" configuration, and to manually crawl through the diffs.

Any better suggestions?
Reply With Quote
Sponsored Links
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
Postfix Timeout after DATA from some emails treeman Server Operation 13 25th September 2013 12:51
How cai remove amavis from postfix ? gabrix Server Operation 16 2nd October 2012 09:58
ftp authentication fails fooboo Installation/Configuration 34 26th March 2010 14:04
Need help get mail to work (can't recieve and apperently can't send) omega13a Installation/Configuration 19 20th August 2009 21:06
Help configure Postfix to use alt port 465 or 587 BoloMarkIII Installation/Configuration 10 16th March 2009 17:57


All times are GMT +2. The time now is 22:14.


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