AW: [Exim] error is still there in EXIM 4.41 with Clamav

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Horst Rohrweck
Data:  
Para: exim-users
Assunto: AW: [Exim] error is still there in EXIM 4.41 with Clamav
Hi!

Try this:
in exim.conf:
av_scanner = clamd:127.0.0.1 3310

in clamav.conf:
outcomment the LocalSocket Param and use this instead:
TCPSocket 3310
TCPAddr 127.0.0.1

Restart clamd and exim

Now exim will communicate with clam via the loopback instead of the socket file. That's maybe easier that searching for the problem with the socket file...

Greez
Horst

Horst Rohrweck
software development

itsoft Software GmbH
Ennser Straße 154
A-4407 Dietach

Tel. +43 7252 39002 0
Fax +43 7252 39002 400
EMail: horst.rohrweck@???
Web: http://www.itsoft.at

-----Ursprüngliche Nachricht-----
Von: exim-users-admin@??? [mailto:exim-users-admin@exim.org] Im Auftrag von Silly Billy
Gesendet: Donnerstag, 12. August 2004 10:29
An: exim-users@???
Betreff: [Exim] error is still there in EXIM 4.41 with Clamav

Hi Frank,
         I try your way but now the log msg change and
appear like this ....


2004-08-12 13:21:49 1Bv9uH-00011g-13 malware acl
condition: clamd: unable to connect to UNIX socket
/var/run/clamav/clamd (Connection refused)
2004-08-12 13:21:49 1Bv9uH-00011g-13 H=localhost
(test.tlpk.com) [127.0.0.1] F=<root@???>
temporarily rejected after DATA
2004-08-12 13:22:44 1Bv9vA-00012B-AT malware acl
condition: clamd: unable to con
nect to UNIX socket /var/run/clamav/clamd (Connection
refused)
2004-08-12 13:22:44 1Bv9vA-00012B-AT H=localhost
(test.com) [127.0.0.1] F=<root@???> temporarily
rejected after DATA

so what to do next ...

Billy



>     I'm configuring my EXIM 4.41 with Clamav 0.72 ..
> the anti-virus installed and working fine but when i
> un-comment the following lines in exim4.conf

>
> acl_smtp_mime = acl_check_mime
> acl_smtp_data = acl_check_content
> av_scanner = clamd:/var/run/clamav/clamd
>
> and send mail ... to LOCAL/WAN user ...
> the following error appers .... in my elog ...
>
> 2004-08-12 12:50:28 1Bv9Pw-0000r3-I6 malware acl
> condition: clamd: unable to connect to UNIX socket
> /var/run/clamav/clamd (Permission denied)


This a clamd issue. Check the permissions of
/var/run/clamav/clamd.

Mine are
srwxrwxrwx    1 exim     exim            0 Aug 11
16:39
clamd=


--Frank Elsner


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##