X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=mymail.1;h=7d6c963233c21f7c742b9444bf42afc33c8b3b9b;hb=b1fd04286d1c0f0764b5cfb20769bf9d29dde5d1;hp=2bb8d4357c4dc1d9c5bf3c8fb8c4e2dfdfe49fa7;hpb=622b0a6df1bcb8e072facf472e4568609ab2a321;p=mymail.git diff --git a/mymail.1 b/mymail.1 index 2bb8d43..7d6c963 100644 --- a/mymail.1 +++ b/mymail.1 @@ -10,12 +10,12 @@ mymail \- A simple command line utility for indexing and searching mbox files .SH "SYNOPSIS" -\fBmymail\fP [\fIoptions\fR] [\fI\fR [\fI\fR ...]] +\fBmymail\fP [\fIoptions\fR] [\fI\fR [\fI\fR ... ]|\fI\fR [\fI\fR ... ]]\n"); .SH "DESCRIPTION" -\fBmymail\fP is a command line utility for to index mbox files and -perform quick searches based on sender, subject, etc. +\fBmymail\fP is a command line utility to index mbox files and perform +quick searches based on sender, subject, etc. It is similar in spirit to other existing software such as mu or notmuch, but does not use a real database backend to store and query @@ -71,15 +71,22 @@ is prefaced by the character "!" it is negated, and has to be false for a mail to be selected. .TP -\fBf \fR selects mails whose field From, From:, or Reply-To: matches the regexp. +\fBf \fR (from) selects mails whose leading line From, or +fields From:, or Reply-To: matches the regexp. .TP -\fBt \fR selects mails whose field To:, Cc:, or Bcc: matches the regexp. +\fBt \fR (to) selects mails whose field To:, Cc:, or Bcc: matches the regexp. .TP -\fBp \fR selects mails whose field From, From:, Reply-To:, To:, Cc:, or Bcc: matches the regexp. +\fBp \fR (participant) selects mails whose leading line From, +or fields From:, Reply-To:, To:, Cc:, or Bcc: matches the regexp. .TP -\fBs \fR selects mails whose field Subject: matches the regexp. +\fBs \fR (subject) selects mails whose field Subject: matches the regexp. .TP -\fBd \fR selects mails whose field Date: matches the regexp. +\fBd \fR (date) selects mails whose field Date: matches the regexp. +.TP +\fBb \fR (body) selects mails whose body matches the +regexp. This needs to read fully the original mboxes and can take a +long time. Other conditions have to be fulfilled before the body is +read though. .SH "EXAMPLES" @@ -95,7 +102,7 @@ mymail --db-file /tmp/mymail/2010-2011/mymail.db --index ~/archives/mails/2010 ~ To search in all the database files *.db located (recursively) in /tmp/mymail, for all the mails having bob.something as sender or -recipient, without "spam" in the subject, and creating a result mbox +recipient, without "spam" in the subject, and create a result mbox file /tmp/mymail/mbox .RS @@ -106,7 +113,8 @@ mymail --db-pattern '\\.db$' --db-root /tmp/mymail --search 'p bob.something' -- .SH "BUGS" -None known, probably many. +The search in the mail bodies does not decode mimencoding mails, hence +will not catch patterns in encoded text. .SH "AUTHOR"