Mutt Notes

January 1, 2007 – 12:57 | LAMP

I'm just starting to use mutt, so this is where I plan to keep the tips and other notes.

  • To save the original message source to an external file, do something like
    CODE:
    1. |cat>~/tmp/mail.txt

  • In my mailcap 'text/html' is associated with firefox. I'm not keen on changing that to lynx just for viewing html emails, on the other hand, sending an html email to firefox has the obvious security issues. I found another way to send an email to lynx
    CODE:
    1. |lynx -stdin

  • Or use w3m, which is better than lynx:
    CODE:
    1. |w3m -m

  • Add a little twist to the "poor man's trash folder" sample I found in Mutt FAQ
    CODE:
    1. macro index d "<save -message>+INBOX.Trash\ny\$y" "move message to trash"

    The "y\$y" part makes mutt go ahead with the saving and refreshing the current folder.

  • Attach multiple files from command line:
    http://marc.info/?t=117449910600016&r=1&w=2
Trackback from your site, or follow the comments in RSS.

Post a Comment