![]() |
|
|
|||||||
| For more information about the ads and why they're here, please see the FAQ |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi everyone. We use Roundcube for our companies webmail solution. Unfortunately, we get tons of SPAM- somewhere in the range of about 5/minute. Our MTA filters most of them out and the few that get through are processed by SpamAssassin. Our SpamAssassin setup appends "*****SPAM*****" to the subject line of the email but doesn't remove them from the inbox. This can be a real pain with webmail because the spam emails still clog up your inbox.
So, to combat this situation I wrote up a very simple patch today. It moves all of the email with a specified string into the junk folder, automatically. It's customizable so whatever your email system uses to mark spam- "[SPAM]", "*****SPAM*****", whatever, it can work. It's also very easy to install, you only need to replace one file and add a single configuration option into your main.inc.php file. You can view the patch here: http://fusionreactions.com/pages/rcmail Hope it can be useful to everyone. If you have any questions post them here and I'll try to help you. Also, if you're interested in any custom patches please use the contact form on our website. We'd be glad to discuss any opportunities with you. Enjoy, Steve Corona Web Director Fusion Reactions |
|
#2
|
|||
|
|||
|
Thanks for the post!
|
|
#3
|
|||
|
|||
|
There is a bug that I missed- SPAM filtering doesn't happen when you login, you need to click on the Inbox after logging in to remove the SPAM.
I'm currently working on a general filtering plug-in right now. I'm thinking a configuration page where you can setup rules to move mail to an arbitrary folder depending on the subject/sender/body/date/etc. Cheers Steve Corona Web Director http://www.fusionreactions.com |
|
#4
|
|||
|
|||
|
Nice addition. It would be nice if one could set the parameter in GLOBAL and this is inherited to user config. The user can then set the string in preferences (by adding label en input field)? Would it not be nice to add the check for the SPAM string to the beginning of the loop? or add a separate loop before the column format algorithm? Does the SPAM string need some checking against illegal characters? regards, Sean |
|
#5
|
|||
|
|||
|
Does this filter subject only? or will it also filter by header info?
|
|
#6
|
|||
|
|||
|
I haven't been able to get this to work with version 0.1-rc2. Can anyone else confirm this?
I get a blank page after trying to log in... |
|
#7
|
|||
|
|||
|
Hi,
@seansan What do you mean set the param in GLOBAL? The param is set in the config file to change the subject it filters. @mrjaguar It only filters the subject. I'd like to eventually add header filtering but I don't have the time yet. @thetimp2003 I havn't tested it in RC2 yet. I am still running RC1, I'll let you know what changes need to be made if I get time to update our companies roundcube installation today. |
|
#8
|
|||
|
|||
|
I mean that a user can set the string in the CONFIG (actually the admin). This variable is then set as default on the user level. I can imagine that different users (maybe not on your system) have different SPAM strings in the attachment. The variable is then also accesible via the preferences window - where a user can override the default value. |
|
#9
|
|||
|
|||
|
Quote:
Steve Corona Web Director Fusion Reactions |
|
#10
|
|||
|
|||
|
This patch is broken in RC2. I'm going to have a fix out today
![]() |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
| For more information about the ads and why they're here, please see the FAQ |