summaryrefslogtreecommitdiff
path: root/sfeed_mbox.1
blob: ccdb0326b0e8e1d67ca04fbd37171c17863e92d0 (plain)
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
40
41
42
43
.Dd August 5, 2015
.Dt SFEED_MBOX 1
.Os
.Sh NAME
.Nm sfeed_mbox
.Nd format feed data to mboxrd
.Sh SYNOPSIS
.Nm
.Op Ar file...
.Sh DESCRIPTION
.Nm
formats feed data (TSV) from
.Xr sfeed 1
from stdin or
.Ar file
to stdout in the mboxrd format. If one or more
.Ar file
are specified, the basename of the
.Ar file
is used as the feed name in the output. If no
.Ar file
parameters are specified and so the data is read from stdin the feed name
is empty. Lines starting with "From " will be mangled in the mboxrd-style.
The mbox data can be further processed by tools like
.Xr procmail 1
or
.Xr fdm 1
for example. See the README file for some useful examples.
.Sh FORMAT
Depending on the original content\-type the mail will be formatted as
plain-text (text/plain) or HTML (text/html).
.Sh CUSTOM HEADERS
To make further filtering simpler some custom headers are set:
.Bl -tag -width Ds
.It X-Feedname
The feedname (as set in sfeedrc).
.El
.Sh SEE ALSO
.Xr fdm 1 ,
.Xr procmail 1 ,
.Xr sfeed 1
.Sh AUTHORS
.An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org