Author Topic: How to disable postfix, clamav and bind server?  (Read 3163 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to disable postfix, clamav and bind server?
« on: October 30, 2021, 07:22:41 AM »
Hello! How to completely remove not necessary services, such as postfix, clamav and bind server? I remove them, but they still appear. Thanks in advance for the answer!

Offline
***
Re: How to disable postfix, clamav and bind server?
« Reply #1 on: October 31, 2021, 02:46:16 AM »
If you know they are "unneeded", why you already don't know to remove then?
Are you sure is really unneeded?
They are *vital* to most people here, for hosting services.

Code: [Select]
yum remove -y postfix
yum remove -y clamd clamav clamav-filesystem clamav-update clamav-lib clamav-data
yum remove -y bind bind-libs bind-libs-lite bind-export-libs bind-license bind-utils

Regards,
Netino

Offline
*
Re: How to disable postfix, clamav and bind server?
« Reply #2 on: October 31, 2021, 07:56:22 AM »
I already did it. But after a while, these services appear again. So I ask how to delete these services completely.
Code: [Select]
No Match for argument: clamd
No Match for argument: clamav
No Match for argument: clamav-filesystem
No Match for argument: clamav-update
No Match for argument: clamav-lib
No Match for argument: clamav-data
No Packages marked for removal
Code: [Select]
No Match for argument: bind
No Match for argument: bind-libs
No Match for argument: bind-libs-lite
No Match for argument: bind-export-libs
No Match for argument: bind-license
No Match for argument: bind-utils
No Packages marked for removal
Code: [Select]
No Match for argument: postfix
No Packages marked for removal


Offline
*
Re: How to disable postfix, clamav and bind server?
« Reply #3 on: November 04, 2021, 09:21:16 AM »
I solved this problem, maybe someone will find this solution useful. We just add to /etc/yum.conf:
Code: [Select]
exclude=postfix clamav clamd bind
And these services will no longer be installed.