0

I want to delete a large attachment from a mu4e message. This thread is similar, except that the required altermime tool does not seem available on macOS (not on Homebrew and no results from an online search).

How can I delete an attachment from a mu4e message?

miguelmorin
  • 1,751
  • 11
  • 33

2 Answers2

1

My solution (at your link) involved manually installing altermime back when I used OS X. I don't think it was hard. Perhaps only make was required when I tried?

mankoff
  • 4,108
  • 1
  • 22
  • 39
  • 1
    Actually it's even easier, it's on macports, which was what I used back the osx days. Anyway, probably will be on other installers. I don't think that compiling the source will be too hard. – Muihlinn Sep 13 '20 at 16:15
  • Installing from source with the latest stable release altermime-0.3.10.tar.gz from https://pldaniels.com/altermime/ failed with `make`: `mime_alter.c:709:13: error: variable 'newblock' is used uninitialized whenever ...`. I was able to install it with Macports, getting the [Macports installer](https://www.macports.org/install.php) and running `sudo ports install altermime`. @Muihlinn Care to write an answer? – miguelmorin Sep 14 '20 at 15:24
1

If you don't want to compile altermime yourself, you could install it from macports then follow @mankoff recipe.

Muihlinn
  • 2,576
  • 1
  • 14
  • 22