-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
39 lines (34 loc) · 1.89 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Usage: ./mailseek [options] [files]
Options:
--no-recursive Do not dive into directories, default is recursive
--verbose Provide verbose output on STDERR
--debug Provide debug output on STDERR
--null Separate file names by NUL chars, default is newline
--details Print some headers, not only the file name
--case Case sensitive match, default is case insensitive
--any Succeed if any criterion matches,
by default all criteria must match
--filetime Date-time filtering is based on file's mtime,
not on Email headers (faster)
Filter options:
--newer, --older DATETIME Consider Date, Delivery-Date, Received headers
--sender PATTERN From, Sender, Originator, Return-Path, Received
--recipient PATTERN To, Cc, Bcc, Delivered-To, Received
--subject PATTERN Subject, Thread-Topic
--attachment PATTERN Search in name of attachments (Email parts)
--mime PATTERN/PATTERN MIME type (type/subtype) of Email parts
--header HEADER[:PATTERN] Search for arbitrary header name
and optionally for its content
--body FTSEARCH Body text (plain text and html are supported)
Formats:
DATETIME "YYYY-mm-dd_HH:MM:SS" - Meant in your timezone.
Omitting less significant quantifiers makes them behave wildcard.
PATTERN a) simple string - match substring (see --case)
b) "~REGEX" - match regexp if PATTERN starts with tilde
HEADER a) simple string - match exact string
b) "~REGEX" - match regexp just like PATTERN
FTSEARCH Fulltext search expression, see Search::Fulltext(3pm)
PATTERN and HEADER are optionally prefixed by '!' which inverts results.
HEADER and --mime matching are always case insensitive.
# issues
Please submit issues via PR to some file `issue/TITLE.txt`.