Operating system: CentOS Linux OS version: 7.9.2009
Hello Community!
I’ve recently been upgraded to CentOS 7.9.2009 and Spamassassin is not installed on the server; it was on my previous CentOS 6 server and I would like to have it again for the upgraded server.
Can anyone please recommend a good tutorial on installing/configuring Spamassassin? I would greatly appreciate it!
That means you chose a --minimal installation, which excludes ClamAV and SpamAssassin, on the assumption that your system is small and not big enough to handle being a full-featured mail server. Maybe that was a mistake, and just starting over with the right install type for your needs is easier?
Maybe. Don’t do that if your system is already in production and has had any customization, though.
Edit: This will convert the system to a full installation (including ClamAV, more stats, etc.). So, if you’re on a memory-limited system, this isn’t appropriate, but running mail at all on a small memory system isn’t appropriate.
Hmm I’m not sure if it was a minimal installation or not. My hosting company upgraded the server, more like migrated from CentOS6 to 7.9.2009. It does have ClamAV however.
When they did the install, the system had 12GB of memory, the same amount as the server I was on before: CentOS 6 with ClamAV, spamassassin. I’m not sure then why they would of chosen a minimal installation… not unless 12GB of memory is not sufficient enough for CentOS 7.9.2009.
Speaking of memory though, I’ve actually recently been upgraded to 32GB on my request.
Do you recommend I contact them on installing SpamAssassin incase of anything that may have been customized unbeknownst to me?
Or…
If I’m on a minimal installation, now that I have 32GB of memory, should I go ahead and do:
Oh, lordy. If you don’t know how they installed, and it doesn’t look like a normal and complete Virtualmin installation, you may have a mess. There is no mode of the installer that results in ClamAV but not SpamAssassin, so they did something unusual or the installation didn’t finish and they just assumed it did.
Go ahead and try those two commands, and if both complete without error, then you’re probably OK.
Edit: 12GB of RAM is plenty. --minimal is for sub-1GB devices or devices that won’t be providing mail services (beyond outgoing from apps).
Hmm. Looks like they may have done something unusual then.
Before I continue with those two commands, I thought I’d ask if running those two commands would be okay, even with having a couple of virtualmin sites already set up and going?
Asking incase anything or everything gets reset by running those commands.
It won’t mess with your sites, but if you have custom configuration at the service level it might alter it.
I won’t say it’s “safe” in the sense that there’s no way for it to mess something up, but it’s probably not particularly dangerous. It is probably safer than the state you’re in now, which is a total mystery and some things are confirmed broken. Might be better to lean into breaking things now so they don’t bite you hard later.