1 (edited by wshakes 2017-03-20 20:08:34)

Topic: [solved]how to uninstall virus and spam?

Latest iRedMail, Ubuntu 16.04 AWS instance, MariaDB, Nginx

Following the guide here to completely remove virus and spam checking...

http://www.iredmail.org/docs/completely … assin.html

I modified the files exactly as it said.

It says at the bottom:
"Restarting Postfix service is required.
Disable network services: Amavisd, ClamAV."

I restarted postfix. I don't know how to "disable the network services Amavisd, ClamAV".? How do I do that?

I tried  service --status-all and it was very confusing and I saw many amavis and clamAV processes. Please advise

2

Re: [solved]how to uninstall virus and spam?

FWIW: I followed the guide from here and I think it worked
https://www.faqforge.com/linux/controlp … pconfig-3/

3

Re: [solved]how to uninstall virus and spam?

I do this:
/etc/init.d/clamav-daemon stop
/etc/init.d/clamav-freshclam stop
/etc/init.d/amavis stop

update-rc.d -f clamav-daemon remove
update-rc.d -f clamav-freshclam remove
update-rc.d -f amavis remove

and memory looks great on this small 1GB server (going to hopefully send and receive through AWS and mailgun. for virus and spamming protection.)
                    total       used        free      shared  buff/cache   available
Mem:            990         183         628          14         178         752

4

Re: [solved]how to uninstall virus and spam?

Why is it every time I reboot the server, I still need to re-enter the stop and remove commands. Why doesn't it permanently remove them? Thank you????

5

Re: [solved]how to uninstall virus and spam?

systemctl disable clamav-daemon.socket
systemctl disable clamav-daemon.service
systemctl disable clamav-freshclam.service

That did it.

[SOLVED]!!!!!!!!!