Contacts

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

awarelearn
Posts: 13
Joined: Fri Feb 02, 2007 5:01 pm

Contacts

Postby awarelearn » Sun Feb 25, 2007 7:26 pm

Where are the "Contacts" for a user stored in scalix 11?

I want to have a script export the contact list to a csv, so it can parse the email address and create a whitelist file for the spam filter (so user's contacts don't get flagged).

I haven't found any scalix commands to do this. I have been searching through omldapsearch and others, but it appears to be only accessed through IMAP?


Thanks

kanderson

Postby kanderson » Mon Feb 26, 2007 5:03 am

You can use an authenticated connection to the LDAP service to view a users personal contacts. I forget the exact connection details, but can look them up if you need.

As I said, this will need to be authenticated, so you'll need a uid/pwd combo for everyone you want to connect as, and obviously, if you have a lot of users, this will take some time and some scripting...

awarelearn
Posts: 13
Joined: Fri Feb 02, 2007 5:01 pm

found it

Postby awarelearn » Mon Feb 26, 2007 11:17 pm

Code: Select all

ldapsearch -h <fqdn> -p 3890 -D 'cn="<lastname>, <firstname>", o=Scalix' -w <password> -x -b o=MyContacts


This echo's a list of the contacts for the specific user (all ldap params)
including omInternetAddr:


of course it meant getting ldap-tools installed. Earlier, I switched scalix to port 3890 and installed samba-ldap, the tools installed with it.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 5 guests