Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: paulf on November 22, 2016, 05:46:31 AM

Title: Roundcube - Spam Filtering
Post by: paulf on November 22, 2016, 05:46:31 AM
Hi Everyone

We are currently using the Roundcube system through a hosting company based in the UK. We have an issue with one of our clients receiving alot of spam emails daily. At present, you have to copy each individual email address from Roundcube, and then paste this into a blacklist within Plesk to educate the spam filtering system for future or similar emails - which is crazy, as you cannot expect a client to perform this task on every single spam email which comes through.

We have read online there is a spam filtering plugin for Roundcube which simplifies this process, but unfortunately this isn't installed and our hosting company have informed us this is the latest version, and there is no other solution available.

We are just looking for some support or advice, if someone could give us some assistance.
Title: Re: Roundcube - Spam Filtering
Post by: SKaero on November 22, 2016, 04:56:41 PM
There isn't really anything you can do if your mail provider wont setup a spam filtering plugin.
Title: Re: Roundcube - Spam Filtering
Post by: rm13 on November 30, 2016, 12:13:39 PM
A possible kludge, nothing to do with Roundcube really.

If you can write a shell script (or PHP, Perl, etc.) on the server that will accept a forwarded email and then teach Plesk about it being a spammer. Assuming the spam filter has some API to talk to or a simple enough blacklist file could be written to directly. I did something similar in SpamAssassin on a Cpanel server awhile back.

You would then need to setup a new email account, say junk@example.com that is piped to your shell script.

When spam is received, forward it to junk@example.com