How to Disable Zimbra's AntiSpam and AntiVirus filtering

Revision as of 10:48, 3 November 2021 by Shanxt (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Disabling Zimbra's AntiSpam and AntiVirus filtering

   KB 23335        Last updated on 2021-11-3  

(0 votes)


How to disable Zimbra's AntiSpam and AntiVirus filtering


  • Check whether antispam and antivirus service is enabled currently on server using the given command
zmprov -l gs <> | egrep -i 'serviceen|servicein' 

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

  • Disable the antivirus and antispam services using the given commands
zmprov -l ms <> -zimbraServiceEnabled antispam 
zmprov -l ms <> -zimbraServiceEnabled antivirus 
  • Comment the following line in the file /opt/zimbra/postfix/conf/
content_filter = smtp-amavis:[]:10024 
  • Restart services on server
zmcontrol restart 
  • Confirm that the antispam and antivirus services are disabled with the given command
zmprov -l gs <> | egrep -i 'serviceen|servicein' 
zmcontrol status 

Submitted by: Aarti Shah
Verified Against: ZCS 8.8 Date Created: 2020-04-13
Article ID: Date Modified: 2021-11-03

Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search