mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-01 12:03:55 +01:00
Documentation update.
This commit is contained in:
@@ -86,6 +86,8 @@ manipulate directories in vmail's homedir. To do so, edit the
|
||||
|
||||
<user_that_runs_modoboa> ALL=(vmail) NOPASSWD: ALL
|
||||
|
||||
.. _timezone_lang:
|
||||
|
||||
**********************
|
||||
Time zone and language
|
||||
**********************
|
||||
|
||||
@@ -16,10 +16,7 @@ Requirements
|
||||
* `rrdtool python binding <http://oss.oetiker.ch/rrdtool/>`_
|
||||
* `sievelib python module <http://pypi.python.org/pypi/sievelib>`_
|
||||
|
||||
Optional
|
||||
========
|
||||
|
||||
* `ckeditor version 3.4.1+ <http://ckeditor.com/>`_
|
||||
.. _get_modoboa:
|
||||
|
||||
***********
|
||||
Get Modoboa
|
||||
@@ -51,13 +48,14 @@ Database
|
||||
Thanks to *django*, Modoboa supports several databases. Depending on
|
||||
the one you will use, you must install the appropriate python package:
|
||||
|
||||
* `MySQL <http://www.mysql.com>`_: `mysqldb <http://mysql-python.sourceforge.net/>`_
|
||||
* `PostgreSQL <http://www.postgresql.org>`_ : `psycopg2 <http://initd.org/psycopg/>`_
|
||||
* `SQLite <http://www.sqlite.org>`_: already shipped with *Python*
|
||||
* `mysqldb <http://mysql-python.sourceforge.net/>`_ for `MySQL <http://www.mysql.com>`_
|
||||
* `psycopg2 <http://initd.org/psycopg/>`_ for `PostgreSQL <http://www.postgresql.org>`_
|
||||
|
||||
Then, create a user and a database that will be used by Modoboa. Make
|
||||
sure your database is using UTF8 as a default charset.
|
||||
|
||||
.. _deployment:
|
||||
|
||||
**********
|
||||
Deployment
|
||||
**********
|
||||
@@ -91,5 +89,15 @@ available:
|
||||
* Username: ``admin``
|
||||
* Password: ``password``
|
||||
|
||||
It is **strongly** recommanded to change this password the first time
|
||||
It is **strongly** recommended to change this password the first time
|
||||
you log into Modoboa.
|
||||
|
||||
To check if your installation works, just launch the embedded HTTP
|
||||
server::
|
||||
|
||||
$ python manage.py runserver
|
||||
|
||||
You should be able to access your site at http://locahost:8000/.
|
||||
|
||||
For a production environnement, we recommend using a stable webserver
|
||||
like :ref:`apache2` or :ref:`nginx-label`.
|
||||
|
||||
@@ -29,6 +29,8 @@ to domain administrators.
|
||||
If you don't want to limit a particular object type, just set the
|
||||
associated value to -1.
|
||||
|
||||
.. _amavis_frontend:
|
||||
|
||||
********************
|
||||
Amavisd-new frontend
|
||||
********************
|
||||
@@ -171,6 +173,8 @@ Here is a link example::
|
||||
|
||||
http://<modoboa_url>/quarantine/%i/?rcpt=%R&secret_id=[:secret_id]
|
||||
|
||||
.. _stats:
|
||||
|
||||
********************
|
||||
Graphical statistics
|
||||
********************
|
||||
@@ -207,6 +211,8 @@ Replace ``<modoboa_site>`` with the path of your Modoboa instance.
|
||||
|
||||
Graphics will be automatically created after each parsing.
|
||||
|
||||
.. _postfix_ar:
|
||||
|
||||
***************************
|
||||
Postifx auto-reply messages
|
||||
***************************
|
||||
@@ -323,11 +329,18 @@ The size of each attachment sent with messages is limited. You can
|
||||
change the default value by modifying the ``MAX_ATTACHMENT_SIZE``
|
||||
parameter.
|
||||
|
||||
Using a rich editor
|
||||
===================
|
||||
Using CKeditor
|
||||
==============
|
||||
|
||||
CKeditor is supported by Modoboa. To use it, first download it from
|
||||
`the official website <http://ckeditor.com/>`_, then extract the tarball::
|
||||
Modoboa supports CKeditor to compose HTML messages. To use it, first
|
||||
download it from `the official website <http://ckeditor.com/>`_, then
|
||||
extract the tarball::
|
||||
|
||||
$ cd <modoboa_site_dir>
|
||||
$
|
||||
$ tar xzf /path/to/ckeditor/tarball.tag.gz -C sitestatic/js/
|
||||
|
||||
And you're done!
|
||||
|
||||
Now, each user has the possibility to choose between CKeditor and the
|
||||
raw text editor to compose their messages. (see *User > Settings >
|
||||
Preferences > Webmail*)
|
||||
|
||||
@@ -5,24 +5,59 @@ Upgrading an existing installation
|
||||
This section regroups all the upgrade procedures required to use
|
||||
newest versions of Modoboa.
|
||||
|
||||
.. note::
|
||||
Before running a migration, we recommend that you make
|
||||
a copy of your existing database.
|
||||
|
||||
**************
|
||||
Latest version
|
||||
**************
|
||||
|
||||
FIXME
|
||||
Starting with version 0.9.1, Modoboa comes as a standard django
|
||||
application. Fetch the latest version (see :ref:`get_modoboa`) and
|
||||
install it.
|
||||
|
||||
**************
|
||||
Modoboa <= 0.9
|
||||
**************
|
||||
``pip`` users, just run the following command::
|
||||
|
||||
$ pip install --upgrade modoboa
|
||||
|
||||
Then, follow the common procedure::
|
||||
|
||||
$ cd <modoboa_instance_dir>
|
||||
$ python manage.py syncdb --migrate
|
||||
$ python collectstatic
|
||||
|
||||
Finally, refer to this page to see if the version you're installing
|
||||
requires specific operations.
|
||||
|
||||
0.9.1: standard django application and more
|
||||
===========================================
|
||||
|
||||
For this version, we recommend to install a new instance (see
|
||||
:ref:`deployment`) in a different directory.
|
||||
|
||||
Then, copy the following content from the old installation to the new
|
||||
one:
|
||||
|
||||
* The ``media`` directory
|
||||
* The directory containing RRD files if you use the :ref:`stats` plugin
|
||||
|
||||
Don't copy the old *settings.py* file, just keep the new one and
|
||||
modify it (see :ref:`database` and :ref:`timezone_lang`).
|
||||
|
||||
Finally, check the :ref:`amavis_frontend`, :ref:`postfix_ar` and
|
||||
:ref:`stats` chapters (depending on those you use) because the
|
||||
provided cron scripts have been changed, you must update the way you
|
||||
call them.
|
||||
|
||||
********************
|
||||
Modoboa prior to 0.9
|
||||
********************
|
||||
|
||||
First, decompress the new tarball at the same location than your
|
||||
current installation. Then, check if the new version you're installing
|
||||
requires a migration.
|
||||
|
||||
.. note::
|
||||
Before executing a schema/data migration, I recommend that you make
|
||||
a copy of your existing database.
|
||||
|
||||
0.9: global UI refactoring, new *limits* extension and more
|
||||
===========================================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user