Results 1 to 4 of 4

Thread: Bulk change of Contact File As

  1. #1
    sgrzy01 is offline Active Member
    Join Date
    Dec 2008
    Posts
    25
    Rep Power
    6

    Default Bulk change of Contact File As

    Is there a way from the cli for a bulk update to set the "File As" attribute in the contact record for all contacts for a user.

    Have users that have a mix of firstname/lastname and lastname/firstname and want them all to be the same w/o doing manually

    thought to use zmmailbox but can't find an attribute in the schema to do this..

    Thanx!

  2. #2
    sgrzy01 is offline Active Member
    Join Date
    Dec 2008
    Posts
    25
    Rep Power
    6

    Default

    Ack... so there is now way to bulk update a Contact "File As"? I gotta just be missing it....

    any help would be appreciated...

  3. #3
    sgrzy01 is offline Active Member
    Join Date
    Dec 2008
    Posts
    25
    Rep Power
    6

    Default

    This has come up again as a major issue for my users.. any help would be appreciated...

    Thanx

  4. #4
    bdial's Avatar
    bdial is offline Moderator
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    if you do zmmailbox gact you'll see that each contact has a field

    fileAs:

    that field has a number. the number i think has to do with how it's filed. I changed one of mine that was fileAs: 1 to First, Last and the value changed to 2 which makes sense since that's the 2nd option. So I imagine if you want them all to be like Last, First which is the default first option you need to set every contact value of fileAs to be 1.

    How do you do this? well you'll need to probably do a little bash scripting. you'll basically have to do a zmmailbox gact for the account, parse hte output to get the ID of every contact and run zmmailbox mcta (modify contact) to set the fileAs attribute.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 17
    Last Post: 08-30-2010, 11:59 AM
  2. Bulk user creation and must change password
    By ple in forum Administrators
    Replies: 5
    Last Post: 01-24-2009, 02:23 AM
  3. error on zmldapinit
    By DenisBY in forum Installation
    Replies: 5
    Last Post: 07-30-2008, 11:50 AM
  4. Zimbra, DNS & Postfix \ MTA
    By stillwell in forum Installation
    Replies: 5
    Last Post: 06-28-2007, 09:29 AM
  5. Bayes filter import bug
    By jwilso2 in forum Developers
    Replies: 4
    Last Post: 11-03-2005, 09:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •