getmail\_mbox(1) User Commands getmail\_mbox(1)

# [NAME](#NAME)

getmail\_mbox - read a message from stdin and deliver to a named mboxrd-format mbox file with fcntl-style locking.

# [SYNOPSIS](#SYNOPSIS)

**getmail\_mbox** \[*OPTION*] *PATH*

# [DESCRIPTION](#DESCRIPTION)

Deliver a mail message from standard input, to the mboxrd-format mbox file named PATH. PATH must start with a dot or a slash and must not end with a slash. fcntl-type locking is used; if your system requires another type of locking (such as **flock** or **dotlock** ), use an MDA configured for that style of locking instead.

**getmail\_mbox** uses the SENDER environment variable to construct a **Return-Path:** header field and the contents of the RECIPIENT environment variable to construct a **Delivered-To:** header field at the top of the message. SENDER is also used in creating the mbox **From\_** line.

[**--verbose, -v**](#verbose,)

print a status message on success

# [AUTHOR](#AUTHOR)

Written by Charles Cazabon and others.

# [REPORTING BUGS](#REPORTING_BUGS)

Report bugs to &lt;https://github.com/getmail6/getmail6/issues&gt;

# [COPYRIGHT](#COPYRIGHT)

Copyright © 1998-2026 Charles Cazabon and others.  
This is free software; see the file COPYING for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# [SEE ALSO](#SEE_ALSO)

The full documentation for **getmail\_mbox** is maintained in HTML and plaintext formats. See the included files for details.

2026 getmail 6

---

Document: getmail_mbox(1) from getmail6 6.21.00-r1 (Chainguard OS)
Source: https://github.com/getmail6/getmail6
