1

Topic: Disable clamd Centos 7

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version (check /etc/iredmail-release):0.93
- Linux/BSD distribution name and version: Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
====

Running on OpenVZ VPS with 1GB RAM is not enough to have Clamd & Amavis working correctly, so I have disabled them in /etc/postfix/main.cf and /etc/postfix/master.cf (# -o content_filter=smtp-amavis:[127.0.0.1]:10026) to get mail to flow. I can't figure out how to disable clamd from starting at boot. systemctl list-unit-files --type=service lists clamd@.service 'enabled' but systemctl disable clamd doesn't seem to work. How do I disable clamd from loading?

----

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

2

Re: Disable clamd Centos 7

Try the service name 'clamd', or 'clamd@amavisd'.

3

Re: Disable clamd Centos 7

ZhangHuangbin wrote:

Try the service name 'clamd', or 'clamd@amavisd'.

systemctl disable clamd@amavisd did it. Thanks
If you have btc wallet I'll buy you a coffee!

4

Re: Disable clamd Centos 7

dsp3 wrote:

If you have btc wallet I'll buy you a coffee!

Thanks. smile

[topic closed]