Cleaning and updating installs

Steen, Glenn Glenn.Steen at AP1.SE
Thu Feb 10 11:41:45 GMT 2005


You seem to have both rpm version (or "residue" thereof) and a
"built from source" version of clamav. Get rid of the rpm one,
you really don't want to wait around for someone to take the trouble
of building a package... Not when the source install is so
straightforward. Be sure to build/install 0.82 (although this seems
to be the one you have in /usr/local?) and to adjust
/etc/Mailscanner/virus.scanners.conf to reflect that it's in
/usr/local now.

If you want to play it safe, use more than one AV... That way you can
always "remove" a botched/missbehaving one while you tinker with it,
and still have the other scanner securing your mails.

For SA the need to be up to the very latest isn't as obvious, so
there one could probably live well with a "prebuilt" install.

HtH
-- Glenn

> -----Original Message-----
> From: MailScanner mailing list 
> [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Dave Filchak
> Sent: den 9 februari 2005 17:59
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Cleaning and updating installs
> 
> 
> Hello to all,
> 
> I want to apologize up front for this long winded message but 
> it is all
> to do with my current issues.
> 
> I am trying to clean up, organize and understand my
> MailScanner/ClamAV/Spamassassin installs. In trying to update 
> my ClamAV,
> I seem to, in some cases, have things installed in two places. I know
> some directories changed with newer versions so what I would 
> appreciate,
> is that someone would give me the definitive directory 
> locations for the
> current versions.
> 
> I also have managed to confuse myself as to what the best method of
> updating these applications. I have no problems with MailScanner but I
> am confused about ClamAV and Spamassassin. I have searched 
> the archives
> but really have not found an answer. I used yum to update my 
> ClamAV but
> I have also read that one should just get the tar ball and do it from
> source every time you need to upgrade. And SpamAssassin, I am not sure
> at all about the best way to go about updating. I am now receiving a
> --lint error that says:
> 
> ***WARNING***: spamassassin --lint failed.
> Rolling configuration files back, not restarting SpamAssassin.
> Rollback command is:  mv -f 
> /etc/mail/spamassassin/70_sare_random.cf 
> /etc/mail/spamassassin/RulesDuJour/70_sare_random.cf.2; mv -f 
> /etc/mail/spamassassin/RulesDuJour/70_sare_random.cf.20050209-
> 0330 /etc/mail/spamassassin/70_sare_random.cf;
> 
> Lint output: warning: score set for non-existent rule X_OSIRU_DUL_FH
> warning: score set for non-existent rule RCVD_IN_OSIRUSOFT_COM
> warning: score set for non-existent rule X_OSIRU_SPAM_SRC
> warning: score set for non-existent rule X_OSIRU_OPEN_RELAY
> warning: score set for non-existent rule X_OSIRU_SPAMWARE_SITE
> warning: score set for non-existent rule X_OSIRU_DUL
> lint: 6 issues detected.  please rerun with debug enabled for 
> more information.
> 
> This has just started today and so I am thinking though that 
> it is because my SpamAssassin is out of date? My debug output 
> looks fine with the exception of:
> 
> LibClamAV Warning: 
> ****************************************************
> LibClamAV Warning: ***  This version of ClamAV engine is 
> outdated.  ***
> LibClamAV Warning: ***         Please update it IMMEDIATELY!  
>       ***
> LibClamAV Warning: 
> ****************************************************
> 
> 
> Here are where my current directories are and you will see 
> that I have some duplicates here that I want to clear out.
> 
> 
> /usr/bin/clamav-config
> /usr/bin/clamscan
> /usr/bin/freshclam
> 
> /usr/lib/libclamav.so.1.0.6
> /usr/lib/libclamav.a
> /usr/lib/libclamav.so
> /usr/lib/libclamav.so.1
> 
> /usr/local/bin/clamscan
> /usr/local/bin/clamdscan
> /usr/local/bin/freshclam
> /usr/local/bin/clamav-config
> /usr/local/etc/clamav.conf
> /usr/local/etc/freshclam.conf
> /usr/local/etc/clamav.conf.101704
> /usr/local/etc/clamd.conf
> /usr/local/etc/freshclam.conf.old
> 
> /usr/local/include/clamav.h
> /usr/local/lib/libclamav.so.1.0.4
> /usr/local/lib/libclamav.so.1
> /usr/local/lib/libclamav.so
> /usr/local/lib/libclamav.la
> /usr/local/lib/libclamav.a
> /usr/local/lib/pkgconfig/libclamav.pc
> /usr/local/lib/libclamav.so.1.0.6
> /usr/local/sbin/clamd
> /usr/local/share/clamav
> /usr/local/share/clamav/main.cvd
> /usr/local/share/clamav/daily.cvd
> 
> /var/lib/clamav
> /var/lib/clamav/main.cvd.rpmsave
> /var/lib/clamav/daily.cvd.rpmsave
> 
> /var/spool/mail/clamav
> 
> /var/clamav
> /var/clamav/daily.cvd
> /var/clamav/main.cvd
> 
> /etc/freshclam.conf
> /etc/clamd.conf.20041028
> /etc/freshclam.conf.20041028
> /etc/freshclam.conf.rpmnew
> 
> ----------------
> 
> And here are the versions reported:
> 
> This is MailScanner version 4.38.9
> Module versions are:
> 1.00    AnyDBM_File
> 1.14    Archive::Zip
> 1.01    Carp
> 1.119   Convert::BinHex
> 1.00    DirHandle
> 1.04    Fcntl
> 2.71    File::Basename
> 2.05    File::Copy
> 2.01    FileHandle
> 1.05    File::Path
> 0.13    File::Temp
> 1.29    HTML::Entities
> 3.45    HTML::Parser
> 2.30    HTML::TokeParser
> 1.20    IO
> 1.09    IO::File
> 1.122   IO::Pipe
> 3.05    MIME::Base64
> 5.417   MIME::Decoder
> 5.417   MIME::Decoder::UU
> 5.417   MIME::Head
> 5.417   MIME::Parser
> 3.03    MIME::QuotedPrint
> 5.417   MIME::Tools
> 0.10    Net::CIDR
> 1.05    POSIX
> 1.75    Socket
> 0.03    Sys::Syslog
> 1.02    Time::localtime
> 
> Optional module versions are:
> 1.806   DB_File
> 1.08    Digest
> 1.01    Digest::HMAC
> 2.33    Digest::MD5
> 2.10    Digest::SHA1
> 0.44    Inline
> 0.13    Mail::ClamAV
> 3.000000        Mail::SpamAssassin
> 1.997   Mail::SPF::Query
> 0.15    Net::CIDR::Lite
> 0.48    Net::DNS
> missing Net::LDAP
> 1.94    Parse::RecDescent
> missing SAVI
> 1.2     Sys::Hostname::Long
> 2.42    Test::Harness
> 0.47    Test::Simple
> 1.89    Text::Balanced
> 1.35    URI
> 
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
> 
> Support MailScanner development - buy the book off the website!
> 

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list