= Installing Mailng = This page is a temporary memo, as it will get outdated by upcomming auto-install features.[[BR]] It gives one or more tips about installation.[[BR]] == Back-end == === Data Base === Not all data base back-end are supported by Django see [http://docs.djangoproject.com/en/1.1/ref/databases/#ref-databases: Django doc] for more details. * MySQL backend: on ubuntu (tested on 9.10), install the python-mysqldb package. {{{ sudo apt-get install python-mysqldb }}} See [http://docs.djangoproject.com/en/dev/ref/settings/: Django settings] for more details.[[BR]] * postfix backend : on ubuntu (tested on 9.10), install the postfix package. {{{ sudo apt-get install postfix }}} == Plug-in == === Statistics === To activate the extension, edit your settings.py and add the following line inside the INSTALLED_APPS variable:: {{{ 'mailng.extensions.stats' }}} You need to collect mail log information periodically in order to feed the rrd files. To do so, just add the following lines into root's crontab:: {{{ */5 * * * * PYTHONPATH= DJANGO_SETTINGS_MODULE=mailng.settings /extensions/stats/logparser.py }}}