René Berber wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Richard Collyer wrote:
>
>   
>> Tom Ray [Lists] wrote:
>>     
>>> I have Exim 4.67 installed and the latest version of clamAV.
>>>
>>> I have av_scanner=clamd:/tmp/clamd
>>>
>>> What type of ACL do I need for exim? Because the ones I've tried break 
>>> exim from working.
>>>       
>
> A very simple one:
>
> acl_check_data:
>
>   # Deny if the message contains a virus. Before enabling this check, you
>   # must install a virus scanner and set the av_scanner option above.
>   #
>   deny    malware   = *
>           message   = This message contains a virus ($malware_name).
>
> That's all it needs.
>
>   
Alright did that and this is what I get now:

2007-08-03 14:18:15 1IH1j5-0001xW-ED malware acl condition: clamd: 
ClamAV returned /var/spool/exim/scan/1IH1j5-0001xW-ED: lstat() failed. ERROR
2007-08-03 14:18:15 1IH1j5-0001xW-ED H=rv-out-0910.google.com 
[209.85.198.189] F=<[EMAIL PROTECTED]> temporarily rejected after DATA
>> Didnt I read that the new version of ClamAV needed you to use 
>> /tmp/clamd.socket instead of the /tmp/clamd
>>
>> http://wiki.clamav.net/Main/UpgradeNotes091
>>     
>
> No, don't confuse the issue, clamd will use whatever is configured in
> clamd.conf, it just happens that the new version uses a new name by default.
>   
It was already pointing to /tmp/clamd in the conf file and that's what 
was created in /tmp so that's all good.
> - --
> René Berber
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (Cygwin)
>
> iD8DBQFGs2yFL3NNweKTRgwRCKqqAJ90HRuQMscvnRwXIegZjNcDXFWr4wCdGR/V
> tO1u3Vezjb8eysSgXMYNPzk=
> =fK7k
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>   

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to