Mention greylisting training mode.

Fix php.ini file location on Ubuntu 16.04.
This commit is contained in:
Zhang Huangbin 2017-06-05 21:58:16 +08:00
parent 2955462e87
commit 303195bb95
4 changed files with 14 additions and 2 deletions

View File

@ -53,7 +53,9 @@ You should change `memory_limit`, `upload_max_filesize` and `post_max_size` in
PHP config file `/etc/php.ini`
* on RHEL/CentOS: it's `/etc/php.ini`
* on Debian/Ubuntu, it's `/etc/php5/apache2/php.ini`
* on Debian/Ubuntu, it's `/etc/php5/apache2/php.ini`.
* on Ubuntu 16.04 and later releases, it's `/etc/php/7.0/apache2/php.ini`
for Apache, or `/etc/php/7.0/fpm/php.ini` for Nginx + php-fpm.
* on FreeBSD, it's `/usr/local/etc/php.ini` for Apache, or
`/etc/php5/fpm/php.ini` for Nginx.
* on OpenBSD, it's `/etc/php-5.4.ini`. If you're running different PHP release,

View File

@ -217,6 +217,9 @@ There're several settings for greylisting behaviour, default values are defined
in `/opt/iredapd/libs/default_settings.py`. If you want to modify them, please
add the settings with custom values in `/opt/iredapd/settings.py`.
* `GREYLISTING_TRAINING_MODE`: enable greylisting service, but don't reject
any emails. This training mode is useful if this is a new mail server, it
collects information of sender servers for further use.
* `GREYLISTING_MESSAGE`: the rejection message which will be sent to sender
server. Default is `Intentional policy rejection, please try again later`.
* `GREYLISTING_BLOCK_EXPIRE`: Time (in MINUTES) to wait before client retrying,

View File

@ -77,7 +77,11 @@ ok to sent large attachment with above setting.</p>
PHP config file <code>/etc/php.ini</code></p>
<ul>
<li>on RHEL/CentOS: it's <code>/etc/php.ini</code></li>
<li>on Debian/Ubuntu, it's <code>/etc/php5/apache2/php.ini</code></li>
<li>on Debian/Ubuntu, it's <code>/etc/php5/apache2/php.ini</code>.<ul>
<li>on Ubuntu 16.04 and later releases, it's <code>/etc/php/7.0/apache2/php.ini</code>
for Apache, or <code>/etc/php/7.0/fpm/php.ini</code> for Nginx + php-fpm.</li>
</ul>
</li>
<li>on FreeBSD, it's <code>/usr/local/etc/php.ini</code> for Apache, or
<code>/etc/php5/fpm/php.ini</code> for Nginx.</li>
<li>on OpenBSD, it's <code>/etc/php-5.4.ini</code>. If you're running different PHP release,

View File

@ -237,6 +237,9 @@ in iRedAPD config file <code>/opt/iredapd/settings.py</code>, parameter <code>pl
in <code>/opt/iredapd/libs/default_settings.py</code>. If you want to modify them, please
add the settings with custom values in <code>/opt/iredapd/settings.py</code>.</p>
<ul>
<li><code>GREYLISTING_TRAINING_MODE</code>: enable greylisting service, but don't reject
any emails. This training mode is useful if this is a new mail server, it
collects information of sender servers for further use.</li>
<li><code>GREYLISTING_MESSAGE</code>: the rejection message which will be sent to sender
server. Default is <code>Intentional policy rejection, please try again later</code>.</li>
<li><code>GREYLISTING_BLOCK_EXPIRE</code>: Time (in MINUTES) to wait before client retrying,