ClamAV Autoupdater.

Julian Field MailScanner at ecs.soton.ac.uk
Wed Jul 6 10:28:35 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Please don't just edit my code, you don't need to!
You should just run update_virus_scanners and it will update all the
scanners that are installed on your system, looking in the locations
defined in /etc/MailScanner/virus.scanners.conf.
You need to set the clamav line in there to point at /usr instead of
/usr/local.

On 6 Jul 2005, at 10:21, Tony Enderby wrote:


      Hi All,

      I have until today ignored the errors when I tail -f
      /var/log/maillog indicating that the clamav auto update
      process fails
      because I have always run the freshclam update independantly
      of MailScanner

      Anyway, I had some time on my hands today and decided to try
      and fix it.  It appeared that MailScanner was trying to run
      freshclam from the wrong directory /usr/local/bin/freshclam
      when freshclam actually exists in /usr/bin/freshclam

      I found what appears to be the update script in
      /usr/local/MailScanner/clamav-autoupdate and edited the
      PackageDir
      line to point to /usr in preference to /usr/local

      When I run the script directly with perl and tail maillog, it
      works and tells me that clamav did not need updating.
      If however tail maillog and watch MailScanner output I
      noticed that when the autoupdate script runs via MailScanner
      I get the original "/usr/local/bin/freshclam cannot be run"
       < indicating incorrect path again

      Can someone shed some light on why this may be case and if I
      am in fact looking in the wrong place?

      Many thanks in advance.

      Tony.
      ------------------------ 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 Wiki (http://wiki.mailscanner.info/)
      and the archives
      (http://www.jiscmail.ac.uk/lists/mailscanner.html).

      Support MailScanner development - buy the book off the
      website!


-- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


------------------------ 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 Wiki (http://wiki.mailscanner.info/)
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