1

Topic: SpamAssassin/ClamAV make Postfix slow.How to dis/enable them separatel

My mail delivery is slow when I enable Amavis which in turn uses SpamAssassin and Clamav. When I disable amavis in /etc/postfix/main.cf by commenting content_filter = smtp-amavis:[127.0.0.1]:10024 things are getting faster dramatically. I want to check which on of them (SpamAssassin or ClamAV) is delaying the mail delivery. So how do I disable one at a time?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: SpamAssassin/ClamAV make Postfix slow.How to dis/enable them separatel

In /etc/amavisd.conf (RHEL/CentOS/Scientific Linux), you can find below lines:

# @bypass_virus_checks_maps = (1);  # controls running of anti-virus code
# @bypass_spam_checks_maps  = (1);  # controls running of anti-spam code
# $bypass_decode_parts = 1;         # controls running of decoders&dearchivers

3

Re: SpamAssassin/ClamAV make Postfix slow.How to dis/enable them separatel

ZhangHuangbin wrote:

In /etc/amavisd.conf (RHEL/CentOS/Scientific Linux), you can find below lines:

# @bypass_virus_checks_maps = (1);  # controls running of anti-virus code
# @bypass_spam_checks_maps  = (1);  # controls running of anti-spam code
# $bypass_decode_parts = 1;         # controls running of decoders&dearchivers

Ok. Will try that.
Thank you very much