How to Disable / Enable service in Zimbra Mail Server

0
(0)

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
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

Disable antispam service

# su - zimbra
Syntax:
command option "zimbra_hostname" attribute service_name
Example:
$ zmprov ms "mail.example.com" -zimbraServiceEnabled antispam
or,
$ zmprov ms `zmhostname` -zimbraServiceEnabled antispam

Enable antispam service

$ zmprov ms "mail.example.com" +zimbraServiceEnabled antispam
or,
$ zmprov ms `zmhostname` +zimbraServiceEnabled antispam

Disable Antivirus service

$ zmprov ms `zmhostname` -zimbraServiceEnabled antivirus

Enable Antivirus service

$ zmprov ms `zmhostname` +zimbraServiceEnabled antivirus

1,027

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.

Scroll to Top