Vpopmail + MySQL on seperate server?

Started by Glaucus, August 01, 2004, 12:54:55 PM

Previous topic - Next topic

Glaucus

Hey, I am trying to get Vpopmail to use a MySQL database on another server for the user/passwords, but it keeps trying to use the local one. In Toaster-Watcher.conf, I have :
vpopmail_mysql                 = 1
vpopmail_mysql_limits          = 0
vpopmail_mysql_replication     = 0
vpopmail_mysql_logging         = 0
vpopmail_mysql_repl_master     = mysql.example.com
vpopmail_mysql_repl_slave      = mysql.example.com
vpopmail_mysql_database        = vpopmail
vpopmail_mysql_repl_user       = vpopmail
vpopmail_mysql_repl_pass       = **********

In the /usr/local/vpopmail/etc/vpopmail.mysql,
it has:
mysql.example.com|0|vpopmail|**********|vpopmail
mysql.example.com|0|vpopmail|**********|vpopmail

What do I need to do?
Ye, mysql.example.com is resolvable by DNS.
Thanks.

tick

Have you reinstalled vpopmail after changing the config ??

That usually does the trick.