Upgrade of MailScanner
Craig Retief
craig at csfs.co.za
Wed Jun 18 11:06:34 IST 2008
On Wed, 2008-06-18 at 11:02 +0200, Velda Midanovic wrote:
> I have a following combination : RH4, MailScanner 4.58.9, ClamAV,
> SmapAssassin, all working very well together.
>
> The problem is that I get quite some backscatter on some of my users,
> and since watermarking may solve at least some of my problems, I plant
> to use it.
>
> Alas!!!
>
> My version of MailScanner does not support watermarking....
>
> So I should upgrade. BUT I installed all from TAR packages. So how do
> I do it?
>
What I usually do is the following after downloading the tarball to your
server:
1. disable the check_mailscanner command in crontab with #
2. move the softlink in /opt like this :
[root at host]# mv /opt/MailScanner /opt/MailScanner_4.58.9
3. unpack Jules's TAR package
4. Run the install.sh script
5. change directory to /opt/MailScanner/etc and run the following
command:
[root at host]# ../bin/upgrade_MailScanner_conf /opt/MailScanner_4.58.9/etc/MailScanner.conf /opt/MailScanner/etc/MailScanner.conf > MailScanner.new
[root at host]# vi MailScanner.new (here I check that all the
settings are still correct and see what new toys Jules added to the mix)
[root at host]# mv MailScanner.conf MailScanner.old
[root at host]# mv MailScanner.new MailScanner.conf
6. change directory to reports/en and run the following command:
[root at host]# ../../../bin/upgrade_languages_conf /opt/MailScanner_4.58.9/etc/reports/en/languages.conf /opt/MailScanner/etc/reports/en/languages.conf > languages.new
[root at host]# mv languages.conf languages.old
[root at host]# mv languages.new languages.conf
[root at host]# cp /opt/MailScanner_4.58.9/etc/reports/en/*.txt .
(note the dot)
[root at host]# cp /opt/MailScanner_4.58.9/etc/reports/en/*.html .
(note the dot)
7. If using MailWatch, copy the SQLBlackWhiteList.pm and MailWatch.pm
files to the new install like this:
[root at host]#
cd /opt/MailScanner/lib/MailScanner/CustomFunctions/
[root at host]#
cp /opt/MailScanner_4.58.9/lib/MailScanner/CustomFunctions/SQLBlackWhiteList.pm /opt/MailScanner_4.58.9/lib/MailScanner/CustomFunctions/MailWatch.pm . (note the dot)
8. That shoudl be about all, then you can run the follwing command and
monitor the log file for any errors:
[root at host]# /opt/MailScanner/bin/check_mailscanner; tail
-f /var/log/maillog
9. Re-enable the cronjob if all went well
If I missed a step someone might like to point it out.
Cheers
Craig
> Here is my output of #MailScanner –v :
>
> This is MailScanner version 4.58.9
>
> Module versions are:
>
> 1.00 AnyDBM_File
>
> 1.16 Archive::Zip
>
> 1.03 Carp
>
> 1.119 Convert::BinHex
>
> 1.00 DirHandle
>
> 1.05 Fcntl
>
> 2.73 File::Basename
>
> 2.08 File::Copy
>
> 2.01 FileHandle
>
> 1.06 File::Path
>
> 0.14 File::Temp
>
> 0.90 Filesys::Df
>
> 1.35 HTML::Entities
>
> 3.54 HTML::Parser
>
> 2.37 HTML::TokeParser
>
> 1.21 IO
>
> 1.10 IO::File
>
> 1.123 IO::Pipe
>
> 1.71 Mail::Header
>
> 3.05 MIME::Base64
>
> 5.420 MIME::Decoder
>
> 5.420 MIME::Decoder::UU
>
> 5.420 MIME::Head
>
> 5.420 MIME::Parser
>
> 3.03 MIME::QuotedPrint
>
> 5.420 MIME::Tools
>
> 0.10 Net::CIDR
>
> 1.08 POSIX
>
> 1.77 Socket
>
> 1.4 Sys::Hostname::Long
>
> 0.18 Sys::Syslog
>
> 1.86 Time::HiRes
>
> 1.02 Time::localtime
>
>
>
> Optional module versions are:
>
> 0.17 Convert::TNEF
>
> 1.814 DB_File
>
> 1.12 DBD::SQLite
>
> 1.50 DBI
>
> 1.15 Digest
>
> 1.01 Digest::HMAC
>
> 2.36 Digest::MD5
>
> 2.10 Digest::SHA1
>
> 0.44 Inline
>
> missing Mail::ClamAV
>
> 3.001008 Mail::SpamAssassin
>
> 1.999001 Mail::SPF::Query
>
> 0.20 Net::CIDR::Lite
>
> 1.24 Net::IP
>
> 0.57 Net::DNS
>
> 0.31 Net::LDAP
>
> 1.94 Parse::RecDescent
>
> missing SAVI
>
> 2.56 Test::Harness
>
> 0.47 Test::Simple
>
> 1.95 Text::Balanced
>
> 1.35 URI
>
>
>
> Pllease help.
>
> Velda
>
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20080618/531d7269/attachment.html
More information about the MailScanner
mailing list