Good morning.
Today I have discovered a part about exim config por clamav that it is working with every domain. We have a file into /etc/exim4/domains/$domain/ calle antivirus. Do you know how it works? I have tried writting a domain per line but if I send an email to an account with domain existing into antivirus file, it does nothing.
Can anybody help me?
This is the most significative config about clamav into exim
.ifdef CLAMD
warn set acl_m0 = nowarn condition = ${if exists {/etc/exim4/domains/$domain/antivirus}{yes}{no}}
set acl_m0 = yes
.endif
.ifdef CLAMD
deny message = Message contains a virus ($malware_name) and has been rejected
malware = */defer_ok
condition = ${if eq{$acl_m0}{yes}{yes}{no}}