Jürgen_T
Regular Pleskian
Hi Tessa,Hi @dlabsnl, @Jürgen_T,
thanks to Jürgen for documenting this so openly, and for the update after a year. Since the thread has resurfaced, here are a few small additions that might help readers who find it later. I have not tested the setup myself; these points are based on reading the thread and the linked article.
1. Milter line: post #10, step 2 shows only smtpd_milters = inet:127.0.0.1:11332 whereas the article (and post #6) keeps the Plesk milter on 12768: smtpd_milters = inet:127.0.0.1:11332, inet:127.0.0.1:12768 - readers might want to use the second form.
2. Observe-only testing: the article describes Rspamd as only analyzing and adding headers in the parallel setup. It may be worth checking the action thresholds (e.g. rspamadm configdump actions) before testing on live mail.
3. Test path: the article greps /var/mail/<user>. As far as I know, Plesk keeps mailboxes elsewhere (under /var/qmail/mailnames/), so it is worth verifying the path on your own system.
4. Full migration: the steps after the parallel stage (removing Amavis, master.cf, Bayes/fuzzy training) are only outlined so far. Maybe a follow-up from someone with experience would be a great addition.
5. Detection rates: it would be interesting to know how the 85% / 95% were measured, so others can compare their own results.
Thanks again for sharing your experience.
Regards
Tessa
thank you very much for your valuable comments — and especially for motivating me to revisit this topic after almost two years!
Your observations were absolutely worthwhile. I have now reviewed and substantially updated my original article, while deliberately preserving its character as a historical technical report.
The update includes:
- Milter configuration: Clarification of why the existing Plesk milter on port 12768 must be preserved. You're right that the configuration in my forum post #10 was incomplete, although the article itself already contained the correct example.
- Observe-only operation: Additional safeguards and configuration checks to ensure that Rspamd does not accidentally reject or defer messages during parallel testing.
- Mailbox paths: Correction of the generic /var/mail/<user> example and clarification of the Plesk-specific mailbox locations.
- Migration scope: A clearer distinction between parallel testing and a complete migration away from Amavis/SpamAssassin.
- Detection rates: Clarification that the previously mentioned 85% and 95% were historical observations rather than statistically validated benchmarks.
I've added a dedicated Technical Update — November 23, 2026, explaining these changes and acknowledging your contribution.
You can find the updated English article here:
Installing Rspamd on Plesk and Running It in Parallel with Amavis/SpamAssassin
The German version has also been updated accordingly.
Of course, the article remains a documentation of my original experiments, not a newly validated installation guide for current Plesk environments.
Thanks again, Tessa! This is exactly what makes technical community discussions valuable: sharing practical experience, questioning details, and improving documentation together.
Best regards,
Jürgen