Results 1 to 1 of 1
I get around 100 emails a day from the servers that I manage. Procmail dumps them all into the same mbox, which is the way I like it. I want ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-13-2007 #1
- Join Date
- Dec 2004
dynamic mutt macro
So, if the current email iss from firstname.lastname@example.org i'd like a limit like:
The best I can come with is something like:
macro index <esc>s "<enter-command>unset wait_key\n<pipe-message>formail -x From:|sed -e 's/\w\+\@\(\w\+\)\..*/\1/'>/tmp/muttlimit\n<enter-command>set wait_key\n<limit>~L `cat /tmp/muttlimit`<enter>" "Change limit"
But this doesn't work.