Updating an adopted installation from 4.54

Julian Field MailScanner at ecs.soton.ac.uk
Tue Jun 17 17:48:59 IST 2008



Jay R. Ashworth wrote:
> On Tue, Jun 17, 2008 at 11:27:47AM +0200, Glenn Steen wrote:
>   
>> That's pretty much how you upgrade the source dist too:-).
>> Install the new one to its own directory in /opt, use
>> upgrade_MailScanner_conf on the old file, copy over any modified
>> ruleset files... stop MS, relink to the new install, star
>> MailScanner... Did I miss anything? Don't think so:-)
>>     
>
> You missed that I don't know it as well as you do.  :-)
>
>   
>> Install the new one to its own directory in /opt
>>     
>
> Check.  (well, actually, I'm putting it in /appl/ms4.69.3; FHS be
> damned.  :-)
>
>   
>> use upgrade_MailScanner_conf on the old file
>>     
>
> "On the old install"?  It sounds like you mean "run the upgrade script
> supplied with the new install against the old one".  Do you?
>   
All versions of upgrade_MailScanner_conf are pretty much the same. It's 
what you pass to it on the command-line that tells it what to do. Diff 
the two scripts and you will find they are identical, pretty much. I 
occasionally add a new test, but the differences don't basically affect 
its operation.
>   
>> copy over any modified ruleset files...
>>     
>
> from the old install to the new one...?
>   
Yes. If you have modified any of the report files you might want to copy 
the old ones to the new one as well. If you have edited languages.conf 
then there is an upgrade_languages_conf script as well (which is 
actually a soft-linked copy of upgrade_MailScanner_conf :-)
>   
>> stop MS, relink to the new install, start MailScanner... 
>>     
>
> This part I *think* I get, but I'm not 100% certain how the Sendmail
> 8.13 -> MailScanner link works.  Is it in fact enough if I make sure
> that /opt/MailScanner points to the new install's home directory once
> I'm done?  Is the only interface through the filesystem?
>   
The only interface from sendmail to MailScanner is through the 
filesystem. The only sendmail call that MailScanner makes is to kick it 
into doing a delivery attempt of each new message as soon as it has been 
processed. It does that by running "Sendmail2" as defined in 
MailScanner.conf.

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc


-- 
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