Upgrade maia-mailguard to 1.02a

Using maia-mailguard reduce spam in my mail server with accuracy 96% – 99%.

Till I visit maia-mailguard site and find new version, 1.02a

my steps for upgrading in freebsd 6.2 stable :

1. wget http://www.maiamailguard.com/files/maia-1.0.2a.tar.gz

2. tar xvzf maia-1.0.2a.tar.gz

3. cd maia-1.0.2

4. kill all process related to amavis

  4.1 amavisd stop
  4.2 ps -ax | grep amavis && kill all related process

5. copy amavis file

   cd maia-1.0.2
   cp amavisd-maia /usr/local/sbin/
   chown root /usr/local/sbin/amavisd-maia
   chmod 755 /usr/local/sbin/amavisd-maia

6. make symbolic link

   ln -sf /usr/local/sbin/amavisd-maia /usr/local/sbin/amavisd


7. copy required file to new directory

#cd /usr/local/maia-mailguard/maia-1.0.2
#cp -Rp php/* /usr/local/www/maia-mailguard/
#chown -R www:www /usr/local/www/maia-mailguard/themes

8. Test configuration

cd /var/amavisd/maia/scripts
./configtest.pl

Application/Module      Version   Status
========================================================================
Perl                 :    5.8.8 : OK
file(1)              :     4.12 : OK
Archive::Tar         :     1.32 : OK
Archive::Zip         :     1.20 : OK
BerkeleyDB           :     0.32 : OK
Compress::Zlib       :    2.005 : OK
Convert::TNEF        :     0.17 : OK
Convert::UUlib       :     1.09 : OK
Crypt::Blowfish      :     2.10 : OK
Crypt::CBC           :     2.22 : OK
Crypt::OpenSSL::RSA  :     0.25 : OK
Data::UUID           :    1.148 : OK
DB_File              :    1.814 : OK
DBD::mysql           :    4.005 : OK
DBD::Pg              :      N/A : NOT INSTALLED

(required if you use PostgreSQL as your Maia Mailguard database)
DBI                  :     1.58 : OK
Digest::MD5          :     2.36 : OK
Digest::SHA1         :     2.11 : OK
File::Spec           :     3.25 : OK
HTML::Parser         :     3.56 : OK
HTTP::Date           :     1.47 : OK
IO::Stringy          :    2.110 : OK
IO::Zlib             :     1.05 : OK
IP::Country          :     2.23 : OK
LWP::UserAgent       :    2.033 : OK
Mail::Address        :     1.74 : OK
Mail::DomainKeys     :      1.0 : OK
Mail::Internet       :     1.74 : OK
Mail::SpamAssassin   :    3.2.1 : OK
Mail::SPF::Query     :  1.999.1 : OK
MIME::Base64         :     3.07 : OK
MIME::Parser         :    5.420 : OK
MIME::QuotedPrint    :     3.07 : OK
Net::CIDR::Lite      :     0.20 : OK
Net::DNS             :     0.61 : OK
Net::Server          :     0.97 : OK
Net::SMTP            :     2.31 : OK
Pod::Usage           :     1.33 : OK
Template             :     2.19 : OK
Time::HiRes          :     1.86 : OK
Unix::Syslog         :    0.100 : OK
URI                  :     1.35 : OK

Database DSN test    : PASSED

9. upgrade table

admin/upgrade.php

10. configtest

admin/configtest.php

11. run amavisd

/usr/local/sbin/amavisd start