summaryrefslogtreecommitdiff
path: root/src/clamsmtpd.8
diff options
context:
space:
mode:
Diffstat (limited to 'src/clamsmtpd.8')
-rw-r--r--src/clamsmtpd.847
1 files changed, 45 insertions, 2 deletions
diff --git a/src/clamsmtpd.8 b/src/clamsmtpd.8
index 4d3b55c..00ff1aa 100644
--- a/src/clamsmtpd.8
+++ b/src/clamsmtpd.8
@@ -1,3 +1,39 @@
+.\"
+.\" Copyright (c) 2004, Nate Nielsen
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\"
+.\" * Redistributions of source code must retain the above
+.\" copyright notice, this list of conditions and the
+.\" following disclaimer.
+.\" * Redistributions in binary form must reproduce the
+.\" above copyright notice, this list of conditions and
+.\" the following disclaimer in the documentation and/or
+.\" other materials provided with the distribution.
+.\" * The names of contributors to this software may not be
+.\" used to endorse or promote products derived from this
+.\" software without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+.\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+.\" COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+.\" OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
+.\" THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+.\" DAMAGE.
+.\"
+.\"
+.\" CONTRIBUTORS
+.\" Nate Nielsen <nielsen@memberwebs.com>
+.\"
.Dd July, 2004
.Dt clamsmtpd 8
.Os clamsmtp
@@ -13,12 +49,13 @@
.Op Fl l Ar listenaddr
.Op Fl m Ar maxconn
.Op Fl p Ar pidfile
+.Op Fl r
.Op Fl t Ar timeout
.Ar serveraddr
.Sh DESCRIPTION
.Nm
-is an SMTP filter that allows you to check for viruses via using ClamAV
-virus software. It accepts SMTP connections and forwards the SMTP commands
+is an SMTP filter that allows you to check for viruses using the ClamAV
+anti-virus software. It accepts SMTP connections and forwards the SMTP commands
and responses to another SMTP server.
.Pp
The DATA email body is intercepted and scanned before forwarding. Email with
@@ -40,6 +77,12 @@ is listening for connections.
.Sh OPTIONS
The options are as follows:
.Bl -tag -width Fl
+.It Fl b
+When this flag is set
+.Nm
+actively rejects messages with viruses. This may cause the sender to receive
+a message back notifying them of the virus. In most cases this is not a good
+idea since many viruses spoof sender addresses.
.It Fl c
.Ar clamaddr
specifies the address to connect to