sorting mail over imap?

sorting mail over imap?

Noam Rathaus noamr at beyondsecurity.com
Fri Feb 13 08:03:18 IST 2009


Amos,

Are you into programing?

If so, IMAP::Client for perl works pretty well (though there are occasional 
bugs :) ).

I can give you a perl script I use for handling incoming requests from users 
(via email) and places them into a database.

You can probably modify it to do whatever you want.

On Friday 13 February 2009 05:08:53 Amos Shapira wrote:
> Hello,
>
> I'm looking at a way to filter e-mails on our Exchange 2003 server
> using a linux box as an IMAP client.
>
> I have it now working on my Ubuntu desktop using Claws mail but it
> means I have to keep it running while I'm away which is wasteful (I
> shut down my desktop overnight and weekends).
>
> Looking around for solutions I learned:
> 1. My memory about procmail not being suitable is still correct -
> Procmail can only store to local files.
> 2. The closest I found was
> http://markmail.org/message/esxmz6bsejt6bt6y, which mentions Sickle
> http://www.codebunny.org/coding/sickle/ which is almost 4 years old
> and depends on perl modules I can't find in CPAN.
>
> But Sickle's idea (using Perl IMAP modules to filter messages) seems
> to be right.
>
> What I envision is to run a script on one of our main operations
> servers which are always on, which reads message headers over IMAP
> from the Exchange server, filters them and moves them to other IMAP
> folders. Just like Claws does for me already but without the need for
> a GUI/display etc.
>
> Is there something more "baked" or should I work from scratch?
>
> Thanks,
>
> --Amos
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


-- 
Noam Rathaus
CTO
noamr at beyondsecurity.com
http://www.beyondsecurity.com

"Know that you are safe."




More information about the Linux-il mailing list