Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: mysticav on November 18, 2008, 06:40:52 PM

Title: How to filter mgs based on subject ?
Post by: mysticav on November 18, 2008, 06:40:52 PM
I have spamassassin.

It marks spam with ****SPAM**** legend on the Email subject.

I just need a way to tell roundcube to send all those messages with that legend to the junk folder automatically.

It has to be a very simple job. Just to search the Spam string with some regular expression and if its true, put it in the junk, or trash.

I was expecting this functionality as part of the software. Horde has it.

Any Idea ?
Title: How to filter mgs based on subject ?
Post by: mysticav on November 18, 2008, 11:26:07 PM
I found this.

Roundcube Subject Filtering - Fusion Reactions - Web Design Rochester NY (http://www.fusionreactions.com/pages/rcmail)

The patch does notr work with 0.2, So

I modified the file to work with version 0.2 (download attachment and change extension to .inc)
Title: Don't move to another folder spam
Post by: ZoukLover on November 22, 2008, 06:26:36 AM
Hi!

That patch seams interesting

But when the message is moved to JUnk folder it is not downloaded from pop3 clients like outlook.

Is there a way to display the email without moving it?

Thanx
Title: How to filter mgs based on subject ?
Post by: nhomauhoaphuong on December 12, 2008, 12:03:17 PM
so after uploaded that .inc file up, do i have to follow this step here?

 Instructions
Step One: Download and unzip the patch.
Step Two: Replace the func.inc in /program/steps/mail with the included file.
Step Three: Open up /config/main.inc.php. Add the following line:

$rcmail_config['spam_subject'] = 'SPAM';Step Four: Change SPAM to whatever subject string you want to filter out.