Results 1 to 5 of 5

Thread: zmprov to add contact photos?

  1. #1
    Join Date
    Feb 2009
    Location
    Shawnigan Lake, BC, Canada
    Posts
    66
    Rep Power
    6

    Default zmprov to add contact photos?

    We are migrating from a system where users are accustomed to having a GAL that is both searchable and browsable (~600 users), so we are thinking of hiding user accounts from the GAL, and instead importing them into a shared addressbook using zmprov. (we've already done this for shared contact groups and it works well).

    When a photo is added to a contact, a 'gct' shows

    Flags: attachment
    then under attrs:
    image = null

    Are there any tricks for importing photos using zmprov or other means?

  2. #2
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    not sure about the photos but i believe 6.0 will have a browseable gal so you may want to consider that depending on when you plan to deploy

  3. #3
    Join Date
    Feb 2009
    Location
    Shawnigan Lake, BC, Canada
    Posts
    66
    Rep Power
    6

    Default

    Thanks - we had hoped to deploy on 6.0 but it will not be ready in time. I haven't seen anything about a browseable GAL on the 6.0b2 testbed we have, but I could be missing it.

  4. #4
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    it was mentioned in the blog post about 6.0 features, and the relevant bug is

    Bug 14531 – GAL via contacts folders with sorting, browsing and real sync

    it's marked as fixed, but i'm not sure if it's in the latest beta code.

  5. #5
    Join Date
    Aug 2006
    Posts
    33
    Rep Power
    9

    Default

    Hi all

    I'm also interested in how to add contact photos with the zimbra command line interface.

    When I look at a contact with photo (manually added) you just get:

    Code:
    zimbra@mail:~$ zmmailbox -z -m some.user@domain.ch gct 412700
    Id: 412700
    Folder: /Contacts
    Date: 09/21/12 08:38
    Flags: attachment
    Revision: 677424
    Attrs:
      lastName: User
      mobilePhone: +41791234567
      email: some.user@domain.ch
      firstName: Some
    of, if you specify -v to get verbose output:

    Code:
    zimbra@mail:~$ zmmailbox -z -m some.user@domain.ch gct -v 412700
    [
    {
         "attrs": {
              "email": "some.user@domain.ch",
              "firstName": "Some",
              "lastName": "User",
              "mobilePhone": "+41791234567"
         },
         "date": 1348209504000,
         "flags": "a",
         "folderId": "7",
         "hasFlags": true,
         "hasTags": false,
         "id": "412700",
         "isFlagged": false,
         "isGalContact": false,
         "isGroup": false,
         "metaDataChangedDate": 1348209504000,
         "revision": "677424",
         "tagIds": ""
    }
    ]
    But I can't find informations about the attachment or how to add attachment via cli.

    We are using Zimbra in a school environment with 150+ teachers and 1200+ pupils, so adding contact photos with Zimbra cli would come in very handy!

    Thanks,
    CrypTom

Similar Threads

  1. How To Add Calendar Events with zmprov
    By the_griz in forum Administrators
    Replies: 4
    Last Post: 06-18-2010, 07:17 AM
  2. Replies: 18
    Last Post: 05-22-2009, 12:30 PM
  3. Domain alias with zmprov
    By Klug in forum Administrators
    Replies: 2
    Last Post: 03-25-2009, 08:49 AM
  4. Moving to different server
    By AaronW1000 in forum Installation
    Replies: 2
    Last Post: 07-03-2008, 08:39 AM
  5. Replies: 9
    Last Post: 04-14-2007, 09:31 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
  •