Merge branch '1.1.x'

This commit is contained in:
Antoine Nguyen
2014-06-28 09:37:19 +02:00
4 changed files with 29 additions and 5 deletions
+14
View File
@@ -66,6 +66,14 @@ The *admin* application exposes several parameters, they are presented below:
| |is specified | |
+--------------------+--------------------+--------------------+
.. note::
If you are not familiar with virtual domain hosting, you should
take a look at `postfix's documentation
<http://www.postfix.org/VIRTUAL_README.html>`_. This `How to
<https://help.ubuntu.com/community/PostfixVirtualMailBoxClamSmtpHowto>`_
also contains useful information.
.. note::
A random secret key will be generated each time the *Parameters*
@@ -297,6 +305,9 @@ online panel.
To use it, you can setup a cron job to run every night::
0 0 * * * <modoboa_site>/manage.py cleanlogs
#
# Or like this if you use a virtual environment:
# 0 0 * * * <virtualenv path/bin/python> <modoboa_site>/manage.py cleanlogs
Cleaning the session table
==========================
@@ -311,3 +322,6 @@ cleanup``. That script deletes any session in the session table whose
For example, you could setup a cron job to run this script every night::
0 0 * * * <modoboa_site>/manage.py cleanup
#
# Or like this if you use a virtual environment:
# 0 0 * * * <virtualenv path/bin/python> <modoboa_site>/manage.py cleanup
+4 -3
View File
@@ -155,8 +155,9 @@ server::
You should be able to access Modoboa at http://localhost:8000/.
For a fully working interface using the embedded HTTP server, you need to set the ``DEBUG``
parameter in settings.py to ``True``.
For a fully working interface using the embedded HTTP server, you need
to set the ``DEBUG`` parameter in settings.py to ``True``.
For a production environment, we recommend using a stable webserver
like :ref:`apache2` or :ref:`nginx-label`. Don't forget to set ``DEBUG`` back to ``False``.
like :ref:`apache2` or :ref:`nginx-label`. Don't forget to set
``DEBUG`` back to ``False``.
+10 -1
View File
@@ -140,6 +140,9 @@ purge the quarantine database. To use it, add the following line
inside root's crontab::
0 0 * * * <modoboa_site>/manage.py qcleanup
#
# Or like this if you use a virtual environment:
# 0 0 * * * <virtualenv path/bin/python> <modoboa_site>/manage.py qcleanup
Replace ``modoboa_site`` with the path of your Modoboa instance.
@@ -206,6 +209,9 @@ administrators or domain administrators. To use it, add the following
example line to root's crontab::
0 12 * * * <modoboa_site>/manage.py amnotify --baseurl='<modoboa_url>'
#
# Or like this if you use a virtual environment:
# 0 12 * * * <virtualenv path/bin/python> <modoboa_site>/manage.py amnotify --baseurl='<modoboa_url>'
You are free to change the frequency.
@@ -279,7 +285,7 @@ files (see `rrdtool <http://oss.oetiker.ch/rrdtool/>`_) and then
generates graphics in PNG format.
To use it, go to the online parameters panel and adapt the following
ones to your environnement:
ones to your environment:
+--------------------+--------------------+--------------------------+
|Name |Description |Default value |
@@ -307,6 +313,9 @@ To finish, you need to collect information periodically in order to
feed the RRD files. Add the following line into root's crontab::
*/5 * * * * <modoboa_site>/manage.py logparser &> /dev/null
#
# Or like this if you use a virtual environment:
# 0/5 * * * * <virtualenv path/bin/python> <modoboa_site>/manage.py logparser &> /dev/null
Replace ``<modoboa_site>`` with the path of your Modoboa instance.
+1 -1
View File
@@ -560,7 +560,7 @@ requires a migration.
$ python manage.py migrate admin
#. Update SQL queries used in your environnement (see
#. Update SQL queries used in your environment (see
:ref:`postfix` or :ref:`dovecot`).
#. Update Postfix configuration so that it can handle domain aliases