Difference between revisions of "How to Disable Zimbra's AntiSpam and AntiVirus filtering"

(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...")
 
Line 1: Line 1:
=== <h1>How to Disable Zimbra's AntiSpam and AntiVirus filtering</h1> ===
+
{{BC|Certified}}
 +
__FORCETOC__
 +
<div class="col-md-12 ibox-content">
 +
= Disabling Zimbra's AntiSpam and AntiVirus filtering =  
 
<hr>
 
<hr>
<br>
+
{{KB|{{ZC}}|{{ZCS 8.8.15}}||||}}
<h2> Problem :</h2> How to disable Zimbra's AntiSpam and AntiVirus filtering
+
{{WIP}} 
  
<h2>Solution :</h2>
+
 
1) Check whether antispam and antivirus service is enabled currently on server using the given command :
+
 
 +
 
 +
==== Problem ====
 +
How to disable Zimbra's AntiSpam and AntiVirus filtering
 +
 
 +
====Solution ====
 +
* 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'  
 
  zmprov -l gs <mail.example.com> | egrep -i 'serviceen|servicein'  
  
It would list the services which are currently installed and enabled on the server.<br><br>
+
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 :
+
* 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 antispam  
 
  zmprov -l ms <mail.example.com> -zimbraServiceEnabled antivirus  
 
  zmprov -l ms <mail.example.com> -zimbraServiceEnabled antivirus  
  
'''3) '''Comment the following line in the file /opt/zimbra/postfix/conf/main.cf :
+
* Comment the following line in the file /opt/zimbra/postfix/conf/main.cf :
 
  content_filter = smtp-amavis:[127.0.0.1]:10024  
 
  content_filter = smtp-amavis:[127.0.0.1]:10024  
  
'''4)''' Restart services on server :
+
* Restart services on server :
 
  zmcontrol restart  
 
  zmcontrol restart  
  
'''5)''' Confirm that the antispam and antivirus services are disabled with the given command :
+
* Confirm that the antispam and antivirus services are disabled with the given command :
 
  zmprov -l gs <mail.example.com> | egrep -i 'serviceen|servicein'  
 
  zmprov -l gs <mail.example.com> | egrep -i 'serviceen|servicein'  
 
  zmcontrol status  
 
  zmcontrol status  
  
Regards,<br>
+
 
Aarti
+
{| class="wikitable" style="background-color:#d0f0c0;" cellpadding="10"
 +
|'''Submitted by''':  Aarti Shah
 +
|}
 +
 
 +
{{Article Footer|ZCS 8.8.15|2020-04-13}}

Revision as of 13:01, 17 April 2020

Disabling Zimbra's AntiSpam and AntiVirus filtering


   KB 23335        Last updated on 2020-04-17  




0.00
(0 votes)



Problem

How to disable Zimbra's AntiSpam and AntiVirus filtering

Solution

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

  • 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 


Submitted by: Aarti Shah
Verified Against: ZCS 8.8.15 Date Created: 2020-04-13
Article ID: https://wiki.zimbra.com/index.php?title=How_to_Disable_Zimbra%27s_AntiSpam_and_AntiVirus_filtering Date Modified: 2020-04-17



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