How to Reduce Junk Emails in DirectAdmin Business Accounts

iPwsite

Verified User
Joined
May 9, 2020
Messages
28
Hi everyone,

I’m using DirectAdmin for hosting, and recently several of my clients have complained that they’re receiving too many junk or spam emails in their business mailboxes ([email protected]/roundcube), ([email protected]/webmail)

I’d like to implement effective methods or configurations to reduce or block spam directly from the server side.

Could you please suggest the best practices or tools within DirectAdmin (or compatible plugins) to help control junk mail?

My goals are:
  • Prevent spam before it reaches users’ inboxes
  • Avoid false positives (important emails going to spam)
  • Keep the setup lightweight and reliable
Any step-by-step suggestions or configuration examples would be appreciated.

Thank you!
 
To reduce junk emails in DirectAdmin business accounts, enable SpamAssassin and set a reasonable spam score threshold to move suspicious messages to the Junk folder. Strengthen filtering by adding reputable RBLs such as Spamhaus and Spamcop in the Exim configuration, and ensure that DKIM, SPF, and DMARC records are properly configured for all domains to authenticate legitimate mail. You can also enable greylisting to block automated spam bots and optionally use ClamAV for antivirus protection if server resources allow. Combined with basic user awareness—like marking spam and avoiding suspicious links—these measures will effectively minimize spam while preventing false positives and maintaining reliable mail delivery.
 
Strengthen filtering by adding reputable RBLs such as Spamhaus and Spamcop in the Exim configuration

DirectAdmin Official instructions: https://docs.directadmin.com/other-...-to-enable-realtime-blocklists-rbls-with-exim

You can also enable greylisting to block automated spam bots

Greylising is not offered by DirectAdmin as of now, but it can be enabled in rSpamd: https://docs.rspamd.com/modules/greylisting/

marking spam

DirectAdmin Official instructions: https://docs.directadmin.com/other-...omatically-marking-moved-mail-to-junk-as-spam
 
Nice try of spamming in a thread about spamming 👍🏻 Looks very ChatGPT too.
I mean, Spam's been a problem with this platform as long as I can remember. I do get that the tools we have (Spamassasin, Spam Blocker, RBLs) do block a massive amount of spam, but compared to the more sophisticated tools (3rd party, I suppose), a large volume of spam still gets through and hits the end user mailboxes. Reducing the Spamassassin threshold below a certain point just catches more legitimate mail and the customers complain about that.

I have an unfortunate e-mail address that has been included in a great many data leaks and it gets a lot of spam. a 3rd party integration for those customers that want it would be great. Not sure how feasible (or unfeasible) that is.
 
I mean, Spam's been a problem with this platform as long as I can remember. I do get that the tools we have (Spamassasin, Spam Blocker, RBLs) do block a massive amount of spam, but compared to the more sophisticated tools (3rd party, I suppose), a large volume of spam still gets through and hits the end user mailboxes. Reducing the Spamassassin threshold below a certain point just catches more legitimate mail and the customers complain about that.

I have an unfortunate e-mail address that has been included in a great many data leaks and it gets a lot of spam. a 3rd party integration for those customers that want it would be great. Not sure how feasible (or unfeasible) that is.
Here on my servers i use Irondome - https://spfbl.net/en/irondome/
It is a very good tool at an excellent price.

The developer is very active and easy to reach to resolve any issues.
 
I cant find any price on the website. How much does it costs?
Yeah, he will create a new website soon with all information.

Follow the info:

You can contact him:

Leandro
Whatsapp: +1 (786) 408-0021
Telegram: @spfbl_net

Subscription: $2/mo + $2/server + 1$ per 50.000 request/query.
Payments via Paypal.

You receive an access to a panel where you can check in real time about everything.
 
You might want to read up on switching to rspamd which is handled by DA's own custombuild system.
rspamd can really outperform spamassasin and block spam at the door based on dkim, dmarc and spf.
Been running rspamd on 20+ year old domains and I can count spam on the fingers of my hand.
And rspamd is lighter than spamassasin as you want a lightweight solution.

 
Only talking from experience so it's just my opinion. No costs at al and setup in minutes. A fast frontend would be better than having exim do the work next to normal e-mail. All depending on the volume of e-mail and spam of course. But just saying that what spamassasin would not do rspamd does. Have you read https://docs.rspamd.com/about/comparison/ ? And perl had it's heydays but in 2026 😂
 
Only talking from experience so it's just my opinion.
I wasn't trying to discuss if rspamd might be better or not, just saying that Exim already does the SPF, DKIM and DMARC check, in fact via the Easy Spamfighter. but indeed maybe on high volume mail servers it might be better to let the anti-spam tool handle this.
We don't have a high load of email so we like to have that already done at connect by ESF.

I was also thinking about changing from Spamassassin to Rspamd. Just didn't have the time yet to have a deeper look into configuration and how this changes user options and what I could set as defaults as I now do with SA on new account creation automatically. Didn't have time for it yet.
 
Aha, exim does not do the work as you first said but Easy Spamfighter is the one :p So now TS has a few options and "de bal ligt bij hem/haar/ze". I would advise rspamd, you go for Easy Spamfighter and we all have our ways. Switching to rspamd is as easy as anything in DA:

cd /usr/local/directadmin/custombuild
da build update
da build set spamd rspamd
da build set redis yes
da build redis
da build rspamd

It's a drop in replacement and offers even a nice webgui through a unix domain socket used by DA.
 
Last edited:
you go for Easy Spamfighter and we all have our ways.
I now use a combination of ESF and SA. But I'm planning to go to ESF and rspamd. We don't use redis by the way.
Switching is easy yes I know, just have to check the options as stated for example the ones to stop the Google spam. For TS it's easy to change sooner indeed.

offers even a nice webgui
Oh cool! Now for sure I'm going over. :)

Edit: No not going over yet. We still have legacy licenses and Rspamd depends on Redis (not supported on legacy) and we're not going to install that manually. So we have to wait a bit and see if/when we will go over. I'm not the only one deciding.
 
Last edited:
Go for it and be happy! Spamassasin was great, is a bit outdated.... Ah you edited. Well whenever you do, enjoy!
rspamd.png
 
Back
Top