freebsd-ports/mail/mail2procmailrc/pkg-descr
Ying-Chieh Liao 134cf2e88b add mail2procmailrc 0.9
mail to procmailrc generator
2001-12-29 17:06:13 +00:00

14 lines
598 B
Text

It's *really* ment to be use from inside mutt... but to use it from a command
line you can do it like this:
mail2procmail < some.mail.letter
The needed lines to your muttrc is something like:
macro pager \Cf "|~/path/to/mail2procmail\n"
macro pager \Cf ":set pipe_decode\n|~/path/to/mail2procmail\n"
This will binds <ctrl>-f to execute mail2procmail... mail2procmail will
exec generateproc.pl to generate a file called ~/.procmail/m2proc.rc.
in your .procmailrc you should have something like
"INCLUDERC=~/.procmail/m2proc.rc" and everything should work.
WWW: http://www.ghettohack.net/timball/