modoboa / modoboa-amavis

The amavis frontend of Modoboa

Home Page:https://modoboa.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

modoboa-amavis

gha codecov

The amavis frontend of Modoboa.

Installation

Install this extension system-wide or inside a virtual environment by running the following command:

$ pip install modoboa-amavis

Edit the settings.py file of your modoboa instance and add modoboa_amavis inside the MODOBOA_APPS variable like this:

MODOBOA_APPS = (
    'modoboa',
    'modoboa.core',
    'modoboa.lib',
    'modoboa.admin',
    'modoboa.relaydomains',
    'modoboa.limits',
    'modoboa.parameters',
    # Extensions here
    # ...
    'modoboa_amavis',
)

Then, add the following at the end of the file:

from modoboa_amavis import settings as modoboa_amavis_settings
modoboa_amavis_settings.apply(globals())

Run the following commands to setup the database tables:

$ cd <modoboa_instance_dir>
$ python manage.py migrate
$ python manage.py collectstatic
$ python manage.py load_initial_data

Finally, restart the python process running modoboa (uwsgi, gunicorn, apache, whatever).

Note

Notice that if you dont configure amavis and its database, Modoboa won't work. Check docs/setup for more information.

About

The amavis frontend of Modoboa

https://modoboa.org

License:MIT License


Languages

Language:Python 84.2%Language:JavaScript 9.1%Language:HTML 5.8%Language:CSS 0.8%Language:Shell 0.0%