Python JavaScript HTML CSS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.tx
docs
modoboa_sievefilters
test_project
.gitignore
.landscape.yaml
.travis.yml
LICENSE
MANIFEST.in
README.rst
pylintrc
requirements.txt
setup.cfg
setup.py
test-requirements.txt

README.rst

modoboa-sievefilters

travis codecov Code Health

The sieve filters editor of Modoboa.

Installation

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

$ pip install modoboa-sievefilters

Edit the settings.py file of your modoboa instance and add modoboa_sievefilters 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_sievefilters',
)

Run the following commands to setup the database tables:

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

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