Table Of Contents

Previous topic

Baruwa on Centos/RHEL

Next topic

Migrate from Mailwatch

This Page

Baruwa on Fedora

Baruwa rpm install

Download the rpm from,

Now proceed and install the rpm:

# yum --nogpgcheck localinstall baruwa-<version>.noarch.rpm

Create the database:

# mysql -p < /usr/share/doc/baruwa-$(rpm --qf %{VERSION} -q baruwa)/baruwa-create.sql

Create the database user:

mysql> GRANT ALL ON baruwa.* TO baruwa@localhost IDENTIFIED BY '<password>';
mysql> flush privileges;

Configure MailScanner

Configure MailScanner if you have not already done so.

Configure Baruwa

Edit /usr/lib/python2.4/site-packages/baruwa/ and set the mysql database details:

DATABASE_NAME = 'baruwa'
DATABASE_USER = 'baruwa'
DATABASE_PASSWORD = '<baruwa_password>'
DATABASE_HOST = 'localhost'

If your MailScanner config file is not located in the standard location (/etc/MailScanner/MailScanner.conf) then edit the file which is in the same directory as the file and set:

MS_CONFIG = '/etc/MailScanner/MailScanner.conf'

Setup Web server

Edit your apache configurations to enable virtual hosting if not enabled already. Then set the correct hostname in /etc/httpd/conf.d/baruwa.conf:

# change to your hostname
ServerName baruwa-alpha.local

Restart apache and point your browser to the hostname url.