Update iredadmin-pro.customize.maildir.path.html.

This commit is contained in:
Zhang Huangbin 2018-06-27 13:35:57 +02:00
parent 571bc25e57
commit 5ba5373121
2 changed files with 18 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# iRedAdmin-Pro: Customize maildir path
iRedAdmin-Pro (and iRedAdmin open source edition) offers several settings to
customize the maildir path, default values
are stored in file `libs/default_settings.py`, if you need to change them,
customize the maildir path, default values are stored in file
`libs/default_settings.py`, if you need to change them,
please write your own setting in iRedAdmin main config file `settings.py`, so
that your settings will be kept after upgrading iRedAdmin.
@ -23,6 +23,14 @@ MAILDIR_PREPEND_DOMAIN = True
MAILDIR_APPEND_TIMESTAMP = True
```
Also one setting in `settings.py`:
```
# Directory used to store mailboxes. Defaults to /var/vmail/vmail1.
# Note: This directory must be owned by 'vmail:vmail' with permission 0700.
storage_base_directory = '/var/vmail/vmail1'
```
Note: each time you modified iRedAdmin source code (Python source file which
file name ends with `.py`), you must restart Apache or uwsgi (if you're running
Nginx) service to load modified code.

View File

@ -17,8 +17,8 @@
</a>
&nbsp;&nbsp;//&nbsp;&nbsp;<a href="./index.html">Document Index</a></div><h1 id="iredadmin-pro-customize-maildir-path">iRedAdmin-Pro: Customize maildir path</h1>
<p>iRedAdmin-Pro (and iRedAdmin open source edition) offers several settings to
customize the maildir path, default values
are stored in file <code>libs/default_settings.py</code>, if you need to change them,
customize the maildir path, default values are stored in file
<code>libs/default_settings.py</code>, if you need to change them,
please write your own setting in iRedAdmin main config file <code>settings.py</code>, so
that your settings will be kept after upgrading iRedAdmin.</p>
<pre><code># It's RECOMMEND for better performance. Samples:
@ -37,6 +37,12 @@ MAILDIR_PREPEND_DOMAIN = True
MAILDIR_APPEND_TIMESTAMP = True
</code></pre>
<p>Also one setting in <code>settings.py</code>:</p>
<pre><code># Directory used to store mailboxes. Defaults to /var/vmail/vmail1.
# Note: This directory must be owned by 'vmail:vmail' with permission 0700.
storage_base_directory = '/var/vmail/vmail1'
</code></pre>
<p>Note: each time you modified iRedAdmin source code (Python source file which
file name ends with <code>.py</code>), you must restart Apache or uwsgi (if you're running
Nginx) service to load modified code.</p><div class="footer">