Re: searching in search results

2008-11-21 Thread lee
On Wed, Nov 19, 2008 at 08:36:43PM -0600, lee wrote:

> is it possible to somehow search within search results?

Thanks a lot for your answers! I didn't even know that it's possible
to combine different search criteria in one line, and I've been using
mutt for years ... Combining them should be enough in most cases :)

But I found two packages:


mairix - indexes and searches email in locally stored email
nmzmail - indexes and searches email in maildir folders


I'll take a look at them and try them out, I'm curious what can be
done with them.


-- 
http://en.wikipedia.org/wiki/Posting_style


Re: searching in search results

2008-11-19 Thread Ed Blackman

On Wed, Nov 19, 2008 at 08:36:43PM -0600, lee wrote:

is it possible to somehow search within search results? For example,
if I want to find a message of which I know the From: header and a
word or some words of the body, how do I find it when going by either
the From: line or the body only would give too many results?


Search or limit, then "~f joe ~b 'meeting tonight'" would search or 
limit to messages that have "joe" in the From: line and "meeting 
tonight" in the body.


By default, search terms are logically ANDed together so that only 
messages meeting all criteria are returned.  You can use "~f joe | ~b 
'meeting tonight'" to return messages that meet ANY critera (logical 
OR), and "!" for negation.


"man muttrc" and search for "logical operators" for examples.

Ed


signature.txt
Description: Digital signature


Re: searching in search results

2008-11-19 Thread Robin Lee Powell
On Wed, Nov 19, 2008 at 08:36:43PM -0600, lee wrote:
> 
> Hi,
> 
> is it possible to somehow search within search results? For
> example, if I want to find a message of which I know the From:
> header and a word or some words of the body, how do I find it when
> going by either the From: line or the body only would give too
> many results?

l the first part, then / within that.

-Robin

-- 
They say:  "The first AIs will be built by the military as weapons."
And I'm thinking:  "Does it even occur to you to try for something
other than the default outcome?" -- http://shorl.com/tydruhedufogre
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/


Re: searching in search results

2008-11-19 Thread David Haguenauer
Hi,

* lee <[EMAIL PROTECTED]>, 2008-11-19 20:36:43 Wed:
> is it possible to somehow search within search results? For example,
> if I want to find a message of which I know the From: header and a
> word or some words of the body, how do I find it when going by either
> the From: line or the body only would give too many results?

I recommend Mairix as well, but otherwise you can simply use a more
complex search pattern, such asĀ `~fuser~bword', where `user' and
`word' stand for the strings you are looking for. This pattern will
only match messages that are both from `user' and contain `word'.

-- 
David Haguenauer


pgpQlaXhgp7Wk.pgp
Description: PGP signature


Re: searching in search results

2008-11-19 Thread Patrick Shanahan
* lee <[EMAIL PROTECTED]> [11-19-08 21:37]:
> 
> is it possible to somehow search within search results? For example,
> if I want to find a message of which I know the From: header and a
> word or some words of the body, how do I find it when going by either
> the From: line or the body only would give too many results?
> 
> Maybe tag messages by From: header and then limit the search to tagged
> messages? That would work for two levels of searching only, unless I'd
> start copying messages around or so ... which I could do to begin
> with. Hmm. But is there a better way?
> 

Look at mairix,   http://www.rc0.org.uk/mairix

mairix is a tool for indexing and searching email messages stored in
Maildir, MH, or mbox folders. The index contains a map of which words
occur in which parts of which messages. Searches on this index are
fast and generate symlinks to the matching messages in a new Maildir
or MH folder, or copies of matching messages in an mbox folder, which
can be browsed normally in a mail client.

I have been using it for about two years and have been very pleased.
-- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org


searching in search results

2008-11-19 Thread lee

Hi,

is it possible to somehow search within search results? For example,
if I want to find a message of which I know the From: header and a
word or some words of the body, how do I find it when going by either
the From: line or the body only would give too many results?

Maybe tag messages by From: header and then limit the search to tagged
messages? That would work for two levels of searching only, unless I'd
start copying messages around or so ... which I could do to begin
with. Hmm. But is there a better way?


-- 
http://en.wikipedia.org/wiki/Posting_style