Koozali.org: home of the SME Server

CLAMAV Installation

Mike

Re: CLAMAV Installation
« Reply #15 on: June 14, 2003, 09:08:30 AM »
Guys, same thing happen to me, after I followed the instruction on pagefault.org and installation of amavis-ng and all components then setting up the stmpfront-qmail filter to /usr/bin/qmail-queue-amavis. All mails was blocked, what should be the problem?

Thanks

John

Re: CLAMAV Installation
« Reply #16 on: June 14, 2003, 12:36:05 PM »
Hi

Don't suppose anybody has written an rpm to install this on SME 5.6 have they?

John

Frederik Bay

Re: CLAMAV Installation
« Reply #17 on: June 17, 2003, 11:14:09 AM »
Hi All

Have a problem with CLAMAV-0.54-4 and Amavis-NG-0.1.6.4-01dc.

I installed them on a 5.6U4 + dungog-antivirus-0.1-10

But when i try to change the settings in server-manager under "Virus Scanning" i get:

Software error:
Error occurred while updating system configuration.

I have checked the log and i tells me this:

Jun 17 01:14:13 sme e-smith[3680]: Processing event: conf-antivir
Jun 17 01:14:13 sme e-smith[3680]: Running event handler: /etc/e-smith/events/conf-antivir/S55antivir-conf
Jun 17 01:14:15 sme e-smith[3680]: ERROR: No templates were found for //etc/amavis-ng/amavis.conf.
Jun 17 01:14:15 sme e-smith[3680]:  at /etc/e-smith/events/conf-antivir/S55antivir-conf line 41
Jun 17 01:14:15 sme e-smith[3680]: S55antivir-conf=action|Event|conf-antivir|Action|S55antivir-conf|Start|1055805253 554020|End|1055805255 415405|Elapsed|1.861385|Status|65280

hope soneone has the answer - i'm pretty new to linux - but hopefully getting better.

Frederik

byte

Re: CLAMAV Installation
« Reply #18 on: June 17, 2003, 12:31:23 PM »
Did you take a copy of the config file found on pagefault.org?

Frederik Bay

Re: CLAMAV Installation
« Reply #19 on: June 17, 2003, 07:02:00 PM »
Have now downloaded a new copy and configured it with my settings, still i
get the software error when trying to update settings in  "Virus Scanning" panel.

When looking in my log:

Jun 17 15:50:50 sme e-smith[4469]: Processing event: conf-antivir
Jun 17 15:50:50 sme e-smith[4469]: Running event handler: /etc/e-
smith/events/conf-antivir/S55antivir-conf
Jun 17 15:50:52 sme e-smith[4469]: ERROR: No templates were found
for //etc/amavis-ng/amavis.conf.
Jun 17 15:50:52 sme e-smith[4469]:  at /etc/e-smith/events/conf-
antivir/S55antivir-conf line 41

I'm stuck :-(

Have set this up on another SME box with no problems - but this was earlier
rpms.

Thanks for your help

Frederik

Charlie Hartill

Re: CLAMAV Installation
« Reply #20 on: June 18, 2003, 03:02:04 AM »
I'd like to follow up from Walter's post. The Mitel is such a great way to learn Linux & I value the contributions of the wise people so greatly. It's just such a shame that so many of the contribs are listed as just rpms or have no info about what version they are tested for.

I've just uninstalled the CLAMAV stuff after getting  a qmail queue error, Is this because I have the User Panel upgrade installed? Does anyone know if it clashes with another contrib - I know I have a later version of the perl mail tool: see below - did I do the right thing?

Charlie

[root@AMHURST clam]# rpm -ivf *.rpm
Preparing packages for installation...
file /usr/share/man/man3/Mail::Address.3pm.gz from install of perl-MailTools-1.50-1 conflicts with file from package perl-MailTools-1.40-1
file /usr/share/man/man3/Mail::Cap.3pm.gz from install of perl-MailTools-1.50-1 conflicts with file from package perl-MailTools-1.40-1
file /usr/share/man/man3/Mail::Field.3pm.gz from install of perl-MailTools-1.50-1 conflicts with file from package perl-MailTools-1.40-1
file /usr/share/man/man3/Mail::Field::AddrList.3pm.gz from install of perl-MailTools-1.50-1 conflicts with file from package perl-MailTools-1.40-1
file /usr/share/man/man3/Mail::Filter.3pm.gz from install of perl-MailTools-1.50-1 conflicts with file from package perl-MailTools-1.40-1
file /usr/share/man/man3/Mail::Header.3pm.gz from install of perl-MailTools-1.50-1 conflicts with file from package perl-MailTools-1.40-1
file /usr/share/man/man3/Mail::Internet.3pm.gz from install of perl-MailTools-1.50-1 conflicts with file from package perl-MailTools-1.40-1
file /usr/share/man/man3/Mail::Mailer.3pm.gz from install of perl-MailTools-1.50-1 conflicts with file from package perl-MailTools-1.40-1
file /usr/share/man/man3/Mail::Send.3pm.gz from install of perl-MailTools-1.50-1 conflicts with file from package perl-MailTools-1.40-1
file /usr/share/man/man3/Mail::Util.3pm.gz from install of perl-MailTools-1.50-1 conflicts with file from package perl-MailTools-1.40-1
[root@AMHURST clam]# rpm -q Perl-MailTools
package Perl-MailTools is not installed
[root@AMHURST clam]# rpm -q perl-MailTools-1.50-1
package perl-MailTools-1.50-1 is not installed
[root@AMHURST clam]# rpm -q perl-MailTools-1.40-1
perl-MailTools-1.40-1
[root@AMHURST clam]# rpm -uvf perl-MailTools-1.50-1.i386.rpm
-uvf: unknown option
[root@AMHURST clam]# rpm -Uvf perl-MailTools-1.50-1.i386.rpm
Preparing packages for installation...
perl-MailTools-1.50-1
[root@AMHURST clam]# rpm -ivf *.rpm
Preparing packages for installation...
package perl-MailTools-1.50-1 is already installed
[root@AMHURST clam]# rm perl-MailTools-1.50-1.i386.rpm
rm: remove perl-MailTools-1.50-1.i386.rpm'? y
[root@AMHURST clam]# rpm -ivf *.rpm
Preparing packages for installation...
arc-5.21e-4
clamav-0.54-4
lha-1.14i-4.2rm
perl-Archive-Tar-0.22-1
perl-Compress-Zlib-1.16-1
perl-Config-IniFiles-2.29-1
perl-Convert-TNEF-0.17-1
perl-Convert-UUlib-0.213-1
perl-File-MMagic-1.16-1
perl-IO-stringy-2.108-1
perl-MIME-tools-5.411a-1
perl-libnet-1.12-1
unarj-2.43-6.1rm
unrar-2.71-1.1rm
zoo-2.10-4.1rm
amavis-ng-0.1.6.4-01dc

Damien Curtain

Re: CLAMAV Installation
« Reply #21 on: June 22, 2003, 06:10:45 AM »
In an attempt to stop the flood of e-mail I keep receiving, I've updated the how to on pagefault.org to include more details, the only other option I can see is to nuke all these addon's I have written.

As I've always said the addons I write are aimed at sysadmin professionals who just need to automate some functionality. They are not aimed at the end user who cannot debug basic linux problems on their own.

I don't bother to provide detailed instructions, there's a virus scanning product sold as part of the service-link product aimed at the end-user, purchase this if you need support and an easy installation process.

All my addons work fine if installed correctly.

If you've installed a contrib x and it runs amok with anything I've written then deal with it.

If you don't know how to deal with a simple problem such as upgrading a pre-existing perl module then you really shouldn't be using these addons, you should be using the service-link products.

Cheers
--
 Damien

Walter Padgett

Re: CLAMAV Installation
« Reply #22 on: June 22, 2003, 10:57:02 PM »
Good Afternoon,

I understand the frustration of Mr. Curtain but getting mad at the end user only runs them away from the greatest OS in the world. This is the only posting I'll post regarding this issue. I use Linux on a regular basis but the basic infrastructure of directories, what's installed by default, what version of perl works with what contrib, among other things is still beyond me for the most part. I don't look for the GUI / easy way all the time but rather enjoy command line challenges.

The only thing I was pointing out in regards to the standardization(?) of contribs was that things would work alot smoother. Not only would things work smoother but it would raise the bar of professionalism and accountability. Set some standards that everyone should meet to acquire a certain degree of certification (for a lack of better terminology.)

A penny for your thoughts,

Wally

Robert

Re: CLAMAV Installation
« Reply #23 on: July 31, 2003, 06:02:42 AM »
Ive installed clam twice - v.easy & instant success: id like to add my thanks to Damien for his GREAT rpm and notes that made this possible.
I just installed a more 'up to date version' and it failed!
Now here we HAVE to take Damiens view that you get it for free - after a lot of work from others - and are responsible to gain knowledge to resolve problems if you want to start from these contributions.

FYI, the amavis-conf in the new version was quite different (use diff to find variations between one file and another), so I patched the new with obvious changes - like setting mailfilter.

In the end I ran out of time to fix it as people were (rightly) baying for email, so I searched the phorum (another fabulous resource - thanks Mitel and all contributors) for 'clam uninstall' and found how to reset the original mail setup - this is what we HAVE to do: think and solve!

In days long gone, proprietary software / hardware cost a lot, had few combinations that were strictly controlled and worked.
Now with open systems there is bound to be 'version clash': gee look at how much is added/changed with clam install!
Just because the install is simple, it changes a lot - you cannot just shut your eyes, type rpm.... and hope !

I hope Im not going on too long! This is not novice stuff, and Im no expert, but allowing that there is no such thing as a stupid question, first time - get expertise or get commercial products/support.
Damien is not 'getting mad' as users - he's limiting his provision of free service: and again thanks to you Damien.

Regards to fellow effort-mongers:
Im back to working out my problem....
Robert

PC

Re: CLAMAV Installation
« Reply #24 on: September 17, 2003, 04:49:08 AM »
FWIW
Thank you for writing that well detailed how to, Damien.

(Even though I have been running SME for over two years I still consider myself a noobie.)

I was able to install clamav and the amavis-ng as per the instructions, and when I ran into a hiccup, I examined the instructions more closely and discovered my mistake and corrected it.

Everything seems to work fine, thanks again Damien.

Jason Ephraims

Re: CLAMAV Installation
« Reply #25 on: November 13, 2003, 01:21:30 PM »
I have installed clamav and it appears to work if i send a virus to the computer the email does not reach the receipient but all other emails work so great but i do not receive any emails saying that it has stoped a virus or i do not receive any logs indicating that it has done this. What have i done to stop the reporting side? SME 5.6