Upgrading conf file

Julian Field mailscanner at ecs.soton.ac.uk
Tue Oct 8 17:52:10 IST 2002


It's generally acknowledged by everyone that copying over all your old
settings into a new mailscanner.conf file is a pain to do. The alternative
is that you have to accept that you will be using my default values for any
new configuration options.

So, does someone fancy writing a script to automate it?

The spec goes something like this:

Run through the old config file, remembering all the settings.
Then run through the new one, over-writing the setting for every variable
that is in the new file too.
If there are any old variables left over at the end, they must have
disappeared from the config file format, so tell the user they have gone.
Also worth telling the user what the new variables were (i.e. the ones it
couldn't find previous values for).

Any volunteers?
Anyone care to volunteer one of their students?
It could even be set as a coursework assignment for a systems admin or
programming course of some sort.
--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list