First, when you show a config file, please omit the comment lines... It
makes the mail big and doesn't give any extra info.

Answering your problem, I think you are lacking one option on the
sendmail.cf file.
We have sendmail(8.12.11) + clamav + clamav-milter and the options we have
on the sendmail.cf are:
---- Code ----
O InputMailFilters=clmilter
Xclmilter, S=local:/var/run/clamav/clmilter.sock,F=, T=C:5s;S:10s;R:30s
---- End  ----

I saw that you only included the second one.

Regards,

Samsam

-----Mensaje original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] nombre de Iulian
Enviado el: Jueves, 13 de Mayo de 2004 06:01 a.m.
Para: [EMAIL PROTECTED]
Asunto: [Clamav-users] sendmail-milter-clamav


  I try to install CLAMAV, on Slack 9.1, with sendmail and
milter, ....
My installation:
1.

sendmail -d0 | grep MILTER
on my PC: Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS
MILTER MIME7TO8 MIME8TO7

2. User clamav, ...:
group clamav
useradd -g clamav -d /dev/null clamav
mkdir /var/clamav
chown clamav:clamav /var/clamav

3 Install...

./configure \
--prefix=/usr --sysconfdir=/etc --datadir=/var/clamav \
--enable-milter
make
make install

4. Cofig /etc/clamav.conf


.......


5. Update Virus Database
freshclam --quiet --stdout --datadir /var/clamav --log
/var/clamav/clamav.log

6. Test

cd /usr/src/clamav/test
clamscan test1
-the test is OK

7. Sendmail

In sendmail.cf, in section Mail Filtres

Xclmilter, S=local:/var/clamav/clmilter.sock,F=, T=S:4m;R:4m

8. Start daemon

clamd
clamav-milter -blo /var/clamav/clmilter.sock
/etc/rc.d/rc.sendmail restart

-my test
ls -l /var/clamav/*sock
srwxrwxrwx  1 clamav clamav 0 May 13 09:17 /var/clamav/clamd.sock
srwx------  1 clamav clamav 0 May 13 09:17 /var/clamav/clmilter.sock


ps -aux|grep cla
clamav     920  0.0 10.2 14300 13020 ?       S    09:17   0:00 clamd
clamav     924  0.0  0.6  4368  860 ?        S    09:17   0:00
clamav-milter -blo /var/clamav/clmilter.sock


9. Mail test(with file test1 , the same as point 6.)

cat test1 | mail -s "Vir" root
and the mail test go on my mailbox, without any problems!
In my logs, no errors, warnings,...What is wrong ?!

Thanks!



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to