Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

View Poll Results: Do we need an import wizard on the cli?
Yes 3 100.00%
No 0 0%
Voters: 3. You may not vote on this poll

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-09-2007, 02:43 PM
Advanced Member
 
Posts: 193
Default New feature needed - ZCS Import Wizard @ the CLI

Is there anyway to import PST files from the mail server cli? I think it would be easier on the administrator if there were a Zimbra Import Wizard command line interface program. This would allow us to upload all the PSTs to the server, then write a batch file, or shell script to import all the user email data to their Zimbra accounts.
Some of my clients have 2gb+ PSTs and I'm thinking this would be an easier solution than checking up on their computer every few hours.
Reply With Quote
  #2 (permalink)  
Old 02-09-2007, 08:19 PM
Former Zimbran
 
Posts: 5,606
Default

Currently the pst file conversion/import is not done on the server.

We very much welcome the input of our community members, after all our roots are in open source. However, please file an enhancement, as that's how we figure out what our community wants.

http://bugzilla.zimbra.com
Reply With Quote
  #3 (permalink)  
Old 02-12-2007, 09:27 AM
sam sam is offline
Zimbra Employee
 
Posts: 821
Default

unfortunately, there is no good way to do this. PST's are proprietary and the only *complete* API's to do this are available on windows only.
__________________
Sam Khavari

:: :: [ Zimbra ] :: :: [ Bugzilla ] :: :: [ Product Portal ] :: :: [ Wiki ] :: :: [ Downloads ] :: :: [ . ] ::
Reply With Quote
  #4 (permalink)  
Old 02-14-2007, 10:15 PM
Advanced Member
 
Posts: 193
Default

damn, I could see how that could be quite the PITA. Maybe you guys could just create a cmd line version of the Zimbra Import Wizard so we can write batch scripts for that.
Reply With Quote
  #5 (permalink)  
Old 02-15-2007, 03:17 PM
sam sam is offline
Zimbra Employee
 
Posts: 821
Default

you mean, something like this!
http://bugzilla.zimbra.com/show_bug.cgi?id=7585

check out comment 15
__________________
Sam Khavari

:: :: [ Zimbra ] :: :: [ Bugzilla ] :: :: [ Product Portal ] :: :: [ Wiki ] :: :: [ Downloads ] :: :: [ . ] ::
Reply With Quote
  #6 (permalink)  
Old 06-16-2007, 05:49 PM
Advanced Member
 
Posts: 193
Default

Does this look like the right setup for the Config.XML?

<?xml version="1.0"?>
<ZCSImport>
<Server>
<name>default</name>
<serverName>mail.example.com</serverName>
<port>443</port>
<sslEnabled>1</sslEnabled>
</Server>
<Account>
<name>test</name>
<userName>foobar@example.com</userName>
<password>raboof</password>
</Account>
<Data>
<name>test</name>
<PST>c:\mail\foobar.pst</PST>
</Data>

<Options>
<name>default</name>
<importDeletedItems>1</importDeletedItems>
<importJunk>1</importJunk>
<importPrivateAppts>1</importPrivateAppts>
<importPartialMails>1</importPartialMails>
<ignorePreviouselyImported>1</ignorePreviouselyImported>
<InvalidSSLOk>1</InvalidSSLOk>
<IgnoreCoreDump>1</IgnoreCoreDump>
</Options>
<Import>
<Options>default</Options>
<TargetAccount>test</TargetAccount>
<Server>default</Server>
<AdminSSLEnabled>1</AdminSSLEnabled>
<Data>test</Data>
</Import>

i dont think i setup the account/data nodes correct. any suggestions?
thanks in advance

btw has anyone else been using this feature much?

Last edited by reza225; 06-20-2007 at 12:02 PM.. Reason: typo
Reply With Quote
  #7 (permalink)  
Old 06-20-2007, 11:34 PM
sam sam is offline
Zimbra Employee
 
Posts: 821
Default

heres a sample config file:
http://bugzilla.zimbra.com/attachment.cgi?id=3123
__________________
Sam Khavari

:: :: [ Zimbra ] :: :: [ Bugzilla ] :: :: [ Product Portal ] :: :: [ Wiki ] :: :: [ Downloads ] :: :: [ . ] ::
Reply With Quote
  #8 (permalink)  
Old 06-21-2007, 08:43 AM
Advanced Member
 
Posts: 193
Default

much appreciated.
Reply With Quote
  #9 (permalink)  
Old 07-03-2007, 07:55 PM
Advanced Member
 
Posts: 193
Default

I just recieved the error message

Failed to initialize import parameters.
Unable to initialize XML DOM. Document not initialized.
Exiting.
Press any key to continue . . .


any ideas? I'll attach my sample config if you think there is something wrong with it.
thanks
Reply With Quote
  #10 (permalink)  
Old 01-21-2009, 12:31 PM
Starter Member
 
Posts: 1
Unhappy

* also tried the default
Code:
Failed to initialize import parameters.
Unable to initialize XML DOM. Document not initialized.
Terminating ZCS Import Wizard.
Press any key to continue . . .
[code]
* also tried the default
Code:
Failed to initialize import parameters.
Unable to initialize XML DOM. Document not initialized.
Terminating ZCS Import Wizard.
Press any key to continue . . .
Code:
<ZCSImport>

<Options name="config1">


<importDeletedItems>1</importDeletedItems>
<importJunk>0</importJunk>
<importPrivateAppts>1</importPrivateAppts>
<importPartialMalis>1</importPartialMalis>
<ignorePreviouslyImported>0</ignorePreviouslyImported>
<InvalidSSLOk>1</InvalidSSLOk>
<IgnoreCoreDump>1</IgnoreCoreDump>
<startDate>1/1/2000</startDate>


</Options>



	<Account name="admin">
		<userName>rmccurdy@mydomain.com</userName>
		<password>mycomainpass</password>
	</Account>





<Data name="mikesPSTs">
		<PST>C:\Outlook.pst</PST>
		
	</Data>


<Server name="mailserver">
<serverName>10.0.0.20</serverName>
<port>80</port>
<sslEnabled>0</sslEnabled>
</Server>


    <Import 
			
Options="config1" 

TargetAccount="rmccurdy" 

Data="mikesPSTs"   

Server="mailserver">

<Import Options="config1" AuthAccount="rmccurdy@mydomain.com" AdminPort="7071" AdminSSLEnabled="1" TargetAccount="rmccurdy@mydomain.com" Data="mikesPSTs" Server="mailserver"> 
</ZCSImport>

Last edited by opreat0r; 01-21-2009 at 12:36 PM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.