From 6147270ba7e07face960fde5653489e920cd2707 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 16 Sep 2004 18:53:20 +0000 Subject: - Ability to switch users - Fix for config files not ending in a line break --- doc/clamsmtpd.conf | 5 ++++- doc/clamsmtpd.conf.5 | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'doc') 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: -- cgit v1.2.3