summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-09-16 18:53:20 +0000
committerStef Walter <stef@memberwebs.com>2004-09-16 18:53:20 +0000
commit6147270ba7e07face960fde5653489e920cd2707 (patch)
treeacfd4c2102683de0d1739b7b5c8359984baf2da0 /doc
parent216e32d823baa33dd3e302201197860db52ce7a4 (diff)
- Ability to switch users
- Fix for config files not ending in a line break
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: