1
Rspamd on the same Linux machine as SmarterMail
Question asked by Patrick Jeski - 5/16/2024 at 1:05 PM
Unanswered
Has anyone installed rspamd on the same box the SmarterMail Linux beta is running on? Any pitfalls?
2
Roger Replied
You should never do setups like this. I prefer seperate instances for security and maintenance
0
Patrick Jeski Replied
Please take a minute to educate me as to why it is more secure and less maintenance to put rspamd on a separate machine? Is it not ok to run clamav on the same machine?
0
Patrick Jeski Replied
I don’t buy it. There are 142 processes running on my VM now, the couple that are Rspamd are not significantly increasing the chances of a crash bringing down the whole system and I prefer to run fewer machines. You know, for maintenance purposes. 

And while at least Ron did answer a question I asked, all Roger did was tell me “never”  to do something I wanted to do based on his preferences, which had nothing to do with my question and wasn’t particularly helpful. 
2
Patrick Jeski Replied
In any case, it works fine. The kb article on deploying rspamd is really out of date, and has errors that were pointed out long ago and not yet fixed.
All of the prerequisites were already there, and the instructions on getting the repo wasted a few minutes of my time. (There isn’t a repo available that way for noble Ubuntu). 

All I had to do was “sudo install rspamd”, then the kb article instructions on setting up the workers and .conf file. It’s all working fine. When I get a minute I’ll follow Martin Schaible’s setup guide to tweak things in. 
0
Martin Schaible Replied
Hello

I know this post is over a year old.

We're switching SmarterMail to Linux soon, and I'm also wondering whether it's okay to run Rspamd and SmarterMail on the same server.

Looking at the system load Rspamd causes, it's harmless. SmarterMail is actually quite resource-efficient.

Our server processes fewer than 10,000 emails per day. The cloud server for Rspamd runs with 2 CPUs and 4 GB of RAM, while SmarterMail runs with 4 CPUs and 8 GB of RAM. Both servers are rather boring :-)

Regarding maintenance: This definitely saves time and downtime. A system update only runs once. Updating the Linux version of SmarterMail is also lightning fast.

I see no reason why SmarterMail and Rspamd can't be run on the same server.
1
Matt Petty Replied
Employee Post
You should be able to do that, just make sure ports aren't used by anything else and in SM you can use "localhost:<rspam port>" to connect to it. 
Keep in mind we'll also run clamav on linux (ubuntu via apt-get), clamav uses about a gig of RAM with some spiking when it updates.
Matt Petty Senior Software Developer SmarterTools Inc. www.smartertools.com
0
Martin Schaible Replied
Thanks, that sounds good.
I don't like clamav anyway, so it's being shut down :-)

Reply to Thread

Enter the verification text