How to Disable Zimbra's AntiSpam and AntiVirus filtering

Revision as of 06:45, 16 August 2017 by Nbhagwat (talk | contribs) (Created page with "=== <h1>How to Disable Zimbra's AntiSpam and AntiVirus filtering</h1> === <hr> <br> <h2> Problem :</h2> How to disable Zimbra's AntiSpam and AntiVirus filtering <h2>Solution...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to Disable Zimbra's AntiSpam and AntiVirus filtering



Problem :

How to disable Zimbra's AntiSpam and AntiVirus filtering

Solution :

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' 

It would list the services which are currently installed and enabled on the server.

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

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

content_filter = smtp-amavis:[127.0.0.1]:10024 

4) Restart services on server :

zmcontrol restart 

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

Regards,
Aarti

Jump to: navigation, search