Automating MailScanner.conf upgrades

Remco Barendse mailscanner at BARENDSE.TO
Tue Feb 18 16:25:01 GMT 2003


Sorry if this was unclear, i didn't mean that the upgrade script should
fetch the rpm but the other way around.

I was thinking of including the upgrade script in the RPM, and after
RPM is done upgrading the MS binaries have it check which version of
MailScanner is running and then run the script from the RPM wrapper  to do
the upgrading automagically.

On Mon, 17 Feb 2003, Julian Field wrote:

> At 20:11 17/02/2003, you wrote:
> >Thanks for this excellent script Julian!
> >
> >This will save me tons of time when doing upgrades on several
> >servers.
>
> I got fed up of doing it the hard way too. After sitting down explaining
> the problem (to my long-suffering lodger!) I realised that it wasn't that
> hard to do.
>
> >Will the script be supplies with every version of MailScanner? Would it be
> >possible to have the script even detect a 4.x version of MailScanner and
> >have rpm run the script on the default installation paths?
>
> I didn't really intend it to go and fetch the new rpm for you. But it
> should work with just about any version of MailScanner as it doesn't use
> anything outside the 2 conf files supplied on the command line. It will
> even do *some* of the work upgrading V3 to V4.
>
> >I tried it on my MS systems and it works like a charm!
>
> Cool :-)
>
>
> >On Sat, 15 Feb 2003, Julian Field wrote:
> >
> > > Morning all,
> > >
> > > The biggest pain in doing an upgrade of MailScanner is working out what has
> > > changed between your current MailScanner.conf and the new one.
> > >
> > > So I have written a tool to help you do this. It will
> > > - copy over all your old settings into the new file
> > > - copy over all the comments you have added to settings
> > > - add the default settings for all new settings
> > > - delete obsolete settings
> > > - print a summary of what it has done,
> > >    including the settings that were added/removed
> > >
> > > It is attached to this message. To find out how to use it, just run it and
> > > it will tell you.
> > >
> > > The only time it will run into trouble is when the supplied value for a
> > > setting is commented out, and you have uncommented it. It can't tell the
> > > difference between lines like that and normal comments. So Exim users
> > beware!
> > >
> > > It can't be perfect, but you should find it helps.
> > >
> >
> >
> >--
> >This message has been scanned for viruses and
> >dangerous content by MailScanner, and is
> >believed to be clean.
>
> --
> Julian Field
> www.MailScanner.info
> MailScanner thanks transtec Computers for their support
>
>


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list