Hello ABBAS Alain

Am 2013-08-20 16:18, schrieb Davide Bozzelli:
> Il 8/20/13 3:53 PM, ABBAS Alain ha scritto:
>> Hello
>> I try to make run Sogo on a host and the database on another host
>> i set all the right in the DATABASE Host that the user sogo can
>> connect from the SOGOhost
>> on the SOGOhost i m able to interrogate the database sogo with psql
>> with
>> psql --host DATABASEhost sogo sogo
>>
>> in /etc/sogo.conf  i replaced 127.0.0.1 by the DATABASEhost IP (and
>> too Ldap.. Imap .. Sieve .......and so on)
>>
>>
>>
> Sogo "hardcodes" db host you have specified in sogo.conf also in some db
> tables... this is the reason why even if you change db stuff in
> sogo.conf it still tries
> to connect to localhost.
> 
> So, you have two ways:
> 
> 1) the one you have choose: create a proxy/forwarder
> 2) put an alias hostname pointing to real db server in /etc/hosts, and
> replace all localhost occurences in sogo.conf/tables whit it.
> 

You also could backup all users with sogo-tool
Stop sogod, then drop all tables in the remote db.
Now restart sogod with the db options set to the remote db only.
Then restore all users again with sogo-tool.


Kind regards,
Christian Mack

-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to