DonationCoder.com Software > Post New Requests Here
IDEA: IMAP filtering.
(1/1)
evil_jc:
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:
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.
evil_jc:
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:
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.
evil_jc:
Cheers..
Anyone fancy a go at this ??
Navigation
[0] Message Index
Go to full version