Re: ProcMail, WAS: Re: Fetchmail and Gmail
On Wed, 26 Aug 2009 00:30:03 -0400
Chris Jones <cjns1989@gmail.com> wrote:
> On Tue, Aug 25, 2009 at 10:57:01PM EDT, Celejar wrote:
> > On Tue, 25 Aug 2009 13:32:21 +0300
> > Micha <michf@post.tau.ac.il> wrote:
>
> > ...
>
> > > 3. Text file with regular expression based rules that you know where
> > > it resides and can back it up and human read it
>
> > As the resident Sylpheed fanboy, I must point out that Sylph stores
> > all its configuration, including its filter rules (which can utilize
> > regex's), in fairly easy to understand XML files under
> > $HOME/.sylpheed-2.0.
>
> Nice..
>
> So it should be fairly straightforward to generate a procmail .rc file
> and move the filters where they rightly belong..
>
> :-)
:/ Actually not too difficult; I did once write a perl script that
uses XML::Parser to convert Sylph / Claws XML based addressbooks to CSV
format, and doing something similar for the filter rules files
shouldn't be much different.
http://www.claws-mail.org//tools/claws-mail-clawsxml2csv.tar.gz>
Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator
Reply to: