Fixed: don't mention amavisd config files on other distributions since this fix it's applicable to only RHEL/CentOS.

This commit is contained in:
Zhang Huangbin 2015-05-16 21:32:28 +08:00
parent a94b6b7c86
commit 2668bf5637
2 changed files with 4 additions and 13 deletions

View File

@ -162,13 +162,8 @@ header, throttling won't be triggered.</p>
instead of <code>$banned_filename_re</code> to check banned file types, but it
(<code>$banned_namepath_re</code>) was not defined, so we define some blocked file
types here.</p>
<p>Please append below settings in Amavisd config file, before the last line
(<code>1; # insure a defined return</code>) in the same file:</p>
<ul>
<li>On RHEL/CentOS, OpenBSD, it's <code>/etc/amavisd/amavisd.conf</code>.</li>
<li>On Debian/Ubuntu, it's <code>/etc/amavis/conf.d/50-user</code>.</li>
<li>On FreeBSD, it's <code>/usr/local/etc/amavisd.conf</code>.</li>
</ul>
<p>Please append below settings in Amavisd config file <code>/etc/amavisd/amavisd.conf</code>,
before the last line (<code>1; # insure a defined return</code>) in the same file:</p>
<pre><code># Amavisd on some Linux/BSD distribution use \$banned_namepath_re
# instead of \$banned_filename_re, so we define some blocked file
# types here.

View File

@ -126,12 +126,8 @@ instead of `$banned_filename_re` to check banned file types, but it
(`$banned_namepath_re`) was not defined, so we define some blocked file
types here.
Please append below settings in Amavisd config file, before the last line
(`1; # insure a defined return`) in the same file:
* On RHEL/CentOS, OpenBSD, it's `/etc/amavisd/amavisd.conf`.
* On Debian/Ubuntu, it's `/etc/amavis/conf.d/50-user`.
* On FreeBSD, it's `/usr/local/etc/amavisd.conf`.
Please append below settings in Amavisd config file `/etc/amavisd/amavisd.conf`,
before the last line (`1; # insure a defined return`) in the same file:
```
# Amavisd on some Linux/BSD distribution use \$banned_namepath_re