General discussion on installation and configuration of SOGo

Text archives Help

Re: [SOGo] Address Book on Postgresql

Chronological Thread 
  • From: Christian Mack < >
  • To:
  • Subject: Re: [SOGo] Address Book on Postgresql
  • Date: Wed, 06 Feb 2013 12:03:27 +0100


Am 2013-02-05 12:41, schrieb
> is it possible to use postgresql to have a global address book ?

You only have to add another SOGoUserSources of type sql.
You have to set it:
canAuthenticate NO
isAddressBook YES

type = sql;
id = global_addresses
viewURL = "postgresql://sogo:sogo@";
canAuthenticate = NO;
isAddressBook = YES;
displayName = "Addresses for Everyone"

> How are the schema to create the DB ?

From the Documentation:

viewURL database URL of the view used by SOGo. The view expects
columns to be present. Required columns are :
• c_uid : will be used for authentication – it's a username

• c_name : will be used to uniquely identify entries – which
can be identical to c_uid
• c_password : password of the user, plain text, crypt, md5
or sha encoded
• c_cn : the user's common name
• mail : the user's email address
Other columns can exist and will actually be mapped
automatically if they have the same name as popular LDAP
attributes (such as givenName, sn, department, title,
telephoneNumber, etc.)

Mind, that view is here used as synonym for table too.

Kind regards,
Christian Mack

Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz

Archive powered by MHonArc 2.6.18.

Top of page