Page 1 of 1

Changing how the Friendly name is sent to the Internet

Posted: Fri Sep 28, 2007 11:28 am
by dwerthmu
We currently have 7,000 Internet addresses in our System Directory, some of these addresses are members of an email list or just people we communicate with on a regular basis.

In order to get all those names and email addresses in the directory we needed to turn off unique email checking(yes some small places share email addresses still) and customize the CN. The CN is made of of the S and C and also a internal database key. So the display name in the directory would look like Smith, Joe, 00399.

This is fine for our internal uses, but when I send Smith Joe email the Display name gets transmitted to him as the email friendly name so he sees the Smith Joe 00399.

How Can I change how these Internet users display names are sent to the Internet? So he just sees a Display name made up of the S & C (Lastname and firstname).

I realize I can change how they are displayed in the directory and that may solve it for the Internet users but then the Display names for Scalix Premium users would change also and I need them displayed differently.

Scalix premium users are listed as Firstname, Lastname (helps internal users find "staff people" and not non-staff)

Internet users I want listed at Lastname, First

Ideas?

Posted: Sun Sep 30, 2007 3:01 pm
by chris
I assume you're not typing all 7000 users by hand, so how are you populating the directory? are you pumping the users in via ldap? That would be the place to control how the users are displayed in the address book by setting their CN.

Whatever the method, assuming you have control of the individual attributes the correct way to separate the display name and the friendly name seen by the recipient is as follows:

CN=Krusty The Clown
G=Herschel Pinkus
S=Krustofski
I=Y
OU1=internet
HOST-FQDN=mailserver.scalix.demo
CNTRY=US
INTERNET-ADDR="Herschel Pinkus Krustofski" <krusty@scalix.demo>
GLOBAL-UNIQUE-ID=0b300000174b4e64-131.881.861.291
LOCAL-UNIQUE-ID=960
IA-FORMAL=chris@scalix.com
S-SDX=K623
G-SDX=H624
DBV-ID=33554468

That user will be shown as Krusty the Clown in the address book, but should receive email as Herschel Pinkus Krustofski.

The above works correctly in Outlook, however, in the process of testing that out I discovered that SWA incorrectly uses the display name/cn as friendly name, overriding the configured friendly name,

I've logged http://bugzilla.scalix.com/show_bug.cgi?id=15836 to track the SWA issue.

Posted: Fri Oct 05, 2007 4:47 pm
by dwerthmu
We did notice the friendly name via SWA being different than via outlook, thanks for getting that looked at.

We didn't use a ldap sync because the information is originating in a Mysql database.
So we wrote our own sync utility. We took over a scalix home phone2 field as the database key field.

Well provided the CN doesn't need to be unique thats a good idea, but I was under the impression the CN needed to be unique.

We are using the omaddent -f to load the first set
and the ommodent etc.. to make changes