l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2010 Aug 30 16:28

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Convincing Mutt to search inside attachments?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Convincing Mutt to search inside attachments?

On Wed, Aug 18, 2010 at 02:52:23PM -0700, Bill Kendrick wrote:
> I've found that this can be extremely handy in a large mailbox:
>   [L]imit  "~t recipient ~s subject ~b sometext"
> However, the messages I'm trying to search or limit contain
> some text inside ATTACHMENTS (tab-delimited or XML text files),
> and neither "~b" (match in body) or "~B" (match in whole email) seem
> to look in those.
> Any suggestions?  (I'm looking into grepmail, but my ISP's shell
> doesn't currently have it installed (I just asked them to :) ), and
> the mailboxes are uber-large.  I'd rather not pull down tons of
> stuff to my laptop, just to find an email or two.)

Bill, that sounds like Mime decoding. I am looking at a raw message
and here is what I see for png. It sounds like you are going to have
to write a handler to search when you find a certain MIME type. 
I bet this could be incorporated into mutt if someone hasn't already
done it.

Content-Type: image/png;
Content-Transfer-Encoding: base64
Content-Description: request_for_deputy_fail.png
Content-Disposition: attachment;

Here is a PERL package that does the MIME decoding for you. 

> PS - how do people live without Mutt!?

Live with it. Sometimes, I have to save a mail and open it with evolution
to see all the graphics though. I am probably not doing it right though.


> -- 
> -bill!
> Sent from my computer
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

Brian Lavender

"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."

Professor C. A. R. Hoare
The 1980 Turing award lecture
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.