From 409ee41b2e979c1b48690a82839d622e1f6ab99b Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 30 Oct 2004 18:10:07 +0000 Subject: Allow configuration of server keep alives (NOOPs). Default to none. --- doc/clamsmtpd.conf | 3 +++ doc/clamsmtpd.conf.5 | 7 +++++++ 2 files changed, 10 insertions(+) (limited to 'doc') 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. -- cgit v1.2.3