On Fri, October 15, 2004 11:36 am, linux@bizniche.com said:
This is nearly what I'm looking to do. What I really want to do, is..
_Anything_ that comes to linux@bizniche.com goes in one folder, doesn't matter if it was sent to the address directly, or to a list like kclug.
_Anything_ that comes to matt@bizniche.com goes in another folder, no matter where it comes from.
Hmm..
So what you want is:
:0: * ^TO_.*@bizniche.com accounts/`echo $MATCH | sed -e 's/[/]/_/g'`
This uses the dynamic technique for the mailing lists, but applies it to accounts. If you have "matt@bizniche.com", his mail will go into accounts/matt. If you have "linux@bizniche.com", his mail will go into accounts/linux.
I'd do some testing on this one, but this should work for you.
Jeremy