How to disable Antivirus and antispam filter in zimbra

1
(1)

Check whether antispam and antivirus service is enabled currently on server using the given command:

zmprov -l gs mail.example.com | egrep -i 'serviceen|servicein' 

The above command will list all the services which are currently installed and enabled on the server. Like this:

zimbraChatServiceEnabled: TRUE
zimbraServiceEnabled: amavis
zimbraServiceEnabled: opendkim
zimbraServiceEnabled: stats
zimbraServiceEnabled: memcached
zimbraServiceEnabled: service
zimbraServiceEnabled: zimbra
zimbraServiceEnabled: zimbraAdmin
zimbraServiceEnabled: zimlet
zimbraServiceEnabled: mailbox
zimbraServiceEnabled: proxy
zimbraServiceEnabled: mta
zimbraServiceEnabled: ldap
zimbraServiceEnabled: logger
zimbraServiceInstalled: amavis
zimbraServiceInstalled: antivirus
zimbraServiceInstalled: antispam
zimbraServiceInstalled: opendkim
zimbraServiceInstalled: logger
zimbraServiceInstalled: mta
zimbraServiceInstalled: ldap
zimbraServiceInstalled: stats
zimbraServiceInstalled: proxy
zimbraServiceInstalled: mailbox
zimbraServiceInstalled: memcached

Disable the antivirus and antispam services using the given commands:

zmprov -l ms mail.example.com -zimbraServiceEnabled antispam 
zmprov -l ms mail.example.com -zimbraServiceEnabled antivirus 

Comment the following line in the file /opt/zimbra/postfix/conf/main.cf

content_filter = smtp-amavis:[127.0.0.1]:10024 

Restart services on server

zmcontrol restart 

Confirm that the antispam and antivirus services are disabled with the given command:

zmprov -l gs mail.example.com | egrep -i 'serviceen|servicein' 
zmcontrol status 

Verified against: ZCS 8.8

Similar Posts:

1,847

How useful was this post?

Click on a star to rate it!

Average rating 1 / 5. Vote count: 1

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

2 thoughts on “How to disable Antivirus and antispam filter in zimbra”

  1. I like the helpful info you supply in your articles.
    I will bookmark your blog and test again here regularly.
    I am slightly certain I will be told many new stuff proper
    right here! Best of luck for the next!

  2. Thank you for the good writeup. It in fact was a amusement account it.
    Look advanced to far added agreeable from you!
    By the way, how can we communicate?

Leave a Comment

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

Scroll to Top