• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to Disable/Enable services in Zimbra Mail Server

by admin

Zimbra provides open-source server and client software for numerous applications like messaging and collaboration: email, group calendaring, contacts, and web document management and authoring.The Zimbra server has been made available for various platforms like Linux, Mac OS X, appliances, and virtualization platforms. The Zimbra Web 2.0 Ajax client runs on the most commonly used browsers like Firefox, Safari, and IE. It also features easy integration/mashups of web portals, business applications, and VoIP using web services.

In Zimbra Mail Server you can disable and enable service from CLI as per your requirement. Below are the steps:

1. Check Service Status:

$ zmcontrol status
Host mail.example.com
amavis                     Running
antivirus                  Running
antispam                   Running
ldap                       Running
logger                     Running
mailbox                    Running
memcached                  Running
mta                        Running
opendkim                   Running
proxy                      Running
service webapp             Running
snmp                       Running
spell                      Running
stats                      Running
zimbra webapp              Running
zimbraAdmin webapp         Running
zimlet webapp              Running
zmconfigd                  Running

2. Disable antispam service:
Syntax:

$ command option "zimbra_hostname" attribute service_name

Example:

# su - zimbra
$ zmprov ms "mail.example.com" -zimbraServiceEnabled antispam

or:

# su - zimbra
$ zmprov ms `zmhostname` -zimbraServiceEnabled antispam

3. Enable antispam service:

# su - zimbra
$ zmprov ms "mail.example.com" +zimbraServiceEnabled antispam

or:

# su - zimbra
$ zmprov ms `zmhostname` +zimbraServiceEnabled antispam

4. Disable Antivirus service:

# su - zimbra
$ zmprov ms `zmhostname` -zimbraServiceEnabled antivirus

5. Enable Antivirus service:

# su - zimbra
$ zmprov ms `zmhostname` +zimbraServiceEnabled antivirus
How to Start, Stop and Restart Zimbra Service

Filed Under: Linux

Some more articles you might also be interested in …

  1. How to Disable IPv6 on Ubuntu 20.04 Focal Fossa
  2. uptime Command Examples in Linux
  3. macchanger: command not found
  4. CentOS / RHEL LVM : Backing Up Volume Group Metadata
  5. How to configure resource groups for MySQL Server running on Linux
  6. How to Configure an NFSv4-only Client using nfsconf in CentOS/RHEL 8
  7. mke2fs: command not found
  8. CentOS / RHEL 7 : How to boot into rescue mode from installation DVD/ISO
  9. how to rotate Tang Server Keys and update the Clevis Client
  10. CentOS / RHEL 7 : Unable To Start The Samba Service

You May Also Like

Primary Sidebar

Recent Posts

  • qsub Command Examples in Linux
  • qsub: command not found
  • qrcp Command Examples in Linux
  • qmrestore Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright