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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-24-2010, 10:09 AM
Active Member
 
Posts: 49
Question Exports all Email Ids with passwords

Hello Experts

How to Exports all Email Ids with passwords

any budy guide me

thanks
kirtan
Reply With Quote
  #2 (permalink)  
Old 12-24-2010, 06:24 PM
Elite Member
 
Posts: 334
Default

Did you mean export & import account with password & identity ?
__________________
Best Regards
---
Masim "Vavai" Sugianto
Vavai Personal Blog
Personal Blog [ID]

Release 7.1.3_GA_3346.SLES11_64_20110930001521 SLES11_64 FOSS edition.
Reply With Quote
  #3 (permalink)  
Old 12-24-2010, 06:45 PM
Active Member
 
Posts: 49
Default

Yes i exports successfully only email ids not passwords
I use following step for Exports all emailids

mkdir /opt/zimbra/info
chown zimbra.zimbra /opt/zimbra/info
su - zimbra
cd info

zmprov gaa > accounts.txt
( its not working show error
ERROR: service.INVALID_REQUEST (invalid request: can only be used with "zmprov -l/--ldap")

so i use this command its i exports all emailids but not passowrd its very important

zmaccts | grep "@" | awk '{print $1}' > accounts.txt

please guide me

Thanks
kirtan
Reply With Quote
  #4 (permalink)  
Old 12-24-2010, 08:29 PM
Elite Member
 
Posts: 334
Default

Zimbra 7.0.0 (currently in beta3) has an export-import features for account and password from Exchange, Zimbra or general IMAP Server, but if you wish to do similar task on Zimbra 5 or 6, following article may help :

Script for Export-Import Zimbra Mail Server Account & Password

The above script will export Zimbra account, password, sn, givenName, displayName and so on (modify script for another field on Zimbra LDAP) and create 2 files : a zmp and ldif file. zmp for import account and ldif for modify password on the destination to be similar with the original server.

Note : if you use Ubuntu/Debian, remove ! symbol on top line of script, so it will looks as below :

Code:
#/bin/sh
__________________
Best Regards
---
Masim "Vavai" Sugianto
Vavai Personal Blog
Personal Blog [ID]

Release 7.1.3_GA_3346.SLES11_64_20110930001521 SLES11_64 FOSS edition.
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.