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

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.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-22-2009, 02:56 PM
Junior Member
 
Posts: 7
Thumbs down Storage of External Accounts information

Zimbra has the ability to pull in external accounts into Zimbra so the user can view e-mail from all their accounts. Does anyone know where is this information stored? Probably in the database. Does anyone know. I've got a migration that I need to import external account into Zimbra.

Thanks.

Dave
Reply With Quote
  #2 (permalink)  
Old 10-22-2009, 04:18 PM
Moderator
 
Posts: 778
Default

What information exactly are you talking about? The external account information? External mail messages? Are you looking for a way to automatically provision external accounts?
Reply With Quote
  #3 (permalink)  
Old 10-23-2009, 07:26 AM
Junior Member
 
Posts: 7
Default

Sorry, I didn't know how to properly phase the question. I'm looking for a way to automatically provision exernal accounts. My client currently has users that are allowed to provision external accounts. I'd like to be able to take the users external account data and import these values into Zimbra.
Reply With Quote
  #4 (permalink)  
Old 10-23-2009, 12:34 PM
Moderator
 
Posts: 778
Default

Hmm well here is I believe what you are looking for:
Code:
zmprov createDataSource(cds) {name@domain} {ds-type} {ds-name} zimbraDataSourceEnabled {TRUE|FALSE} zimbraDataSourceFolderId {folder-id} [attr1 value1 [attr2 value2...]]
But I can't find any documentation on what the proper syntax would be.

From creating a test external account and using getDataSources my guess for creating a gmail data source would be:
Code:
zmprov cds zimbraAccount@domain.tld imap Gmail \
zimbraDataSourceEnabled TRUE \
zimbraDataSourceFolderId <id of a folder you create for the account> \
zimbraDataSourceHost imap.gmail.com \
zimbraDataSourceConnectionType ssl \
zimbraDataSourcePort 993 \
zimbraDataSourceEmailAddress gmailAccount@gmail.com \
zimbraDataSourcePassword <hash of password md5 or sha1?>
My suggestion would be to play around with creating some test accounts in the UI and seeing what they look like with getDataSources and trying to build a createDataSource statement that will work for you.
Reply With Quote
  #5 (permalink)  
Old 10-23-2009, 12:57 PM
Junior Member
 
Posts: 7
Default

Thanks alot. I can take it from here.
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0