Re: Mail filtering / rules: mutt + offlineimap + ???
On Fri, Mar 11, 2011 at 04:47:43PM -0800, Dr. Ed Morbius wrote:
> I've been been using mutt + offlineimap for great justice ... except for
> filtering.
>
> I've previously relied on procmail for local rules management. While
> Gmail's rules are reasonably decent, not all IMAP providers are as
> blessed.
>
> I'd also like to trigger libnotify messages on certain messages as well.
>
> Hrm ... imapfilter according to the Consilience blog:
>
> http://blog.grossmeier.net/2009/01/25/imapfilterofflineimapmsmtpmuttabook/
>
> What are others using for this, and/or set up the bomb?
Hi, I use a script based on the perl module Email::Filter.
Email::Filter's syntax is much better than procmail,
even allowing for Perl's much-maligned syntax.
You could place that in a .forward file.
I combined Email::Filter with an IMAP client library, and published
the code at https://github.com/bolangi/imapget .
Although it works for me, it needs work and should
be considered alpha code.
cheers,
--
Joel Roth
Reply to: