Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.

Add "Spam" button to Horde and Roundcube so users can mark individual messages as spam

Ken Swarthout shared this idea 7 years ago
Open Discussion

As a server administrator I would like cPanel to add a 'Spam' button inside Horde and Roundcube so that my users can more intuitively and easily mark email as spam, increasing the intelligence with which my server can filter spam.

Replies (2)

photo
2

For Horde, I wrote a small tutorial on how to configure Horde with cPanel so there's a Spam button for individual (and selected) e-mails. I found a way to add one for Roundcube (with the ability for it to "teach" SpamAssassin, but I'm having trouble making it cPanel friendly, so I left RoundCube out of the tutorial for now.


The tutorial can be found here:

https://forums.cpanel.net/threads/how-to-mark-a-single-message-as-spam-in-horde.602595/

photo
1

Thanks, Ken!

photo
photo
2

If you implement it then please make it optional since we don't use SpamAssassin but an external service and this would just confuse our clients.

photo
1

Could you share what external service you use? Also, I think optional is a great idea. The way I think it should work is this:

An option under Tweak Settings (or some other place) would allow you to turn it off or on. By default, it'd be on.

But it'd ONLY be on by default after checking to see if SpamAssassin is enabled. If it's not enabled, then it'd be off by default.


Another possibility would be to have the button, but after implementing it manually, there are a bunch of various options that cPanel could make adjustable. For example, in my tutorial, you specify the path to the binary you want to call (spamassassin). cPanel could default to using SpamAssassin but maybe have a special configuration page, where you could manually adjust the binary path and the flags you want passed to it. So if someone is using something other than SpamAssassin, they might be able to configure it to use whatever else they're using.


Thanks.

photo
1

Hi Ken


We use SpamExperts. Reasonable priced if you have a bunch of domains to protect and they charge by the domain, not the e-mail account. Very helpful when you want to include filtering in your hosting packages. They have cloud hosted and self-hosted options. They also just started to sell individual domain filtering at a somewhat higher cost through the WHMCS MarketConnect with no minimums.

The incoming filtering is generally quite reliable and other than companies setting their SPF record incorrectly for me it only has false positives with some newsletters and not general e-mails. They do have training and whitelisting capabilities.


Mark

photo
1

Thank you for the information Mark.


I'm a bit curious as to how the SpamExperts works. Is there some sort of executable that gets ran that marks the messages as spam, or does all your e-mail go through some sort of relay? The reason I ask, if it's the first, then if cPanel implements the Mark as Spam button with configurable options, I bet you could configure Horde or RoundCube to call the SpamExperts binary package. But I'm guessing all e-mail goes through their relay or something like that, am I right?

photo
1

Yes. It's an external filtering service which gets all mail routed to and then sends the spam-free e-mail to our servers. It, like many external filtering services, do have a submission e-mail to train spam, so in theory a spam button could forward the spam e-mail to that address and if the DNS is hosted locally or by reading installed plugins it could determine where to send it to - at least for cloud hosted instances. Local server installs would require more configuration.

photo
1

I would like to know how Roundcube can be told messages are not spam lol. It is a royal pain when spam from a company is marked SPAM in the subject after I move it back to the inbox.

photo
Leave a Comment
 
Attach a file