summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/clamsmtpd.conf5
-rw-r--r--doc/clamsmtpd.conf.55
2 files changed, 9 insertions, 1 deletions
diff --git a/doc/clamsmtpd.conf b/doc/clamsmtpd.conf
index b450091..44fd01e 100644
--- a/doc/clamsmtpd.conf
+++ b/doc/clamsmtpd.conf
@@ -3,7 +3,7 @@
# ------------------------------------------------------------------------------
#
# - Comments are a line that starts with a #
-# - All the options are found below with their defaults commented out
+# - All the options are found below with sample settings
# The address to send scanned mail to.
@@ -39,3 +39,6 @@ OutAddress: 10026
# Enable transparent proxy support
#TransparentProxy: off
+
+# User to switch to
+#User: clamav
diff --git a/doc/clamsmtpd.conf.5 b/doc/clamsmtpd.conf.5
index c61a0fc..9505629 100644
--- a/doc/clamsmtpd.conf.5
+++ b/doc/clamsmtpd.conf.5
@@ -123,6 +123,11 @@ This option enables transparent proxy support, which allows you to route all
SMTP traffic that's going through a gateway through clamsmtp which will then
send it on to its final destination. This setup usually involves firewall
rules which redirect traffic to clamsmtp, and the setup varies from OS to OS.
+.It Ar User
+The user to run as. If this option is specified then
+.Xr clamsmtpd 8
+must be started as root. It will then drop root privileges and run as the
+specified user. The user can either be a name or a numerical user id.
.El
.Sh ADDRESSES
Addresses can be specified in multiple formats: