Re: way to prefix default save file (sender's name) with a directory
* On Mon, Dec 15, 2003 henry nelson (netb@xxxxxxxxxxxxxxxxxxxxx) muttered:
> Say I have 10 people in my department and I want to save their mails all in
> the same directory, but each with the sender's name (part of address before
> '@').
I would use procmail for that.
> Do I have to make a save-hook for each and every one of them, e.g.,
> ``save-hook bob@xxxxxxx ~/dept/bob''? Or is there some way I could do
> ``save-hook (bob|dave|ed)@dept.jp ~/dept/[Symbol Meaning Sender's Name]''?
what about save-hook '~f (bob\|dave\|ed)@dept.jp' ~/dept/%O ?
HTH,
Michael
--
Whoa...I did a 'zcat /vmlinuz > /dev/audio' and I think I heard God...
-- mikecd on #Linux
PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key