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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • 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. CentOS / RHEL 6 : How to change the verbosity of debug logs during booting
  2. Linux OS Service ‘rusersd’
  3. Comparing NET-TOOLS V/s IPROUTE Package Commands (ip Vs ifconfig command comparison)
  4. perf: command not found
  5. cheat: Create and view interactive cheat sheets on the command-line
  6. btrfs rescue Command Examples in Linux
  7. How to Recover from a Corrupted or empty /etc/mtab file in CentOS/RHEL 7
  8. stress Command Examples in Linux
  9. “az group” Command Examples (Manage resource groups and template deployments)
  10. nmcli connection Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • gixy Command Examples
  • gitsome Command Examples
  • gitmoji Command Examples
  • gitlint Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright