RCVPACK(1)
π RCVPACK(1) β the General Commands Manual's own little mail-stuffer π
okay so bestie, welcome to rcvpack, straight out of the General Commands Manual section 1 lineup πΈ she's a tiny lil utility whose whole personality is: take an email off standard input, yeet a copy of it onto the end of a file. that's it. that's the gig. and honestly? she ate. π
β¨ NAME β¨
rcvpack β appends an email from standard input to a file π₯β‘οΈπ
π¦ SYNOPSIS π¦
/usr/libexec/nmh/rcvpack [-help] [-version] file [-mbox] [-mmdf]
π DESCRIPTION π
so like, rcvpack appends a copy of a message to the file you name on its command line. you feed her the message on standard input, she drops it at the bottom of the file, done, no notes. β¨
now, the delimiter situation β because messages in a file need to know where one ends and the next begins, and she has two whole aesthetics for that:
- if you hand her the
-mboxswitch (and btw, this is the default, she's already dressed like this), messages get separated by mbox (uucp) style delimiters. this is the format most mail clients rock βelm,mailx, etc. π - alternatively, if you give her
-mmdfinstead, messages get separated by mmdf style delimiters, where each message is separated by four CTRL-A's and a newline. yes. four. count 'em. π
and here's the part that's lowkey iconic: rcvpack will correctly lock and unlock the file to serialize access when you're running multiple copies of rcvpack at the same time. no two instances stepping on each other's toes. she's a considerate queen π«Ά
heads up though: in general,rcvpackhas been rendered obsolete by thefileaction ofslocal. sad but true π althoughβ¦ she may still have some use in shell scripts. so if that's your vibe, she's still here for you. π§
π FILES π
/etc/nmh/mts.confβ the nmh mts configuration file β
π SEE ALSO π
go say hi to her sisters, they're all cute π
π BUGS π
okay so not everything is slay. only two return codes are actually meaningful, and honestly? the others should be. they're just out here vibing with no purpose π fr fr.
nmh-1.8 Β· 1999-04-30 β yeah she's a vintage baddie and she's been serving since the nineties, periodt. πβ¨π
π¦ where this page comes from
- alpine 3.24: nmh-doc 1.8-r3 Β· BSD-3-Clause
- epel 10: nmh 1.8-3.el10_1 Β· BSD
- epel 9: nmh 1.8-1.el9 Β· BSD
- fedora 43: nmh 1.8-9.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: nmh 1.8-10.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms