Is there anyway to list all emails having attachment?
Thanks
Have a look at pattern modifiers (from the manual):
~X [MIN]-[MAX]
lists messages with MIN to MAX attachments. The forms
“<[MAX]”, “>[MIN]”, “[MIN]-” and “-[MAX]” are allowed, too.
Frank
By the way, what counts as an "attachment" here? Things which aren't
displayed inline? Or all MIME parts, including things like HTML
versions of the message, images for the HTML part, OpenPGP signatures,
etc?
The man page didn't say (and I haven't experimented).
/Jorgen
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
Look for "Attachment Searching and Counting" in manual.txt.
c
--
theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org
Black Trash Productions on Facebook:
http://www.facebook.com/blacktrashproductions
Ah, good -- it's configurable.
Doesn't this mean the manpage is incomplete? manual.txt seems to
document two commands 'attachments' and 'unattachments', but I can't
find them in muttrc(5). I'm not saying it should be as detailed as the
manual, but it should at least /mention/ all commands.
(I use Mutt 1.5.20, packaged by Debian.)
I guess the answer is: yes, indeed -- patches are welcome ;-)
Thanks
I gave up. That part of muttrc(5) is autogenerated from a header file
using a dedicated parser written in C so it wasn't (as I believed) a
matter of extracting the command (or is it configuration variable?)
names from the man page and the manual and diffing them to see where
they didn't match.
I could certainly do that analysis, but it's more than a workday
night's work.