topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 19, 2024, 12:39 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: IMAP filtering.  (Read 4950 times)

evil_jc

  • Participant
  • Joined in 2008
  • *
  • Posts: 3
    • View Profile
    • Donate to Member
IDEA: IMAP filtering.
« on: April 07, 2008, 07:07 AM »
Anyone able to create a simple IMAP filter app that sits on the taskbar and monitors IMAP users.

Structure of IMAP folder:

USER BOB.

INBOX
Sent
Drafts
---->Spam (user created folder)
---->Keep (user created folder)

Idea is create a filter client that will monitor multiple users (BOB etc) and will move mail to folders based on rules..
Filter on To / CC / From / Subject / Header

EG: 
user BOB - If Subject contains "[**SPAM**]" then move to BOB/SPAM
user BOB - If Header contains "[xxxxxx]" then move to BOB/KEEP

That sort of idea !!

Anyone ??

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: IDEA: IMAP filtering.
« Reply #1 on: April 07, 2008, 07:17 AM »
IMHO this is better implemented either server-side, or with rules in each user's mail client. Solutions already exist for both. Doing continuous client-side polling & filtering wastes bandwidth and CPU cycles.

But it's doable, and if you don't have control of server or user client software, it might be the only option, I guess.
- carpe noctem

evil_jc

  • Participant
  • Joined in 2008
  • *
  • Posts: 3
    • View Profile
    • Donate to Member
Re: IDEA: IMAP filtering.
« Reply #2 on: April 07, 2008, 08:09 AM »
I agree this would be best done on the server...
The mail server doesn't support it and doing it via a webmail client is messy.

Would it be a lot of work to create this, to sit on a Windows Server polling the local mail server !! ??

Thanks

JC

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: IDEA: IMAP filtering.
« Reply #3 on: April 07, 2008, 08:59 AM »
And it's impossible to change the server software? :)

I'm not sure how much work it would be to whip something together - there's already existing IMAP libraries one can use, and depending on the level of filtering you need that could be a pretty simple job... since it's supposed to run on a windows server, somebody could probably slap together some C# components to do the task pretty quickly.
- carpe noctem

evil_jc

  • Participant
  • Joined in 2008
  • *
  • Posts: 3
    • View Profile
    • Donate to Member
Re: IDEA: IMAP filtering.
« Reply #4 on: April 07, 2008, 02:03 PM »
Cheers..

Anyone fancy a go at this ??