On Sun, Feb 04, 2001 at 10:24:40PM +1100, Jeff Waugh wrote:
> Hi all,
> 
> In an effort to fix up my catastrophic mail overload, I'm trying out a few
> things to make life easier. One is to have my list email delivered to
> IN.<list> email files, and save to <list> archive files.
> 
> The annoying way would be to set up folder-hooks, like so:
> 
>   folder-hook IN\.list "save-hook .* =list"
> 
> I'd have to do that for *every* list... Ugh! (I'm sure many of you
> understand.) I'd like to do something like this (only make it work):
> 
>   folder-hook IN\.(.*) "save-hook .* =$1"
> 
> Common regexp matching, etc. So, is this remotely possible?

If you do perl, you might want to look at Mail::Audit.

   <http://search.cpan.org/search?dist=Mail-Audit>
   <http://search.cpan.org/doc/SIMON/Mail-Audit-1.7/Audit.pm>

It's the perl idea of procmail. If you think in perl, it's
substantially easier to deal with than procmail (and more
flexible).

-- 
 Jeff

 Jeff Abrahamson  <http://www.purple.com/jeff/>


Reply via email to