How to Disable / Enable service in Zimbra Mail Server


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

Check service status

$ zmcontrol status
        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

Disable antispam service

# su - zimbra
command option "zimbra_hostname" attribute service_name
$ zmprov ms "" -zimbraServiceEnabled antispam
$ zmprov ms `zmhostname` -zimbraServiceEnabled antispam

Enable antispam service

$ zmprov ms "" +zimbraServiceEnabled antispam
$ zmprov ms `zmhostname` +zimbraServiceEnabled antispam

Disable Antivirus service

$ zmprov ms `zmhostname` -zimbraServiceEnabled antivirus

Enable Antivirus service

$ zmprov ms `zmhostname` +zimbraServiceEnabled antivirus

Similar Posts:


How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top
Scroll to Top