Results 1 to 1 of 1
Hy,
I have a problem with making clamd workin.
this are the steps i've tooked:
CPAN - download modules
Digest::SHA1
Digest::HMAC
Net: NS
Time::HiRes
HTML::Tagset
HTML::Parser
Pod::Usage
Parse::Syslog
Statistics: istributions
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-04-2008 #1Just Joined!
- Join Date
- Jan 2008
- Posts
- 1
clamd daemon won't work :(
Hy,
I have a problem with making clamd workin.
this are the steps i've tooked:
CPAN - download modules
Digest::SHA1
Digest::HMAC
Net:
NS
Time::HiRes
HTML::Tagset
HTML::Parser
Pod::Usage
Parse::Syslog
Statistics:
istributions
Mail::SpamAssasin
tar xzf *.*
cd ...
perl Makefile.PL
make
make install
yum install perl-suidperl
yum install unzip
yum install clamav
yum install clamav-devel
yum install clamav-server
yum install clamav-update
vim /usr/share/doc/clamav-server-0.91.2/README
cp /usr/share/doc/clamav-server-0.91.2/clamd.conf /etc/clamd.d/
vim /etc/clamd.d/clamd.conf
"Example" - commented out.
"LogFile" - set to /var/log/clamd.log
"LogTime" - uncommented.
"LogSyslog" - uncommented.
"User" - set to qscand
"ScanMail" - uncommented.
useradd -c "Qmail-Scanner Account" -s /bin/false qscand
touch /var/log/clamd.mail
chgrp qscand /var/log/clamd.mail
chmod 0620 /var/log/clamd.mail
cp /usr/share/doc/clamav-server-0.91.2/clamd.logrotate /etc/logrotate.d/
vim /etc/logrotate.d/clamd.logrotate
cp /usr/share/doc/clamav-server-0.91.2/clamd.sysconfig /etc/sysconfig/clamd.mail
vim /etc/sysconfig/clamd.mail
cp /usr/share/doc/clamav-server-0.91.2/clamd.init /etc/init.d/clamd.mail
vim /etc/init.d/clamd.mail
/sbin/chkconfig clamd.mail on
ln -s /usr/share/doc/clamav-server-0.91.2/clamd /usr/sbin/clamd
mkdir -p /var/run/clamd.mail
chgrp qscand /var/run/clamd.mail
where i've edited the files with vim, i've changed the files according to
/usr/share/doc/clamav-server-0.91.2/README
mainly, i've modified '<SERVICE>' to 'mail'
And:
/etc/init.d/clamd.mail start
Starting clamd.mail: /bin/bash: clamd.mail: command not found


Reply With Quote
