On Fri, Apr 19, 2002 at 11:48:45PM -0600, Rob 'Feztaa' Park wrote:
> I know I could do something like this (untested):
> 
> :0:
> * ^TO_\/.*@qux\.com
> ~/mail/$MATCH
> 
> But, the problem being that the foldernames would be the actual address
> of the list ('[EMAIL PROTECTED]' instead of 'foo', which is what I really
> want).

I do something like this, and use sed.

Try something like this (untested): 

        MLIST=`echo $MATCH | sed -e 's/\(foo\|bar\|baz)@qux\.com*/\1/i'`
        ~/mail/$MLIST

-- 
rjbs

Attachment: msg27687/pgp00000.pgp
Description: PGP signature

Reply via email to