I have not used Fedora for some time now. Maybe these will help... http://fedoraforum.org/forum/showthread.php?t=235160 http://www.techonia.com/upgrade-clamav-centos
Hi SamTzu, Thanks for your reply, the centos one looks like it might do the trick, but there are too many missing commands that I dont understand. Time to rebuild another server it seems. Thanks again.
As this is a general debian problem, I guess they will or have released already updates for it. So make sure that you installed all debian updates. As alternative you can e.g. use the clamav packages from the debian volatile project:
Just use "deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free" to update and after enable all the other again.
for redhat, centos or fedora based linux, you can try using dag wieers repository. It is quite up-to-date with their clamav. Or you can download manually the rpm from http://packages.sw.be/clamav/ Then run "rpm -Uvh clamv-latest-version.rpm".
oh sorry. I too have stopped using FC long time already. If you want to use the server for live usage, better change to using centos or rhel. FC is really not suitable for use as servers. If you want better packages management then ubuntu is much better. Get LTS version which have a lifetime of 2 years. My last experience with FC10/11/12 is really appaling. The developer for FC is turning it into some clown show. Since FC10, they have abandoned support for old hardware. Network never work the first time you install. You are forced to use selinux which 99.999% of people disable after install.
My question was not a lecture regarding which linux distro is better. Just a fix if there was one. I disagree for you saying that Fedora is not good for live usage. I had these servers up since the RC release and hosting about 15 clients for web/mail and had no major issues. It's not easy moving them to a different server if you possibly know what I mean. If I would start over and would had predict the future, yes.. I would choose something else over Fedora 10. Anyways, I found a work around to at lease process mails. (post up top).
Edit the file /etc/amavis/conf.d/15-av_scanners and add # signs before the lines for amavis: Code: # ['ClamAV-clamd', # \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.ctl"], # qr/\bOK$/, qr/\bFOUND$/, # qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ], to: Code: # ['ClamAV-clamscan', 'clamscan', # "--stdout --disable-summary -r --tempdir=$TEMPBASE {}", # [0], qr/:.*\sFOUND$/, qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ], and restart amavisd. For all other linux distributions its bascically the same, just take a look into the amavisd.conf file.
For some reason now viruses, mailware and other not good things found by ClamAV are staying in the postfix queue, and are not beeing deleted! I guess that the problem is "/var/run/clamav/clamd.ctl" as I do not have it. Should ClamAV create this file, or am I missing something? Restarted "clamav" and the server several times with no luck Mail with no viruses are fine.
Looks as you have not commented out both clamav sections (there are two sections that have to be changed), otherwise there can not be such a message.
Also make sure that you have set "Virus Lover" to yes and "Bypass virus checks" to yes in all policys to ensure that the emails were not checked for viruses.
Till, I DO want to use the virus scanner. All I did was what voltron81 suggested in his post. As mentioned in the link to the "howto" I commented out the stuff in "/etc/amavis/conf.d/15-content_filter_mode"
Ok. So please undo the changes that you made in all amavis config files and then follow the ISPConfig FAQ to update clamav on your system: http://www.faqforge.com/linux/how-t...lamav-engine-is-outdated-on-debian-5-0-lenny/ It did this on all of my servers and it works fine.
I'm having real trouble with this fix. My source looks file sources.list looks like this: Code: ## deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official Multi-architecture amd64/i386/powerpc NETINST #1 20090906-12:17]/ lenny main #deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official Multi-architecture amd64/i386/powerpc NETINST #1 20090906-12:17]/ lenny main deb http://ftp.uk.debian.org/debian/ lenny main deb-src http://ftp.uk.debian.org/debian/ lenny main deb-src http://security.debian.org/ lenny/updates main deb http://security.debian.org/ lenny/updates main #deb http://volatile.debian.org/debian-volatile lenny/volatile main #deb-src http://volatile.debian.org/debian-volatile lenny/volatile main deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free I get the report that I have the latest and therefore nothing to upgrade. See below: Code: badbuntu:/etc/apt# apt-get update Hit http://security.debian.org lenny/updates Release.gpg Ign http://security.debian.org lenny/updates/main Translation-en_GB Hit http://security.debian.org lenny/updates Release Hit http://ftp.uk.debian.org lenny Release.gpg Ign http://ftp.uk.debian.org lenny/main Translation-en_GB Ign http://security.debian.org lenny/updates/main Sources/DiffIndex Hit http://ftp.uk.debian.org lenny Release Ign http://security.debian.org lenny/updates/main Packages/DiffIndex Ign http://ftp.uk.debian.org lenny/main Packages/DiffIndex Ign http://ftp.uk.debian.org lenny/main Sources/DiffIndex Hit http://security.debian.org lenny/updates/main Sources Hit http://ftp.uk.debian.org lenny/main Packages Hit http://security.debian.org lenny/updates/main Packages Hit http://ftp.uk.debian.org lenny/main Sources Hit http://volatile.debian.org lenny/volatile Release.gpg Ign http://volatile.debian.org lenny/volatile/main Translation-en_GB Ign http://volatile.debian.org lenny/volatile/contrib Translation-en_GB Ign http://volatile.debian.org lenny/volatile/non-free Translation-en_GB Hit http://volatile.debian.org lenny/volatile Release Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex Ign http://volatile.debian.org lenny/volatile/contrib Packages/DiffIndex Ign http://volatile.debian.org lenny/volatile/non-free Packages/DiffIndex Hit http://volatile.debian.org lenny/volatile/main Packages Hit http://volatile.debian.org lenny/volatile/contrib Packages Hit http://volatile.debian.org lenny/volatile/non-free Packages Reading package lists... Done badbuntu:/etc/apt# apt-get install clamav Reading package lists... Done Building dependency tree Reading state information... Done clamav is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. badbuntu:/etc/apt# apt-get -u upgrade Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. badbuntu:/etc/apt# /etc/init.d/amavis restart Stopping amavisd: amavisd-new. Starting amavisd: amavisd-new. badbuntu:/etc/apt# Can anyone tell me where I'm going wrong?
update clamav 0.94 to 0.96 in Fedora core 10 whit YUM there no solution to this problem? ... and also tried to create the rpm, I've failed .. I hope that someone has done ... it and work with this community ... and all we have the same problem we can fix it .. using FC10 with ispconfig 3.0.2.1 clamav]# /etc/init.d/clamd.amavisd start Iniciando clamd.amavisd: LibClamAV Warning: ************************************************** ********* LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq *** LibClamAV Warning: ************************************************** ********* LibClamAV Error: cli_hex2str(): Malformed hexstring: This ClamAV version has reached End of Life! Please upgrade to version 0.95 or later. For more information see www.clamav.net/eol-clamav-094 and www.clamav.net/download (length: 169) LibClamAV Error: Problem parsing database at line 741 LibClamAV Error: Can't load daily.ndb: Malformed database LibClamAV Error: cli_tgzload: Can't load daily.ndb LibClamAV Error: Can't load /var/lib/clamav/daily.cld: Malformed database ERROR: Malformed database [FALLÓ] I hope you have a repository to update via yum ?? thanks