Forward Message With Attachments in Mutt

Problem: Forward attachment in mutt is hard

This is a pain for every mutt user. I got a solution which can satisfy my need.


  • Add these two lines to your .muttrc. This will forward an email with the text self.
unset mime_forward
set mime_forward_rest=yes
  • Add the following line to your .vimrc too. This will tag all attachments but the first one may not include, which depend on the number of attachments. While the first one usually not neccessary to include. This macro looks weird but works well for most cases. The idea is:
    • Goto the last attachment by hit jjjjjjjjjjjjjjjjjj;
    • Tag the last one by hit t;
    • Goto the previous one by hit k;
    • Tag it by hit t;
    • Goto the previous one by hit kk;
macro index,pager "F" "<view-attachments>jjjjjjjjjjjjjjjjjjjjtktkktkktkktkktkktkktkktkktkktkktkktkk;f"

How to use:

  • In index or pager page, hit F to forwar message with attachments.


Ming Su
Ming Su
Associate Professor of Environmental Engneering

My research interest is water quality problems in drinking water bodies, with a focus on harmful algal blooms and associated taste & odor problems.