1

Topic: using both ldap & mysql address book

how do i use a squirrelmail's database from old server to get addresses from there but still be able to get global addressbook from ldap?

2

Re: using both ldap & mysql address book

You can add more address book in Roundcube. take a look its config file: roundcubemail-x.y.z/config/main.inc.php

3

Re: using both ldap & mysql address book

which one if you don't mind to point out?

i also found a sql command to (supposedly) do that

mysql -u root -p -e 'INSERT INTO roundcubemail.contacts(
name,
firstname,
surname,
email,
user_id
)
SELECT nickname, firstname, lastname, email, '2'
FROM squirrelmail.address
WHERE owner = 'username'
ORDER BY lastname ASC;'

but no luck so far