Managing Email Address And User Account with GUI & CLI | Zimbra

Document
Alert! This article is written for Zimbra OSE users. As of December 2023, Synacor will no longer be providing support for Zimbra OSE. You might want to consider trying out Carbonio Community Edition – Zextras’s free and open-source email and collaboration platform.

For additional guidance, check out our community articles detailing the process of migrating from your current platform to Carbonio CE.

For enterprise-level requirements and advanced features, consider checking out Zextras Carbonio – the all-in-one private digital workplace designed for digital sovereignty trusted by the public sector, telcos, and regulated industries.

A system admin performs various tasks on the Zimbra server. But if we make a list of them, managing email accounts/addresses will be in the top 5. In this guide, e will see how we can manage user account/email addresses from both graphically and CLI interface.

How To Manage User Account With GUI

Let’s check how we can manage user accounts from admin GUI mode. Later we will see how we can manage them from the CLI as well.

Create A New User Account

Go to Admin Panel > Manage > Accounts > New (email accounts)

Admin panel

Then you will be prompted by a series of information. Fill out the necessary information and proceed next.

New account creation-1
New account creation-2

Then after proceeding to the next page, you will be prompted for some basic information.

New account creation-3

You can also set an alias for this account.

New account creation-alias

If the new account should belong to a distribution list, you add it during this account creation process.

New account creation-DL

You can set a forwarding address for this account

New account creation-forwarding

You can enable and disable features for newly created users.

New account creation-feature

You can also modify its preferences.

New account creation-preferences

Set theme for the user.

New account creation-themes

You can enable/disable zimlets for the user

New account creation-zimlets

Finally, you can complete the user account setup by completing/modifying some advanced options.

New account creation-advanced

During this whole account creation process if you missed something to configure, don’t worry. You can always get back to these options from the admin panel.

New account creation-details

How To Manage User Account With CLI

Let’s create a single email account.

Format:
zmprov ca <email_address> <password>

zimbra@mail:/root$ zmprov ca luca@testdomain1.com 123456
5a6d977c-94d2-41fd-a5e9-e94781c82b63
zimbra@mail:/root$

If we do not want to set the password right now, we can keep it blank as follows:

Format:
zmprov ca <email_address> ''

zimbra@mail:/root$ zmprov ca mike@testdomain1.com ''
23379f38-f984-4b35-887f-6311687e918f
zimbra@mail:/root$

Now let’s try to use some attributes during user creation

Format:
zmprov ca <email_address> <Password> attr1 value1 attr2 value2

zimbra@mail:~$ zmprov ca alex@testdomain1.com 123456 description support displayName Alex
f85dbf25-b71a-4b8a-bb19-8c69e806f938
zimbra@mail:~$

Check out these user-related attributes and use them as per your requirement.

You can also modify existing accounts with your preferred attributes.

Format:
zmprov ma <email_address> attr1 value1 attr2 value2 .. ..

zimbra@mail:~$ zmprov ma alex@testdomain1.com displayName Murphy

You can use the previously mentioned attributes to modify accounts.

You can delete users using zmprov command or CLI mode.

Format:
zmprov da <email_address>

zimbra@mail:~$ zmprov da alex@testdomain1.com

Change the user password from the CLI

zimbra@mail:~$ zmprov sp mike@testdomain1.com 123456

Rename an account from the CLI

zimbra@mail:~$ zmprov -l gaaa
admin@testdomain1.com
[Rename an account using email address]
zimbra@mail:~$ zmprov ra admin@testdomain1.com adminx@testdomain1.com
zimbra@mail:~$ zmprov -l gaaa
adminx@testdomain1.com
[Rename an account using account ID]
zimbra@mail:/root$ zmprov ra 8b709c05-a402-45fe-bbd5-0a934f87293b martin@testdomain1.com

How to get account details from CLI

zimbra@mail:~$ zmprov ga mike@testdomain1.com

[Output of this command]
# name mike@testdomain1.com
cn: mike
mail: mike@testdomain1.com
objectClass: inetOrgPerson
objectClass: zimbraAccount
objectClass: amavisAccount
sn: mike
uid: mike
userPassword: VALUE-BLOCKED
zimbraAccountStatus: active
zimbraAdminAuthTokenLifetime: 12h
zimbraAllowAnyFromAddress: FALSE
zimbraAppSpecificPasswordDuration: 0
zimbraArchiveAccountDateTemplate: yyyyMMdd
zimbraArchiveAccountNameTemplate: ${USER}-${DATE}@${DOMAIN}.archive
zimbraArchiveEnabled: FALSE
zimbraAttachmentsBlocked: FALSE
zimbraAttachmentsIndexingEnabled: TRUE
zimbraAttachmentsViewInHtmlOnly: FALSE
zimbraAuthTokenLifetime: 2d
zimbraAuthTokenValidityValue: 0
zimbraBatchedIndexingSize: 20
zimbraCOSId: e00428a1-0c00-11d9-836a-000d93afea2a
zimbraCalendarCalDavSharedFolderCacheDuration: 1m
zimbraCalendarKeepExceptionsOnSeriesTimeChange: FALSE
zimbraCalendarMaxRevisions: 1
zimbraCalendarResourceDoubleBookingAllowed: TRUE
zimbraCalendarShowResourceTabs: TRUE
zimbraChatHistoryEnabled: TRUE
zimbraCommunityHomeURL: /integration/zimbracollaboration
zimbraCommunityUsernameMapping: uid
zimbraContactAutoCompleteEmailFields: email,email2,email3,workEmail1,workEmail2,workEmail3
zimbraContactAutoCompleteMaxResults: 20
zimbraContactEmailFields: email,email2,email3,email4,email5,email6,email7,email8,email9,email10,workEmail1,workEmail2,workEmail3
zimbraContactMaxNumEntries: 10000
zimbraContactRankingTableSize: 200
zimbraCreateTimestamp: 20220622085701.654Z
zimbraDataSourceCalendarPollingInterval: 12h
zimbraDataSourceImportOnLogin: FALSE
zimbraDataSourceMaxNumEntries: 20
zimbraDataSourceMinPollingInterval: 1m
zimbraDataSourceQuota: 0
zimbraDataSourceRssPollingInterval: 12h
zimbraDataSourceTotalQuota: 0
zimbraDeviceAllowedPasscodeLockoutDuration: 10m
zimbraDeviceAllowedPasscodeLockoutDuration: 1m
zimbraDeviceAllowedPasscodeLockoutDuration: 2m
zimbraDeviceAllowedPasscodeLockoutDuration: 30m
zimbraDeviceAllowedPasscodeLockoutDuration: 5m
zimbraDeviceFileOpenWithEnabled: TRUE
zimbraDeviceLockWhenInactive: FALSE
zimbraDeviceOfflineCacheEnabled: FALSE
zimbraDevicePasscodeEnabled: FALSE
zimbraDumpsterEnabled: FALSE
zimbraDumpsterPurgeEnabled: TRUE
zimbraDumpsterUserVisibleAge: 30d
zimbraExportMaxDays: 0
zimbraExternalAccountLifetimeAfterDisabled: 30d
zimbraExternalShareDomainWhitelistEnabled: FALSE
zimbraExternalShareLifetime: 0
zimbraExternalSharingEnabled: TRUE
zimbraFeatureAddressVerificationEnabled: FALSE
zimbraFeatureAddressVerificationExpiry: 1d
zimbraFeatureAdminMailEnabled: TRUE
zimbraFeatureAdminPreferencesEnabled: FALSE
zimbraFeatureAdvancedSearchEnabled: TRUE
zimbraFeatureAntispamEnabled: TRUE
zimbraFeatureAppSpecificPasswordsEnabled: TRUE
zimbraFeatureBriefcaseDocsEnabled: TRUE
zimbraFeatureBriefcaseSlidesEnabled: FALSE
zimbraFeatureBriefcaseSpreadsheetEnabled: FALSE
zimbraFeatureBriefcasesEnabled: TRUE
zimbraFeatureCalendarEnabled: TRUE
zimbraFeatureCalendarReminderDeviceEmailEnabled: FALSE
zimbraFeatureCalendarUpsellEnabled: FALSE
zimbraFeatureChangePasswordEnabled: TRUE
zimbraFeatureChatEnabled: FALSE
zimbraFeatureComposeInNewWindowEnabled: TRUE
zimbraFeatureConfirmationPageEnabled: FALSE
zimbraFeatureContactBackupEnabled: FALSE
zimbraFeatureContactsDetailedSearchEnabled: FALSE
zimbraFeatureContactsEnabled: TRUE
zimbraFeatureContactsUpsellEnabled: FALSE
zimbraFeatureConversationsEnabled: TRUE
zimbraFeatureCrocodocEnabled: FALSE
zimbraFeatureDataSourcePurgingEnabled: FALSE
zimbraFeatureDiscardInFiltersEnabled: TRUE
zimbraFeatureDistributionListExpandMembersEnabled: TRUE
zimbraFeatureDistributionListFolderEnabled: TRUE
zimbraFeatureEwsEnabled: FALSE
zimbraFeatureExportFolderEnabled: TRUE
zimbraFeatureExternalFeedbackEnabled: FALSE
zimbraFeatureFiltersEnabled: TRUE
zimbraFeatureFlaggingEnabled: TRUE
zimbraFeatureFreeBusyViewEnabled: FALSE
zimbraFeatureFromDisplayEnabled: TRUE
zimbraFeatureGalAutoCompleteEnabled: TRUE
zimbraFeatureGalEnabled: TRUE
zimbraFeatureGalSyncEnabled: TRUE
zimbraFeatureGroupCalendarEnabled: TRUE
zimbraFeatureHtmlComposeEnabled: TRUE
zimbraFeatureIMEnabled: FALSE
zimbraFeatureIdentitiesEnabled: TRUE
zimbraFeatureImapDataSourceEnabled: TRUE
zimbraFeatureImportExportFolderEnabled: TRUE
zimbraFeatureImportFolderEnabled: TRUE
zimbraFeatureInitialSearchPreferenceEnabled: TRUE
zimbraFeatureInstantNotify: TRUE
zimbraFeatureMAPIConnectorEnabled: TRUE
zimbraFeatureMailEnabled: TRUE
zimbraFeatureMailForwardingEnabled: TRUE
zimbraFeatureMailForwardingInFiltersEnabled: TRUE
zimbraFeatureMailPollingIntervalPreferenceEnabled: TRUE
zimbraFeatureMailPriorityEnabled: TRUE
zimbraFeatureMailSendLaterEnabled: FALSE
zimbraFeatureMailUpsellEnabled: FALSE
zimbraFeatureManageSMIMECertificateEnabled: FALSE
zimbraFeatureManageZimlets: TRUE
zimbraFeatureMarkMailForwardedAsRead: FALSE
zimbraFeatureMobileGatewayEnabled: FALSE
zimbraFeatureMobilePolicyEnabled: TRUE
zimbraFeatureMobileSyncEnabled: FALSE
zimbraFeatureNewAddrBookEnabled: TRUE
zimbraFeatureNewMailNotificationEnabled: TRUE
zimbraFeatureNotebookEnabled: FALSE
zimbraFeatureOpenMailInNewWindowEnabled: TRUE
zimbraFeatureOptionsEnabled: TRUE
zimbraFeatureOutOfOfficeReplyEnabled: TRUE
zimbraFeaturePeopleSearchEnabled: TRUE
zimbraFeaturePop3DataSourceEnabled: TRUE
zimbraFeaturePortalEnabled: FALSE
zimbraFeaturePriorityInboxEnabled: TRUE
zimbraFeatureReadReceiptsEnabled: TRUE
zimbraFeatureResetPasswordStatus: disabled
zimbraFeatureResetPasswordSuspensionTime: 1d
zimbraFeatureSMIMEEnabled: FALSE
zimbraFeatureSavedSearchesEnabled: TRUE
zimbraFeatureSharingEnabled: TRUE
zimbraFeatureShortcutAliasesEnabled: TRUE
zimbraFeatureSignaturesEnabled: TRUE
zimbraFeatureSkinChangeEnabled: TRUE
zimbraFeatureSocialEnabled: FALSE
zimbraFeatureSocialExternalEnabled: FALSE
zimbraFeatureSocialFiltersEnabled: Facebook
zimbraFeatureSocialFiltersEnabled: LinkedIn
zimbraFeatureSocialFiltersEnabled: SocialCast
zimbraFeatureSocialFiltersEnabled: Twitter
zimbraFeatureSocialcastEnabled: FALSE
zimbraFeatureTaggingEnabled: TRUE
zimbraFeatureTasksEnabled: TRUE
zimbraFeatureTouchClientEnabled: FALSE
zimbraFeatureTrustedDevicesEnabled: TRUE
zimbraFeatureTwoFactorAuthAvailable: FALSE
zimbraFeatureTwoFactorAuthRequired: FALSE
zimbraFeatureViewInHtmlEnabled: FALSE
zimbraFeatureVoiceChangePinEnabled: TRUE
zimbraFeatureVoiceEnabled: FALSE
zimbraFeatureVoiceUpsellEnabled: FALSE
zimbraFeatureWebClientOfflineAccessEnabled: TRUE
zimbraFeatureWebSearchEnabled: TRUE
zimbraFeatureZimbraAssistantEnabled: TRUE
zimbraFileAndroidCrashReportingEnabled: TRUE
zimbraFileExternalShareLifetime: 0
zimbraFileIOSCrashReportingEnabled: TRUE
zimbraFilePreviewMaxSize: 20971520
zimbraFilePublicShareLifetime: 0
zimbraFileShareLifetime: 0
zimbraFileUploadMaxSizePerFile: 2147483648
zimbraFilterBatchSize: 10000
zimbraFilterSleepInterval: 1ms
zimbraFreebusyExchangeCachedInterval: 60d
zimbraFreebusyExchangeCachedIntervalStart: 7d
zimbraFreebusyLocalMailboxNotActive: FALSE
zimbraGalSyncAccountBasedAutoCompleteEnabled: TRUE
zimbraIMService: zimbra
zimbraId: 23379f38-f984-4b35-887f-6311687e918f
zimbraIdentityMaxNumEntries: 20
zimbraImapEnabled: TRUE
zimbraInterceptBody: Intercepted message for ${ACCOUNT_ADDRESS}.${NEWLINE}Operation=${OPERATION}, folder=${FOLDER_NAME}, folder ID=${FOLDER_ID}.
zimbraInterceptFrom: Postmaster <postmaster@${ACCOUNT_DOMAIN}>
zimbraInterceptSendHeadersOnly: FALSE
zimbraInterceptSubject: Intercepted message for ${ACCOUNT_ADDRESS}: ${MESSAGE_SUBJECT}
zimbraJunkMessagesIndexingEnabled: TRUE
zimbraLogOutFromAllServers: FALSE
zimbraMailAllowReceiveButNotSendWhenOverQuota: FALSE
zimbraMailBlacklistMaxNumEntries: 100
zimbraMailDeliveryAddress: mike@testdomain1.com
zimbraMailDumpsterLifetime: 30d
zimbraMailForwardingAddressMaxLength: 4096
zimbraMailForwardingAddressMaxNumAddrs: 100
zimbraMailHighlightObjectsMaxSize: 70
zimbraMailHost: mail.testdomain1.com
zimbraMailIdleSessionTimeout: 0
zimbraMailMessageLifetime: 0
zimbraMailMinPollingInterval: 2m
zimbraMailPurgeUseChangeDateForSpam: TRUE
zimbraMailPurgeUseChangeDateForTrash: TRUE
zimbraMailQuota: 0
zimbraMailSignatureMaxLength: 10240
zimbraMailSpamLifetime: 30d
zimbraMailStatus: enabled
zimbraMailThreadingAlgorithm: references
zimbraMailTransport: lmtp:mail.testdomain1.com:7025
zimbraMailTrashLifetime: 30d
zimbraMailTrustedSenderListMaxNumEntries: 500
zimbraMailWhitelistMaxNumEntries: 100
zimbraMaxAppSpecificPasswords: 25
zimbraMaxContactsPerPage: 100
zimbraMaxMailItemsPerPage: 100
zimbraMaxVoiceItemsPerPage: 100
zimbraMobileAttachSkippedItemEnabled: FALSE
zimbraMobileForceProtocol25: FALSE
zimbraMobileForceSamsungProtocol25: FALSE
zimbraMobileMetadataMaxSizeEnabled: FALSE
zimbraMobileNotificationEnabled: FALSE
zimbraMobileOutlookSyncEnabled: TRUE
zimbraMobilePolicyAllowBluetooth: 2
zimbraMobilePolicyAllowBrowser: 1
zimbraMobilePolicyAllowCamera: 1
zimbraMobilePolicyAllowConsumerEmail: 1
zimbraMobilePolicyAllowDesktopSync: 1
zimbraMobilePolicyAllowHTMLEmail: 1
zimbraMobilePolicyAllowInternetSharing: 1
zimbraMobilePolicyAllowIrDA: 1
zimbraMobilePolicyAllowNonProvisionableDevices: TRUE
zimbraMobilePolicyAllowPOPIMAPEmail: 1
zimbraMobilePolicyAllowPartialProvisioning: TRUE
zimbraMobilePolicyAllowRemoteDesktop: 1
zimbraMobilePolicyAllowSMIMEEncryptionAlgorithmNegotiation: 2
zimbraMobilePolicyAllowSMIMESoftCerts: 1
zimbraMobilePolicyAllowSimpleDevicePassword: FALSE
zimbraMobilePolicyAllowStorageCard: 1
zimbraMobilePolicyAllowTextMessaging: 1
zimbraMobilePolicyAllowUnsignedApplications: 1
zimbraMobilePolicyAllowUnsignedInstallationPackages: 1
zimbraMobilePolicyAllowWiFi: 1
zimbraMobilePolicyAlphanumericDevicePasswordRequired: FALSE
zimbraMobilePolicyDeviceEncryptionEnabled: TRUE
zimbraMobilePolicyDevicePasswordEnabled: TRUE
zimbraMobilePolicyDevicePasswordExpiration: 0
zimbraMobilePolicyDevicePasswordHistory: 8
zimbraMobilePolicyMaxCalendarAgeFilter: 5
zimbraMobilePolicyMaxDevicePasswordFailedAttempts: 4
zimbraMobilePolicyMaxEmailAgeFilter: 5
zimbraMobilePolicyMaxEmailBodyTruncationSize: -1
zimbraMobilePolicyMaxEmailHTMLBodyTruncationSize: -1
zimbraMobilePolicyMaxInactivityTimeDeviceLock: 15
zimbraMobilePolicyMinDevicePasswordComplexCharacters: 0
zimbraMobilePolicyMinDevicePasswordLength: 4
zimbraMobilePolicyPasswordRecoveryEnabled: TRUE
zimbraMobilePolicyRefreshInterval: 1440
zimbraMobilePolicyRequireDeviceEncryption: 0
zimbraMobilePolicyRequireEncryptedSMIMEMessages: 0
zimbraMobilePolicyRequireEncryptionSMIMEAlgorithm: 0
zimbraMobilePolicyRequireManualSyncWhenRoaming: 0
zimbraMobilePolicyRequireSignedSMIMEAlgorithm: 0
zimbraMobilePolicyRequireSignedSMIMEMessages: 0
zimbraMobilePolicyRequireStorageCardEncryption: FALSE
zimbraMobilePolicySuppressDeviceEncryption: FALSE
zimbraMobileSearchMimeSupportEnabled: FALSE
zimbraMobileShareContactEnabled: FALSE
zimbraMobileSmartForwardRFC822Enabled: FALSE
zimbraMobileSyncRedoMaxAttempts: default:1
zimbraMobileSyncRedoMaxAttempts: windows:2
zimbraMobileTombstoneEnabled: TRUE
zimbraNewMailNotificationBody: New message received at ${RECIPIENT_ADDRESS}.${NEWLINE}Sender: ${SENDER_ADDRESS}${NEWLINE}Subject: ${SUBJECT}
zimbraNewMailNotificationFrom: Postmaster <postmaster@${RECIPIENT_DOMAIN}>
zimbraNewMailNotificationSubject: New message received at ${RECIPIENT_ADDRESS}
zimbraNotebookMaxRevisions: 0
zimbraNotebookSanitizeHtml: TRUE
zimbraPasswordEnforceHistory: 0
zimbraPasswordLocked: FALSE
zimbraPasswordLockoutDuration: 1h
zimbraPasswordLockoutEnabled: FALSE
zimbraPasswordLockoutFailureLifetime: 1h
zimbraPasswordLockoutMaxFailures: 10
zimbraPasswordLockoutSuppressionCacheSize: 1
zimbraPasswordLockoutSuppressionEnabled: TRUE
zimbraPasswordLockoutSuppressionProtocols: zsync
zimbraPasswordMaxAge: 0
zimbraPasswordMaxLength: 64
zimbraPasswordMinAge: 0
zimbraPasswordMinAlphaChars: 0
zimbraPasswordMinDigitsOrPuncs: 0
zimbraPasswordMinLength: 6
zimbraPasswordMinLowerCaseChars: 0
zimbraPasswordMinNumericChars: 0
zimbraPasswordMinPunctuationChars: 0
zimbraPasswordMinUpperCaseChars: 0
zimbraPasswordModifiedTime: 20220622125016.201Z
zimbraPasswordRecoveryMaxAttempts: 10
zimbraPop3Enabled: TRUE
zimbraPortalName: example
zimbraPrefAccountTreeOpen: TRUE
zimbraPrefAdminConsoleWarnOnExit: TRUE
zimbraPrefAdvancedClientEnforceMinDisplay: TRUE
zimbraPrefAppleIcalDelegationEnabled: FALSE
zimbraPrefAutoAddAddressEnabled: TRUE
zimbraPrefAutoCompleteQuickCompletionOnComma: TRUE
zimbraPrefAutoSaveDraftInterval: 30s
zimbraPrefAutocompleteAddressBubblesEnabled: TRUE
zimbraPrefBriefcaseReadingPaneLocation: right
zimbraPrefCalendarAllowCancelEmailToSelf: FALSE
zimbraPrefCalendarAllowForwardedInvite: TRUE
zimbraPrefCalendarAllowPublishMethodInvite: FALSE
zimbraPrefCalendarAllowedTargetsForInviteDeniedAutoReply: internal
zimbraPrefCalendarAlwaysShowMiniCal: TRUE
zimbraPrefCalendarApptAllowAtendeeEdit: TRUE
zimbraPrefCalendarApptReminderWarningTime: 5
zimbraPrefCalendarApptVisibility: public
zimbraPrefCalendarAutoAddInvites: TRUE
zimbraPrefCalendarDayHourEnd: 18
zimbraPrefCalendarDayHourStart: 8
zimbraPrefCalendarDefaultApptDuration: 60m
zimbraPrefCalendarFirstDayOfWeek: 0
zimbraPrefCalendarInitialView: workWeek
zimbraPrefCalendarNotifyDelegatedChanges: FALSE
zimbraPrefCalendarReminderDuration1: -PT15M
zimbraPrefCalendarReminderFlashTitle: TRUE
zimbraPrefCalendarReminderMobile: FALSE
zimbraPrefCalendarReminderSendEmail: FALSE
zimbraPrefCalendarReminderSoundsEnabled: TRUE
zimbraPrefCalendarReminderYMessenger: FALSE
zimbraPrefCalendarSendInviteDeniedAutoReply: FALSE
zimbraPrefCalendarShowDeclinedMeetings: TRUE
zimbraPrefCalendarShowPastDueReminders: TRUE
zimbraPrefCalendarToasterEnabled: FALSE
zimbraPrefCalendarUseQuickAdd: TRUE
zimbraPrefCalendarViewTimeInterval: 1h
zimbraPrefCalendarWorkingHours: 1:N:0800:1700,2:Y:0800:1700,3:Y:0800:1700,4:Y:0800:1700,5:Y:0800:1700,6:Y:0800:1700,7:N:0800:1700
zimbraPrefChatEnabled: TRUE
zimbraPrefChatPlaySound: FALSE
zimbraPrefClientType: advanced
zimbraPrefColorMessagesEnabled: FALSE
zimbraPrefComposeFormat: html
zimbraPrefComposeInNewWindow: FALSE
zimbraPrefContactsDisableAutocompleteOnContactGroupMembers: FALSE
zimbraPrefContactsExpandAppleContactGroups: FALSE
zimbraPrefContactsInitialView: list
zimbraPrefContactsPerPage: 25
zimbraPrefConvReadingPaneLocation: bottom
zimbraPrefConvShowCalendar: FALSE
zimbraPrefConversationOrder: dateDesc
zimbraPrefDedupeMessagesSentToSelf: dedupeNone
zimbraPrefDefaultCalendarId: 10
zimbraPrefDefaultPrintFontSize: 12pt
zimbraPrefDelegatedSendSaveTarget: owner
zimbraPrefDeleteInviteOnReply: TRUE
zimbraPrefDisplayExternalImages: FALSE
zimbraPrefDisplayTimeInMailList: FALSE
zimbraPrefExternalSendersType: ALL
zimbraPrefFileSharingApplication: briefcase
zimbraPrefFolderColorEnabled: TRUE
zimbraPrefFolderTreeOpen: TRUE
zimbraPrefFontSize: normal
zimbraPrefForwardIncludeOriginalText: includeBody
zimbraPrefForwardReplyInOriginalFormat: TRUE
zimbraPrefForwardReplyPrefixChar: >
zimbraPrefGalAutoCompleteEnabled: TRUE
zimbraPrefGalSearchEnabled: TRUE
zimbraPrefGetMailAction: default
zimbraPrefGroupMailBy: conversation
zimbraPrefHtmlEditorDefaultFontColor: #000000
zimbraPrefHtmlEditorDefaultFontFamily: arial, helvetica, sans-serif
zimbraPrefHtmlEditorDefaultFontSize: 12pt
zimbraPrefIMAutoLogin: FALSE
zimbraPrefIMFlashIcon: TRUE
zimbraPrefIMFlashTitle: TRUE
zimbraPrefIMHideBlockedBuddies: FALSE
zimbraPrefIMHideOfflineBuddies: FALSE
zimbraPrefIMIdleStatus: away
zimbraPrefIMIdleTimeout: 10
zimbraPrefIMInstantNotify: TRUE
zimbraPrefIMLogChats: TRUE
zimbraPrefIMLogChatsEnabled: TRUE
zimbraPrefIMNotifyPresence: TRUE
zimbraPrefIMNotifyStatus: TRUE
zimbraPrefIMReportIdle: TRUE
zimbraPrefIMSoundsEnabled: TRUE
zimbraPrefIMToasterEnabled: FALSE
zimbraPrefImapSearchFoldersEnabled: TRUE
zimbraPrefInboxReadLifetime: 0
zimbraPrefInboxUnreadLifetime: 0
zimbraPrefIncludeSharedItemsInSearch: FALSE
zimbraPrefIncludeSpamInSearch: FALSE
zimbraPrefIncludeTrashInSearch: FALSE
zimbraPrefItemsPerVirtualPage: 50
zimbraPrefJunkLifetime: 0
zimbraPrefMailFlashIcon: FALSE
zimbraPrefMailFlashTitle: FALSE
zimbraPrefMailInitialSearch: in:inbox
zimbraPrefMailItemsPerPage: 25
zimbraPrefMailPollingInterval: 5m
zimbraPrefMailRequestReadReceipts: FALSE
zimbraPrefMailSelectAfterDelete: next
zimbraPrefMailSendReadReceipts: prompt
zimbraPrefMailSignatureStyle: outlook
zimbraPrefMailSoundsEnabled: FALSE
zimbraPrefMailToasterEnabled: FALSE
zimbraPrefMandatorySpellCheckEnabled: FALSE
zimbraPrefMarkMsgRead: 0
zimbraPrefMessageIdDedupingEnabled: TRUE
zimbraPrefMessageViewHtmlPreferred: TRUE
zimbraPrefOpenMailInNewWindow: FALSE
zimbraPrefOutOfOfficeCacheDuration: 7d
zimbraPrefOutOfOfficeStatusAlertOnLogin: TRUE
zimbraPrefPop3DeleteOption: delete
zimbraPrefPop3IncludeSpam: FALSE
zimbraPrefReadingPaneEnabled: TRUE
zimbraPrefReadingPaneLocation: right
zimbraPrefReplyIncludeOriginalText: includeBody
zimbraPrefSaveToSent: TRUE
zimbraPrefSearchTreeOpen: TRUE
zimbraPrefSentLifetime: 0
zimbraPrefSentMailFolder: sent
zimbraPrefSharedAddrBookAutoCompleteEnabled: FALSE
zimbraPrefShortEmailAddress: FALSE
zimbraPrefShowAllNewMailNotifications: FALSE
zimbraPrefShowCalendarWeek: FALSE
zimbraPrefShowChatsFolderInMail: FALSE
zimbraPrefShowComposeDirection: FALSE
zimbraPrefShowFragments: TRUE
zimbraPrefShowSearchString: FALSE
zimbraPrefShowSelectionCheckbox: FALSE
zimbraPrefSkin: harmony
zimbraPrefSpellIgnoreAllCaps: TRUE
zimbraPrefStandardClientAccessibilityMode: FALSE
zimbraPrefTabInEditorEnabled: FALSE
zimbraPrefTagTreeOpen: TRUE
zimbraPrefTasksReadingPaneLocation: right
zimbraPrefTimeZoneId: UTC
zimbraPrefTrashLifetime: 0
zimbraPrefUseKeyboardShortcuts: TRUE
zimbraPrefUseRfc2231: FALSE
zimbraPrefUseSendMsgShortcut: TRUE
zimbraPrefUseTimeZoneListInCalendar: FALSE
zimbraPrefVoiceItemsPerPage: 25
zimbraPrefWarnOnExit: TRUE
zimbraPrefZimletTreeOpen: FALSE
zimbraPrefZmgPushNotificationEnabled: FALSE
zimbraPublicShareLifetime: 0
zimbraPublicSharingEnabled: TRUE
zimbraQuotaWarnInterval: 1d
zimbraQuotaWarnMessage: From: Postmaster <postmaster@${RECIPIENT_DOMAIN}>${NEWLINE}To: ${RECIPIENT_NAME} <${RECIPIENT_ADDRESS}>${NEWLINE}Subject: Quota warning${NEWLINE}Date: ${DATE}${NEWLINE}Content-Type: text/plain${NEWLINE}${NEWLINE}Your mailbox size has reached ${MBOX_SIZE_MB}MB, which is over ${WARN_PERCENT}% of your ${QUOTA_MB}MB quota.${NEWLINE}Please delete some messages to avoid exceeding your quota.${NEWLINE}
zimbraQuotaWarnPercent: 90
zimbraRecoveryAccountCodeValidity: 1d
zimbraResetPasswordRecoveryCodeExpiry: 10m
zimbraRevokeAppSpecificPasswordsOnPasswordChange: TRUE
zimbraShareLifetime: 0
zimbraShowClientTOS: FALSE
zimbraSieveEditHeaderEnabled: FALSE
zimbraSieveImmutableHeaders: Received,DKIM-Signature,Authentication-Results,Received-SPF,Message-ID,Content-Type,Content-Disposition,Content-Transfer-Encoding,MIME-Version,Auto-Submitted
zimbraSieveNotifyActionRFCCompliant: FALSE
zimbraSieveRejectMailEnabled: TRUE
zimbraSieveRequireControlEnabled: TRUE
zimbraSignatureMaxNumEntries: 20
zimbraSignatureMinNumEntries: 1
zimbraSmtpRestrictEnvelopeFrom: TRUE
zimbraSpamApplyUserFilters: FALSE
zimbraStandardClientCustomPrefTabsEnabled: FALSE
zimbraSyncWindowSize: 0
zimbraTouchJSErrorTrackingEnabled: FALSE
zimbraTwoFactorAuthEnablementTokenLifetime: 1h
zimbraTwoFactorAuthLockoutMaxFailures: 10
zimbraTwoFactorAuthNumScratchCodes: 10
zimbraTwoFactorAuthTokenLifetime: 1h
zimbraTwoFactorAuthTrustedDeviceTokenLifetime: 30d
zimbraWebClientOfflineSyncMaxDays: 30
zimbraWebClientShowOfflineLink: TRUE
zimbraZimletAvailableZimlets: !com_zimbra_attachmail
zimbraZimletAvailableZimlets: +com_zimbra_phone
zimbraZimletAvailableZimlets: +com_zimbra_srchhighlighter
zimbraZimletAvailableZimlets: +com_zimbra_mailarchive
zimbraZimletAvailableZimlets: !com_zimbra_url
zimbraZimletAvailableZimlets: !com_zimbra_email
zimbraZimletAvailableZimlets: +com_zimbra_webex
zimbraZimletAvailableZimlets: +com_zextras_drive_open
zimbraZimletAvailableZimlets: +com_zimbra_ymemoticons
zimbraZimletAvailableZimlets: +com_zextras_chat_open
zimbraZimletAvailableZimlets: !com_zimbra_date
zimbraZimletAvailableZimlets: !com_zimbra_attachcontacts
zimbraZimletLoadSynchronously: FALSE
zimbraZimletUserPropertiesMaxNumEntries: 150

To collect all user accounts use this command

zimbra@mail:~$ zmaccts
account                               status             created       last logon
------------------------------------  -----------     ------------  ---------------
admin@testdomain1.com                 active      06/15/22 13:15  20220615142645.
arman@testdomain1.com                 active      06/17/22 15:24            never
flaminia@testdomain1.com              active      06/17/22 15:24            never
galsync.yy1_sfy6@testdomain1.com      active      06/15/22 13:21            never
ham.5e2sctqp@testdomain1.com          active      06/15/22 13:15            never
imsilsa@testdomain1.com               active      06/17/22 15:24            never
irene@testdomain1.com                 active      06/17/22 15:24            never
luca@testdomain1.com                  active      06/22/22 08:52            never
mehul@testdomain1.com                 active      06/17/22 15:24            never
mike@testdomain1.com                  active      06/22/22 08:57            never
spam.guxl4gg2za@testdomain1.com       active      06/15/22 13:15            never
stefania@testdomain1.com              active      06/17/22 15:24            never
suman@testdomain1.com                 active      06/17/22 15:24            never
virus-quarantine.2cu4xh2hd@testdomai  active      06/15/22 13:16            never
zextras@testdomain1.com               active      06/21/22 09:17            never

                                 domain summary

    domain                  active    closed    locked    maintenance     total
-----------------------   --------  --------  --------  -------------  --------
testdomain1.com                 15         0         0              0        15
zimbra@mail:~$

Manage your admin accounts

[List all admin accounts]
zimbra@mail:~$ zmprov -l gaaa
admin@testdomain1.com

[Set a regular to admin user]
zimbra@mail:~$ zmprov ma zextras@testdomain1.com zimbraIsAdminAccount TRUE
zimbra@mail:~$ zmprov -l gaaa
admin@testdomain1.com
zextras@testdomain1.com

[Remove an admin account and set it back to regular account]
zimbra@mail:~$ zmprov ma zextras@testdomain1.com zimbraIsAdminAccount FALSE
zimbra@mail:~$ zmprov -l gaaa
admin@testdomain1.com

Manage the account status from CLI. Set your user’s account status among these four status: active,maintenance,locked,closed

Format:
zmprov ma <email_address> zimbraAccountStatus <active|closed|maintenance|locked>

zimbra@mail:/root$ zmprov ma mike@testdomain1.com zimbraAccountStatus closed
zimbra@mail:/root$ zmprov ma luca@testdomain1.com zimbraAccountStatus maintenance
zimbra@mail:/root$ zmprov ma imsilsa@testdomain1.com zimbraAccountStatus locked
zimbra@mail:/root$
zimbra@mail:/root$ zmaccts
     account                          status             created       last logon
---------------------------------   -----------     ---------------  ---------------
adminx@testdomain1.com                active      06/15/22 13:15  20220615142645.
arman@testdomain1.com                 active      06/17/22 15:24            never
flaminia@testdomain1.com              active      06/17/22 15:24            never
galsync.yy1_sfy6@testdomain1.com      active      06/15/22 13:21            never
ham.5e2sctqp@testdomain1.com          active      06/15/22 13:15            never
imsilsa@testdomain1.com               locked      06/17/22 15:24            never
irene@testdomain1.com                 active      06/17/22 15:24            never
luca@testdomain1.com                  maintenance 06/22/22 08:52            never
mehul@testdomain1.com                 active      06/17/22 15:24            never
mike@testdomain1.com                  closed      06/22/22 08:57            never
spam.guxl4gg2za@testdomain1.com       active      06/15/22 13:15            never
stefania@testdomain1.com              active      06/17/22 15:24            never
suman@testdomain1.com                 active      06/17/22 15:24            never
virus-quarantine.2cu4xh2hd@testdomai  active      06/15/22 13:16            never
zextras@testdomain1.com               active      06/21/22 09:17            never

                                 domain summary

    domain                  active    closed    locked    maintenance     total
-----------------------   --------  --------  --------  -------------  --------
testdomain1.com                 12         1         1              1        15
zimbra@mail:/root$

Therefore, so far you learned how to manage users using both GUI and CLI modes. Check zmprov command for more detailed options.

That’s all for today.

:slight_smile:
Download Zextras Suite for Zimbra OSE

Post your comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What Does the GDPR Say About Consent? | Blog
How To Process Sensitive Personal Data And Avoid Sanctions According To The GDPR | Blog