SFEED_MBOX(1)
π SFEED_MBOX β okay bestie, let's turn your feeds into mail π
This is the sfeed_mbox manual page, and she's giving mailbox glow-up energy. Buckle up π
β¨ SYNOPSIS β¨
sfeed_mbox [file ...]
πΈ DESCRIPTION πΈ
So here's the tea, bestie: sfeed_mbox takes feed data (that's TSV, the tab-separated situation) from sfeed(1) β either off of stdin or from each file you hand it β and formats it to stdout in the mboxrd format. Slay. π
A couple things to know about how the feed name works, and this is lowkey important:
- If you pass one or more file arguments, then the basename of the file becomes the feed name in the output. Iconic.
- If you pass no file arguments and the data just comes from stdin, then the feed name is empty. She's mysterious. She's giving nothing.
And then? That mbox data can get further processed by tools like procmail(1) or fdm(1), for example. The README file has some examples if you wanna peek π
π·οΈ CUSTOM HEADERS π·οΈ
To make further filtering simpler, some custom headers get set. It's giving organized. Periodt:
X-Feednameβ the feed name, which is the basename of the feed file. ποΈX-RSS-Authorβ the item author, if it is set.X-RSS-Enclosureβ the item, first enclosure, if it is set.X-RSS-IDβ the RSS item GUID or Atom id, if it is set.X-RSS-TAGSβ the category field, where the'|'separator is replaced by a comma (','). No cap.X-RSS-URLβ the item link, if it is set. π
π ENVIRONMENT VARIABLES π
SFEED_MBOX_CONTENTβ include the content. β οΈ Now listen: 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) plus 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@localhost>".
π«Ά bestie please read the SFEED_MBOX_CONTENT one again. Insecure mail clients + HTML = chaos. She said what she said.
π¦ EXIT STATUS π¦
The sfeed_mbox utility exits 0 on success, and >0 if an error occurs. Simple as that. π
π 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)
Go read them, they're the supporting cast and they ate. π
π AUTHORS π
Hiltjo Posthuma <hiltjo@codemadness.org>
And that's the whole page, bestie β Debian edition, dated December 26, 2025. SFEED_MBOX(1), main character of the General Commands Manual. Mwah πβ¨
π¦ where this page comes from
- alpine 3.24: sfeed-doc 2.4-r0 Β· ISC
- nixos 26.05: sfeed 2.4
- nixpkgs unstable: sfeed 2.4
- ubuntu resolute: sfeed 2.3-1 Β· ISC
- ubuntu stonking: sfeed 2.3-1 Β· ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms