Ajcody-General-Notes: Difference between revisions
mNo edit summary |
|||
Line 27: | Line 27: | ||
* From zimbra ajax client as a test user (or any old user) do an export Addressbook. | * From zimbra ajax client as a test user (or any old user) do an export Addressbook. | ||
** This is under the preference tab > Address Book > Import / Export > Export - select Addressbook and click Export button | ** This is under the preference tab > Address Book > Import / Export > Export - select Addressbook and click Export button | ||
* Then open file file something like Excel | * Then open file file something like Excel or a Text Editor | ||
** Your only interested in the Top line - that gives the default fields for a Zimbra Addressbook. | ** Your only interested in the Top line - that gives the default fields for a Zimbra Addressbook. | ||
** You'll get something like this: | |||
**<pre>"company","companyPhone","email2","fileAs","firstName","homepageURL","imAddress3","lastName","otherIMLabel","workCity","workCountry","workEmail2","workEmail3","workEmail4","workEmail5","workPostalCode","workState","workStreet"</pre> | |||
* With your other Mail system, export the addressbook to a csv file. | * With your other Mail system, export the addressbook to a csv file. | ||
** Open this file in another Excel window. | ** Open this file in another Excel window. | ||
* Copy the column data from the one Excel sheet and paste it into the appropriate column within the Zimbra Excel sheet. | * Copy the column data from the one Excel sheet and paste it into the appropriate column within the Zimbra Excel sheet. | ||
* Move as much as you can and then save. | * Move as much as you can and then save. | ||
** For example: | |||
**<pre>"company","companyPhone","email2","fileAs","firstName","homepageURL","imAddress3","lastName","otherIMLabel","workCity","workCountry","workEmail2","workEmail3","workEmail4","workEmail5","workPostalCode","workState","workStreet"</pre> | |||
**<pre>"Apple Computer Inc.","1-800-MY-APPLE","","3","","http://www.apple.com","","","","Cupertino","United States","","","","","95014","CA","1 Infinite Loop"</pre> | |||
* Now you can try importing this csv file back into Zimbra. | * Now you can try importing this csv file back into Zimbra. | ||
* Either with the webclient or you can use some on the CLI commands | * Either with the webclient or you can use some on the CLI commands |
Revision as of 18:34, 6 September 2008
General Notes
Actual General Notes Homepage
Please see Ajcody-General-Notes
Zimbra Variables
Ways to check on different zimbra variables.
su - zimbra zmlocalconfig -i zmlocalconfig -d cd /opt/zimbra/conf/attrs more zimbra-attrs.xml cd /opt/zimbra/openldap/etc/openldap/schema/ more zimbra.schema
Zimbra Contact Fields For CSV Import Mapping
Please see /opt/zimbra/conf/zimbra-contact-fields.xml
This will show you what "fields" Zimbra is looking for and mapping to in regards to importing from another applications contact csv files.
One easy way to do this is the following:
- From zimbra ajax client as a test user (or any old user) do an export Addressbook.
- This is under the preference tab > Address Book > Import / Export > Export - select Addressbook and click Export button
- Then open file file something like Excel or a Text Editor
- Your only interested in the Top line - that gives the default fields for a Zimbra Addressbook.
- You'll get something like this:
"company","companyPhone","email2","fileAs","firstName","homepageURL","imAddress3","lastName","otherIMLabel","workCity","workCountry","workEmail2","workEmail3","workEmail4","workEmail5","workPostalCode","workState","workStreet"
- With your other Mail system, export the addressbook to a csv file.
- Open this file in another Excel window.
- Copy the column data from the one Excel sheet and paste it into the appropriate column within the Zimbra Excel sheet.
- Move as much as you can and then save.
- For example:
"company","companyPhone","email2","fileAs","firstName","homepageURL","imAddress3","lastName","otherIMLabel","workCity","workCountry","workEmail2","workEmail3","workEmail4","workEmail5","workPostalCode","workState","workStreet"
"Apple Computer Inc.","1-800-MY-APPLE","","3","","http://www.apple.com","","","","Cupertino","United States","","","","","95014","CA","1 Infinite Loop"
- Now you can try importing this csv file back into Zimbra.
- Either with the webclient or you can use some on the CLI commands
- See User_Migration for variations of CLI commands that could be used.
What's My Server Like
To dump out your server details, these commands are useful.
zmprov gs yourdomainname zmprov gacf zmlocalconfig zmdumpenv
Another good document to review for "odd performance" issues is the large server wiki.
http://wiki.zimbra.com/index.php?title=Performance_Tuning_Guidelines_for_Large_Deployments
Restarting Jetty - ZCS 5+
As zimbra
zmmailboxdctl restart
Get Version From Ajax Client
Put the below in the search field of the Ajax client:
$set:get
What's Compiled With Postfix
Do the following (return is from my test box):
postconf -m btree cidr environ hash ldap mysql pcre proxy regexp static unix
REST Information
Resources to review
- Rest Overview
- For queries:
- Working Examples
Format to get around permission denied on multi-domain hosting servers
If you getting permission denied rather than resource not found...try this format example:
http://MAILSTOREofUSER.DOMAIN.com/zimbra/user/FIRST.LAST@USERS_DOMAIN.com/inbox.zip
or
http://MAILSTOREofUSER.DOMAIN.com/zimbra/user/USERNAME@USERS_DOMAIN.com/inbox.zip
I but both in case one issue is where the username has special characters, like the period.
Server Source Doc's
Please see:
http://svn.sourceforge.net/viewvc/zimbra/trunk/ZimbraServer/docs/