Installing Mailng
This page is a temporary memo, as it will get outdated by upcomming auto-install features.
It gives one or more tips about installation.
Back-end
Data Base
Not all data base back-end are supported by Django see 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 Django settings for more details.
- 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=<mailng_dir/..> DJANGO_SETTINGS_MODULE=mailng.settings <mailng_dir>/extensions/stats/logparser.py
