summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-10-30 18:10:07 +0000
committerStef Walter <stef@memberwebs.com>2004-10-30 18:10:07 +0000
commit409ee41b2e979c1b48690a82839d622e1f6ab99b (patch)
tree15825beababdade348d1a9e8811f8fbb81e8a359 /doc
parentad408f3c5264ade2c9fad5d795dd8fb3f802f798 (diff)
Allow configuration of server keep alives (NOOPs). Default to none.
Diffstat (limited to 'doc')
-rw-r--r--doc/clamsmtpd.conf3
-rw-r--r--doc/clamsmtpd.conf.57
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/clamsmtpd.conf b/doc/clamsmtpd.conf
index b42851a..2033171 100644
--- a/doc/clamsmtpd.conf
+++ b/doc/clamsmtpd.conf
@@ -19,6 +19,9 @@ OutAddress: 10026
# Amount of time (in seconds) to wait on network IO
#TimeOut: 180
+# Keep Alives (ie: NOOP's to server)
+#KeepAlives: 0
+
# Address to listen on (defaults to all local addresses on port 10025)
#Listen: 0.0.0.0:10025
diff --git a/doc/clamsmtpd.conf.5 b/doc/clamsmtpd.conf.5
index e481af9..7df06bc 100644
--- a/doc/clamsmtpd.conf.5
+++ b/doc/clamsmtpd.conf.5
@@ -82,6 +82,13 @@ on. See syntax of addresses below.
[ Default:
.Pa /var/run/clamav/clamd
]
+.It Ar KeepAlives
+On slow connections the server will sometimes timeout before
+.Nm
+is finished scanning the file. This option sends NOOP's to the server
+to keep the connection alive. Specify the number of seconds, or 0
+to disable.
+[ Default: 0 ]
.It Ar Listen
The address and port to listen for SMTP connections on. See syntax of
addresses below.