Search Suggest

Bài đăng

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

Đăng nhận xét