Results 1 to 3 of 3

Thread: Squirrelmail to Zimbra Address Books

  1. #1
    Join Date
    Dec 2011
    Rep Power

    Default Squirrelmail to Zimbra Address Books

    Here is a pair of scripts that I created to batch convert addressbook information from squirrelmail to zimbra.

    I have only tested this on my versions
    squirrelmail 1.4.19 squirrelmail
    zimbra 7.1.3_GA_3346

    Hopefully this will be of some use for other people and probably for other migrations with some adaptations. The email itself we imported with imap-to-imap

    On the squirrelmail side, theres a php script that connects to the squirrelmail database, it creates a csv file for every address book.

    Then on the zimbra side, there is a bash script which loops this directory and executes the appropriate import command, which at this version is
    "zmmailbox -z -m pru /Contacts mycsv.csv"
    The bash script must be executed as 'zimbra' user : do
    'su - zimbra'
    Attached Files Attached Files

  2. #2
    Join Date
    Jul 2012
    Rep Power


    Hi friend.

    How do you execute your php script? Do you put him on the same folder where is the index of squirrel and after open in the browser

    I tried this, but it doesn't work in my server... .

  3. #3
    Join Date
    Dec 2011
    Rep Power


    It's been a long time since I posted this, so I'm not sure of all the details. But the php script is a command line one, you will need to edit all the variables at the top of it to match your environment, and probably easiest to run it as root....not as a web script

Similar Threads

  1. zmperditionctl start asking for password
    By k7sle in forum Administrators
    Replies: 32
    Last Post: 02-20-2008, 10:13 AM
  2. [SOLVED] Error Installing Zimbra on RHEL 5
    By harris7139 in forum Installation
    Replies: 10
    Last Post: 09-25-2007, 11:39 AM
  3. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 08:55 AM
  4. Replies: 8
    Last Post: 02-27-2007, 03:10 AM
  5. 3.1 on FC4 problems
    By cohnhead in forum Installation
    Replies: 8
    Last Post: 05-26-2006, 11:16 AM

Tags for this Thread

Posting Permissions

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