Zimbra
Jump to navigation
Jump to search
Import Emails using CLI
su zimbra cd <directory of emails to be imported> zmprov prov> selectMailbox user@domain.com mailbox: user@domain.com, size: 63.75 GB, messages: 277352, unread: 48640 authenticated as user@domain.com mbox user@domain.com> createFolder /recovery 394951 mbox user@domain.com> exit prov> exit for i in *; do zmmailbox -z -m user@domain.com addMessage /recovery ${i}; done