First, install MySQL, following the directions found on numerous web sites on the internet.
Next, install Horde and IMP, following directions elsewhere on this wiki.
Then, install dovecot, following the instructions on http://wiki.dovecot.org/
Configure dovecot to use MySQL as per the directions at http://wiki.dovecot.org/AuthDatabase/SQL
Now, configure IMP:
- Backup horde/imp/config/servers.php and imp/config/conf.php
- Edit imp/config/servers.php and set 'hordeauth' => 'full' so users only
need to login once (Horde passes authentication data to IMP).
Now, configure Horde:
- Backup your horde/config/conf.php file
- Backup any relevant MySQL databases
- Log in to Horde as an administrative user.
- Navigate: Administration -> Setup -> Horde select the Authentication tab.
- Switch authentication backend to SQL authentication w/custom-made queries
- Set the encryption to use to store the password in the table to plain
- Adjust Database/Table names to the ones defined when you configured dovecot.