Technical>>Installation

Problems when using dbmail with mysql/sqlite database.


Problem:

To use dbmail with mysql, the user must uninstall postgresql then install mysql. But then the user can not setup dbmail with mysql.

Reason:

dbmail can not create/modify the configuration file correctly.

Solution:

Proceed as follows:

- to use mysql:

1) remove dbmail and dbmail-pgsql
example: rpm -e dbmail dbmail-pgsql

2) install dbmail and dbmail-mysql
example:
rpm -ivh dbmail-2.2.9-1.2AXS3.i386.rpm
                 dbmail-mysql-2.2.9-1.2AXS3.i386.rpm

3) copy of dbmail.conf-mysql
example:
cp /etc/dbmail.conf-mysl /etc/dbmail.conf

4) please see README.AsianuxServer3
example:
less /usr/share/doc/README.AsianuxServer3

- to use  sqlite:

1) remove dbmail and dbmail-pgsql
example:
rpm -e dbmail dbmail-pgsql

2) install dbmail and dbmail-sqlite
example:
rpm -ivh dbmail-2.2.9-1.2AXS3.i386.rpm
                 dbmail-sqlite-2.2.9-1.2AXS3.i386.rpm

3) copy of dbmail.conf-mysql
example:
cp /etc/dbmail.conf-sqlite /etc/dbmail.conf

4) please see README.AsianuxServer3
example:
less /usr/share/doc/README.AsianuxServer3