From 0954fd50fb962fd4bb85439c5183acea7350b3c4 Mon Sep 17 00:00:00 2001 From: Fabian Letzkus Date: Sun, 25 Jun 2017 16:12:44 +0000 Subject: [PATCH] Added configuration paramter to replace clamav with none --- rmilter/rmilter-clamav.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 rmilter/rmilter-clamav.conf diff --git a/rmilter/rmilter-clamav.conf b/rmilter/rmilter-clamav.conf new file mode 100644 index 00000000..b8f38f5e --- /dev/null +++ b/rmilter/rmilter-clamav.conf @@ -0,0 +1,18 @@ +clamav { + # servers - clamav socket definitions in format: + servers = antivirus:3310; + # connect_timeout - timeout in miliseconds for connecting to clamav + connect_timeout = 1s; + # port_timeout - timeout in miliseconds for waiting for clamav port response + port_timeout = 4s; + # results_timeout - timeout in miliseconds for waiting for clamav response + results_timeout = 20s; + # error_time - time in seconds during which we are counting errors + error_time = 10; + # dead_time - time in seconds during which we are thinking that server is down + dead_time = 300; + # maxerrors - maximum number of errors that can occur during error_time to make us thinking that + # Default: 10 + maxerrors = 10; +}; +