---
name: "sfeed_mbox"
section: "1"
platform: "linux"
package: "sfeed"
version: "2.2-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/sfeed_mbox"
---

# sfeed\_mbox(1)

format feed data to mboxrd

## NAME

**sfeed\_mbox** – format feed data to mboxrd

## SYNOPSIS

**sfeed\_mbox** \[*file ...*\]

## DESCRIPTION

**sfeed\_mbox** formats feed data (TSV) from [sfeed(1)](/sfeed/1.md) 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)](/procmail/1.md) or [fdm(1)](/fdm/1.md) 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*.

## 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".

## 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)](/fdm/1.md), [procmail(1)](/procmail/1.md), [sfeed(1)](/sfeed/1.md), [sfeed(5)](/sfeed/5.md)

## AUTHORS

Hiltjo Posthuma ⟨*hiltjo@codemadness.org*⟩
