Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: Knuddi on August 26, 2020, 06:13:00 PM
-
Dear all,
Rob from Invaluement.com has created another (free) blacklist helping with spam being sent from sendgrid. I have implemented this new SPBL (Service Provider Black List) and do get quite some hits that do not otherwise get caught.
I have created a plugin for qpsmtpd which I, for now, have placed in GitHub. I know that to get it into SME, there is a little template work to be done, but I am sure someone will assist (or I will get around to that as well).
https://github.com/jesper-knudsen/qpsmtpd
The Invaluement page:
https://www.invaluement.com/serviceproviderdnsbl/
Enjoy,
Jesper
-
thumbs up
-
Quite interesting, I'd like to implement this in my up-to-date 9.2 server.
I copied the spbl-file from github to /usr/share/qpsmtpd/plugins/
How to proceed? Any help would be appreciated.
regards,
stefan
-
Hi Stefan,
Here is the rough hack that will get you going
# cd /usr/share/qpsmtpd/plugins/
# wget https://raw.githubusercontent.com/jesper-knudsen/qpsmtpd/master/plugins/spbl
# echo "spbl" > /etc/e-smith/templates/var/service/qpsmtpd/config/peers/0/25spbl
# /sbin/e-smith/expand-template /var/service/qpsmtpd/config/peers/0
# sv t qpsmtpd
The you should see a log entry in /var/log/qpsmtpd/current saying:
(init) spbl: Reloading SPBL...
P.S
Please get a later version from GitHub.
Rgds,
Jesper
-
Hi Jesper,
thank you for guiding me. Here's the output of
# grep 'spbl' current
@400000005f48c5cb3710a43c 16589 (init) spbl: Reloading SPBL...
@400000005f48c603171faf74 16595 (init) spbl: Reloading SPBL...
@400000005f48c6923a6ad774 16843 (init) spbl: Reloading SPBL...
@400000005f48c6ca2181240c 16856 (init) spbl: Reloading SPBL...
Seems to be implemented and running... I'll keep an eye on the logs the next days. Wouldn't it make sense to put this in the custom-templates?
What did you mean by "get a later version from github"?
regards,
stefan
-
Perfekt - seems to work. Please be aware that its relatively low volume spam, but always nice to clean some more.
Right now the plugin downloads the data at initialization (which is with every mail in a normal SME server - I use the prefork system which reduces the re-download). I might create a little separate script that downloads and stores locally when Invaluement updates.