Planning to upgrade from 4.50.15 to latest stable (4.60.8-1)

Scott Silva ssilva at
Thu Jun 21 20:41:28 IST 2007

Chris W. Parker spake the following on 6/21/2007 11:47 AM:
> Hello,
> I'm planning to do an upgrade but I have a few questions before I do it.
> I'm using the following document as a guide:
> 1. Do I need to upgrade the 3rd party apps before I do the MailScanner
> upgrade or after?
> 1b. Or does the MailScanner RPM update the apps during install on its
> own?
> 2. Will 4.60.8-1 work with my installed 3rd party apps so that I can
> test the upgrade (in case I need to do a rollback)?
> Here is the output of 'MailScanner -V'.
I run the following script before an upgrade. It gives me a quick recovery if
I need to. It is modified from the script in the maq. You can just run the
restorems(date) script to go back, and the delms(date) to kill the backup when
you don't want it anymore. I hardcoded the paths just to be quick and dirty,
and never went back to clean it up.


cp -a /etc/MailScanner /etc/MailScanner.$(date +%Y%m%d)
cp -a /usr/lib/MailScanner /usr/lib/MailScanner.$(date +%Y%m%d)
cp -a /usr/sbin/MailScanner /usr/sbin/MailScanner.$(date +%Y%m%d)

echo cp -a --remove-destination /etc/MailScanner.$(date +%Y%m%d)
/etc/MailScanner > /root/restorems-$(date +%Y%m%d).sh
echo cp -a --remove-destination /usr/lib/MailScanner.$(date +%Y%m%d)
/usr/lib/MailScanner >> /root/restorems-$(date +%Y%m%d).sh
echo cp -a --remove-destination /usr/sbin/MailScanner.$(date +%Y%m%d)
/usr/sbin/MailScanner>> /root/restorems-$(date +%Y%m%d).sh
chmod +x /root/restorems-$(date +%Y%m%d).sh

echo rm -fr /etc/MailScanner.$(date +%Y%m%d) > /root/delmsback-$(date +%Y%m%d).sh
echo rm -fr /usr/lib/MailScanner.$(date +%Y%m%d) >> /root/delmsback-$(date
echo rm -fr /usr/sbin/MailScanner.$(date +%Y%m%d) >> /root/delmsback-$(date
echo rm -fr /root/restorems-$(date +%Y%m%d).sh  >> /root/delmsback-$(date
echo rm -fr /root/delmsback-$(date +%Y%m%d).sh  >> /root/delmsback-$(date

chmod +x /root/delmsback-$(date +%Y%m%d).sh


MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

More information about the MailScanner mailing list