Tell Exim to not to deny emails if ClamAV is unavailable or busy

Not sure if @serghey-rodin think this is OK idea, so let he decide.
I had a situation when company sent too much attachments, ClamAV didn't so fast to scan them all immediately, and therefore became unavailable, so Exim started to deny messages, which caused very bad situation in company.
With this "patch" Exim will not deny emails if ClamAV is unavailable or busy.
This commit is contained in:
dpeca 2018-07-27 17:27:56 +02:00 committed by GitHub
parent 1096fcda9c
commit 33ba05c35b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,7 +138,7 @@ acl_check_rcpt:
acl_check_data:
.ifdef CLAMD
deny message = Message contains a virus ($malware_name) and has been rejected
malware = *
malware = */defer_ok
condition = ${if eq{$acl_m0}{yes}{yes}{no}}
.endif