FreeBSD Manual Pages
SFEED_MBOX(1) General Commands Manual SFEED_MBOX(1) NAME sfeed_mbox -- format feed data to mboxrd SYNOPSIS sfeed_mbox [file ...] DESCRIPTION sfeed_mbox formats feed data (TSV) from sfeed(1) from stdin or for each file to stdout in the mboxrd format. If one or more file arguments are specified then the basename of the file is used as the feed name in the output. If no file arguments are specified and so the data is read from stdin then the feed name is empty. The mbox data can be further processed by tools like procmail(1) or fdm(1) for example. See the README file for some examples. CUSTOM HEADERS To make further filtering simpler some custom headers are set: X-Feedname The feed name, this is the basename of the feed file. X-RSS-Author Item author, if it is set. X-RSS-Enclosure Item, first enclosure, if it is set. X-RSS-ID RSS item GUID or Atom id, if it is set. X-RSS-TAGS Category field, the '|' separator is replaced by a comma (','). X-RSS-URL Item link, if it is set. ENVIRONMENT VARIABLES SFEED_MBOX_CONTENT Include the content. This can be insecure for some of the mail clients that interpret HTML code in an unsafe way. By default this is set to "0". SFEED_MBOX_FROM Override the "From" header. The default is the author of the item (if it has one) and the e-mail "<anonymous@localhost>". Some unsafe characters are removed from the author field. SFEED_MBOX_TO Override the "To" header. The default is "<anonymous@local- host>". EXIT STATUS The sfeed_mbox utility exits 0 on success, and >0 if an error occurs. EXAMPLES Example: sfeed_mbox ~/.sfeed/feeds/* Below is an example to include the content. This can be insecure for some of the mail clients that interpret HTML code in an unsafe way: SFEED_MBOX_CONTENT=1 sfeed_mbox ~/.sfeed/feeds/* SEE ALSO fdm(1), procmail(1), sfeed(1), sfeed(5) AUTHORS Hiltjo Posthuma <hiltjo@codemadness.org> FreeBSD ports 15.quarterly December 26, 2025 SFEED_MBOX(1)
NAME | SYNOPSIS | DESCRIPTION | CUSTOM HEADERS | ENVIRONMENT VARIABLES | EXIT STATUS | EXAMPLES | SEE ALSO | AUTHORS
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=sfeed_mbox&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>
