On Thu, 20 Jun 2002, Bosko Milekic wrote: >On Thu, Jun 20, 2002 at 01:10:39PM -0700, Matthew Hunt wrote: >> This shouldn't be hard to glue together without modifying mutt itself. >> Make a little program, foo, that takes the message on stdin, passes >> it through "formail -x subject", massages it into a procmail rule, and >> appends it to some procmail rule file. The "massage" step should include >> escaping characters that have special meanings in procmail regexps, and >> adding something like (Re: *)? at the beginning of the subject when >> appropriate. Shouldn't be more than a screenful of Perl. > > Interesting. How would you have a key bound sequence in mutt set off >the script on the message, though? For instance, if I do a "ctrl+B", how >would you ensure that the Right Thing happens, without modifying mutt >code?
Check out mutt2procmailrc written by my good friend timball: http://www.ghettohack.net/timball/ It rocks. Brandon D. Valentine -- http://www.geekpunk.net [EMAIL PROTECTED] ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message