RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Third Party Contributions > Plug-Ins

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 07-07-2006, 11:57 AM
Registered User
 
Join Date: Jul 2006
Posts: 6
Downloads: 0
Uploads: 0
Default Mail Filter Hack

I have started developing a Sieve Mail Filter hack.

I'm not a coder so this may take some time.

If any one is willing to help, let me know and I will set up an SVN Server.

Here is my plan...

using the sieve php lib http://sieve-php.sourceforge.net/

Build the following tasks and actions:

if ($_task=='sieve')
{
include_once('program/steps/sieve/func.inc');

if ($_action=='save-rules')
include('program/steps/sieve/save_rules.inc');

if ($_action=='edit-rules' || $_action=='add-rules')
include('program/steps/sieve/edit_rules.inc');

if ($_action=='delete-rules')
include('program/steps/sieve/delete_rules.inc');

if ($_action=='show-rules')
include('program/steps/sieve/show_rules.inc');

if ($_action=='list-rules' && $_GET['_remote'])
include('program/steps/sieve/list_rules.inc');

}


Action List-Rules
1. Login to the Sieve Server using the RC session username and password
2. Get the active sieve script and parse for display
3. Log Out.


Action Add-Rules/edit-rules/delete-rules
1. Put each rule into an array
2. Allow the moving (up/down)of rules based order of array.
3. Write rules to file or database to build sieve script
4. Upload and set seive sript as active



I plan on just concentrating on simple header match rules for now and then building on it for advanced script building. I'm using smartsieve, websieve, avelsieve as my referrences.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 07-07-2006, 12:45 PM
flosoft's Avatar
Administrator
 
Join Date: Jun 2006
Location: Brussels, Belgium
Posts: 349
Downloads: 1
Uploads: 0
Send a message via ICQ to flosoft Send a message via AIM to flosoft Send a message via MSN to flosoft
Default Re: Mail Filter Hack

Sounds nice
__________________
New VPS for just 9,99!
Flosoft.biz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 07-07-2006, 02:58 PM
Registered User
 
Join Date: Jul 2006
Posts: 46
Downloads: 0
Uploads: 0
Send a message via MSN to simoesp
Default Re: Mail Filter Hack

veryyyyyyy nive
__________________
--------------------------------------------------------<br /> **&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; S.I.M.O.E.S.P.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; **<br />--------------------------------------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 07-07-2006, 04:26 PM
Member
 
Join Date: Jun 2006
Posts: 41
Downloads: 0
Uploads: 0
Default Re: Mail Filter Hack

Good!

so, the "Plug-in Architecture" is in urgent need.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 08-04-2006, 09:57 AM
Super Moderator
 
Join Date: Jun 2006
Posts: 431
Downloads: 0
Uploads: 0
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default Re: Mail Filter Hack

I like it I hope to see a sample of it soon!
__________________
[size=8pt]SKaero.com <br />&nbsp; [/size]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 08-10-2006, 09:39 AM
Registered User
 
Join Date: Aug 2006
Posts: 1
Downloads: 0
Uploads: 0
Default Re: Mail Filter Hack

any news about the mail filter?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 08-17-2006, 07:52 AM
Registered User
 
Join Date: Aug 2006
Posts: 12
Downloads: 0
Uploads: 0
Default Re: Mail Filter Hack

Do you know if that can work with spamassassin? vpopmail? qmail? or qmail-scanner?


Regards.

Mike.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 08-18-2006, 07:01 AM
Registered User
 
Join Date: Aug 2006
Posts: 12
Downloads: 0
Uploads: 0
Default Re: Mail Filter Hack

Any body know howto make in php (into RoundCube) a simple filter in the inbox?
for example: if i received a mail that have in the subject *****SPAM***** then move to the Spam folder or Junk folder?

it's easy or not?


Thanks in advance.

Mike.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 01-16-2007, 03:47 PM
Registered User
 
Join Date: Jan 2007
Posts: 13
Downloads: 0
Uploads: 0
Default Re: Mail Filter Hack

Not sure how well the implementation of this into RoundCube is going but I recently stumbled onto a project called SmartSieve which does the same thing and looks to have a very nice interface for creating and managing sieve scripts.

I started thinking of ways to merge this into RoundCube but haven't had much time so all I've thought up is doing something the same way as we have the html editor in the SVN...I hope I have time to look into this soon since for me it is needed to have the users be able to edit these for out of office replies.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 06:05 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community