<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.18.2">
</HEAD>
<BODY LINK="#0000ff">
<BR>
<BR>
On Wed, 2008-06-18 at 11:02 +0200, Velda Midanovic wrote:
<BLOCKQUOTE TYPE=CITE>
I have a following combination : RH4, MailScanner 4.58.9, ClamAV, SmapAssassin, all working very well together.<BR>
<BR>
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.<BR>
<BR>
Alas!!!<BR>
<BR>
My version of MailScanner does not support watermarking....<BR>
<BR>
So I should upgrade. BUT I installed all from TAR packages. So how do I do it?<BR>
<BR>
</BLOCKQUOTE>
What I usually do is the following after downloading the tarball to your server:<BR>
<BR>
1. disable the check_mailscanner command in crontab with #<BR>
2. move the softlink in /opt like this : <BR>
[root@host]# mv /opt/MailScanner /opt/MailScanner_4.58.9<BR>
3. unpack Jules's TAR package<BR>
4. Run the install.sh script<BR>
5. change directory to /opt/MailScanner/etc and run the following command:<BR>
[<A HREF="mailto:root@host">root@host</A>]# ../bin/upgrade_MailScanner_conf /opt/MailScanner_4.58.9/etc/MailScanner.conf /opt/MailScanner/etc/MailScanner.conf > MailScanner.new<BR>
[<A HREF="mailto:root@host">root@host</A>]# vi MailScanner.new (here I check that all the settings are still correct and see what new toys Jules added to the mix)<BR>
[<A HREF="mailto:root@host">root@host</A>]# mv MailScanner.conf MailScanner.old<BR>
[<A HREF="mailto:root@host">root@host</A>]# mv MailScanner.new MailScanner.conf<BR>
6. change directory to reports/en and run the following command:<BR>
[<A HREF="mailto:root@host">root@host</A>]# ../../../bin/upgrade_languages_conf /opt/MailScanner_4.58.9/etc/reports/en/languages.conf /opt/MailScanner/etc/reports/en/languages.conf > languages.new<BR>
[<A HREF="mailto:root@host">root@host</A>]# mv languages.conf languages.old<BR>
[<A HREF="mailto:root@host">root@host</A>]# mv languages.new languages.conf<BR>
[<A HREF="mailto:root@host">root@host</A>]# cp /opt/MailScanner_4.58.9/etc/reports/en/*.txt . (note the dot)<BR>
[<A HREF="mailto:root@host">root@host</A>]# cp /opt/MailScanner_4.58.9/etc/reports/en/*.html . (note the dot)<BR>
7. If using MailWatch, copy the SQLBlackWhiteList.pm and MailWatch.pm files to the new install like this:<BR>
[<A HREF="mailto:root@host">root@host</A>]# cd /opt/MailScanner/lib/MailScanner/CustomFunctions/<BR>
[<A HREF="mailto:root@host">root@host</A>]# cp /opt/MailScanner_4.58.9/lib/MailScanner/CustomFunctions/SQLBlackWhiteList.pm /opt/MailScanner_4.58.9/lib/MailScanner/CustomFunctions/MailWatch.pm . (note the dot)<BR>
8. That shoudl be about all, then you can run the follwing command and monitor the log file for any errors:<BR>
[<A HREF="mailto:root@host">root@host</A>]# /opt/MailScanner/bin/check_mailscanner; tail -f /var/log/maillog<BR>
9. Re-enable the cronjob if all went well<BR>
<BR>
<BR>
If I missed a step someone might like to point it out.<BR>
<BR>
Cheers<BR>
<BR>
Craig<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
Here is my output of #MailScanner –v :<BR>
<BR>
This is MailScanner version 4.58.9<BR>
<BR>
Module versions are:<BR>
<BR>
1.00 AnyDBM_File<BR>
<BR>
1.16 Archive::Zip<BR>
<BR>
1.03 Carp<BR>
<BR>
1.119 Convert::BinHex<BR>
<BR>
1.00 DirHandle<BR>
<BR>
1.05 Fcntl<BR>
<BR>
2.73 File::Basename<BR>
<BR>
2.08 File::Copy<BR>
<BR>
2.01 FileHandle<BR>
<BR>
1.06 File::Path<BR>
<BR>
0.14 File::Temp<BR>
<BR>
0.90 Filesys::Df<BR>
<BR>
1.35 HTML::Entities<BR>
<BR>
3.54 HTML::Parser<BR>
<BR>
2.37 HTML::TokeParser<BR>
<BR>
1.21 IO<BR>
<BR>
1.10 IO::File<BR>
<BR>
1.123 IO::Pipe<BR>
<BR>
1.71 Mail::Header<BR>
<BR>
3.05 MIME::Base64<BR>
<BR>
5.420 MIME::Decoder<BR>
<BR>
5.420 MIME::Decoder::UU<BR>
<BR>
5.420 MIME::Head<BR>
<BR>
5.420 MIME::Parser<BR>
<BR>
3.03 MIME::QuotedPrint<BR>
<BR>
5.420 MIME::Tools<BR>
<BR>
0.10 Net::CIDR<BR>
<BR>
1.08 POSIX<BR>
<BR>
1.77 Socket<BR>
<BR>
1.4 Sys::Hostname::Long<BR>
<BR>
0.18 Sys::Syslog<BR>
<BR>
1.86 Time::HiRes<BR>
<BR>
1.02 Time::localtime<BR>
<BR>
<BR>
<BR>
Optional module versions are:<BR>
<BR>
0.17 Convert::TNEF<BR>
<BR>
1.814 DB_File<BR>
<BR>
1.12 DBD::SQLite<BR>
<BR>
1.50 DBI<BR>
<BR>
1.15 Digest<BR>
<BR>
1.01 Digest::HMAC<BR>
<BR>
2.36 Digest::MD5<BR>
<BR>
2.10 Digest::SHA1<BR>
<BR>
0.44 Inline<BR>
<BR>
missing Mail::ClamAV<BR>
<BR>
3.001008 Mail::SpamAssassin<BR>
<BR>
1.999001 Mail::SPF::Query<BR>
<BR>
0.20 Net::CIDR::Lite<BR>
<BR>
1.24 Net::IP<BR>
<BR>
0.57 Net::DNS<BR>
<BR>
0.31 Net::LDAP<BR>
<BR>
1.94 Parse::RecDescent<BR>
<BR>
missing SAVI<BR>
<BR>
2.56 Test::Harness<BR>
<BR>
0.47 Test::Simple<BR>
<BR>
1.95 Text::Balanced<BR>
<BR>
1.35 URI<BR>
<BR>
<BR>
<BR>
Pllease help.<BR>
<BR>
Velda<BR>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
-- <BR>
This message has been scanned for viruses and <BR>
dangerous content by <B><A HREF="http://www.mailscanner.info/">MailScanner</A></B>, and is <BR>
believed to be clean.
</BLOCKQUOTE>
</BODY>
</HTML>