How to Disable Zimbra's AntiSpam and AntiVirus filtering: Difference between revisions
No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
= Disabling Zimbra's AntiSpam and AntiVirus filtering = | = Disabling Zimbra's AntiSpam and AntiVirus filtering = | ||
<hr> | <hr> | ||
{{KB|{{ZC}}|{{ZCS 8.8 | {{KB|{{ZC}}|{{ZCS 8.8}}||||}} | ||
{{WIP}} | {{WIP}} | ||
Line 14: | Line 14: | ||
====Solution ==== | ====Solution ==== | ||
* Check whether antispam and antivirus service is enabled currently on server using the given command | * 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' | ||
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 | * 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 | ||
* 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 | ||
* Restart services on server | * Restart services on server | ||
zmcontrol restart | zmcontrol restart | ||
* 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 | ||
{| | {{SubmittedBy| Aarti Shah}} | ||
{{Article Footer|ZCS 8.8 | {{Article Footer|ZCS 8.8|2020-04-13}} |
Revision as of 20:28, 28 April 2020
Disabling Zimbra's AntiSpam and AntiVirus filtering
- This article is a Work in Progress, and may be unfinished or missing sections.
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'
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 <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 |