-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathemail2page.conf
More file actions
26 lines (26 loc) · 864 Bytes
/
Copy pathemail2page.conf
File metadata and controls
26 lines (26 loc) · 864 Bytes
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
# This file describes how an email message will be rewritten for paging
# by the 'email2page' too.
#
# How many lines of the body to actually filter (0=unlimited)
maxlines:200
# What to start the page with (must be in quotes)
prefix:"|"
# What to end the page with (must be in quotes)
suffix:"-STOP-"
# How matched results should be joined (must be in quotes)
headerjoin:"|"
# How the headers and body should be joined (must be in quotes)
headbodyjoin:"|"
#
# List of header regexs, if any.
# Only headers that get matched/changed are included in the final page.
header:s/^Subject:\s+(.*)/S:$1/i;
header:s/^From:\s+(.*)/F:$1/i;
# rewrite all headers to their first three letters in their tag
#header:s/^([^:]{1,3})[^:]*:(.*)/$1:$2/;
# to leave all headers intact
#header:s/^(.*)/$1/;
#
# List of body substitutions, if any
# drop all blank lines
#body:s/^\s*$//g;