X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=mymail.1;h=93ef57bf344dd5a3102eff383f94fb0f06003533;hb=376f3999a52654ea1480d9464e74225fbf7291fc;hp=6caa8ea8b03aacac88ace2a3e06432dadf9f425d;hpb=fc07a3d96c0208b319ac9cef9ffe5cc72632c00a;p=mymail.git diff --git a/mymail.1 b/mymail.1 index 6caa8ea..93ef57b 100644 --- a/mymail.1 +++ b/mymail.1 @@ -51,7 +51,7 @@ set the mbox filename pattern for recursive search matching mails in the db file. Multiple search requests can be combined, and only mails fulfilling all of them will be extracted. .TP -\fB-d \fR, \fB--db-file-generate \fR +\fB-d \fR, \fB--db-file-output \fR set the db filename for indexing .TP \fB-i\fR, \fB--index\fR @@ -78,7 +78,7 @@ defaut value for the --db-root argument defaut value for the --db-list argument .TP \fBMYMAIL_DB_FILE\fR -defaut value for the --db-file-generate argument +defaut value for the --db-file-output argument .SH "SEARCH CONDITIONS" @@ -112,10 +112,9 @@ condition requires to read the original mboxes completely, which can be slow. However, header conditions are checked first to read the bodies only for mails which fulfill them entirely. .TP -\fB8h\fR, \fB24h\fR, \fB48h\fR, \fBweek\fR, \fBmonth\fR, and -\fByear\fR -selects mails received during the last 8, 24, 24, 48, 7 * 24 hours, 31 * -24 hours, and 365 * 24 hours respectively. +\fB8h\fR, \fB24h\fR, \fB48h\fR, \fBweek\fR, \fBmonth\fR, \fBtrimester\fR, +and \fByear\fR selects mails received during the last 8, 24, 24, 48, 7 +* 24 hours, 31 * 24 hours, 92 * 24 hours, and 365 * 24 hours respectively. .TP \fBtoday\fR selects mails received since midnight. @@ -132,7 +131,7 @@ The command .P .nf -.B mymail --db-file-generate /tmp/mymail/2010-2011/mymail.db \e +.B mymail --db-file-output /tmp/mymail/2010-2011/mymail.db \e .B \ \ \ \ \ \ \ --index \e .B \ \ \ \ \ \ \ ~/archives/mails/2010 ~/archives/mails/2011 @@ -157,6 +156,17 @@ will search in all the database files *.db located (recursively) in recipient, without "spam" in the subject, received over the last 31 days, and create an mbox file /tmp/mymail/mbox. +.SH "FILES" + +The configuration file is by default ${HOME}/.mymailrc and can also be +specificied through the MYMAILRC environment variable. + +It allows to define aliases of search keys, such as: + +.P +.nf +.B alias tod=today + .SH "BUGS" The search in the mail bodies does not decode mimencoding mails, hence