| IMBOX(1) | General Commands Manual | IMBOX(1) |
NAME
imbox — IMAP to
mbox
SYNOPSIS
imbox |
[-HUisvw] [-C
cc] [-F
from] [-M
mailbox] [-S
subject] [-T
to] [-h
host] [-m
mailbox] [-p
port] user |
DESCRIPTION
Theimbox utility exports messages from an IMAP mailbox
to the mboxrd format on standard output. Messages matching the criteria set by
-CFSTU are exported.
IMAP over TLS without STARTTLS is assumed. IMAP login is performed
as user with a password read from
/dev/tty, or standard input if
-w is used.
The arguments are as follows:
-Ccc- Export messages with matching
Ccheaders. -Ffrom- Export messages with matching
Fromheaders. -H- Export only the message headers.
-Mmailbox- Move matching messages to mailbox after exporting them.
-Ssubject- Export messages with matching
Subjectheaders. -Tto- Export messages with matching
Toheaders. -U- Export only unseen messages.
-hhost- Connect to IMAP on host. The default host is determined by SRV record lookup on the domain name of user, or simply the domain name if no SRV record exists.
-i- If no messages initially match the criteria, wait for new messages using IMAP IDLE.
-mmailbox- Export messages from mailbox. The default mailbox is INBOX.
-pport- Connect to IMAP on port. If the
-hoption is used, the default port isimaps(993). Otherwise, the port is determined in the same fashion as the host. -s- Mark exported messages as seen.
-v- Log IMAP protocol to standard error.
-w- Read the password from standard input.
EXAMPLES
imbox -T list+imbox@causal.agency june@causal.agency
SEE ALSO
STANDARDS
- M. Crispin, INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1, IETF, RFC 3501, https://tools.ietf.org/html/rfc3501, March 2003.
- L. Esibov, A. Gulbrandsen, and P. Vixie, A DNS RR for specifying the location of services (DNS SRV), IETF, RFC 2782, https://tools.ietf.org/html/rfc2782, February 2000.
- A. Gulbrandsen, Internet Message Access Protocol (IMAP) - MOVE Extension, IETF, RFC 6851, https://tools.ietf.org/html/rfc6851, January 2013.
- E. Hall, The application/mbox Media Type, IETF, RFC 4155, https://tools.ietf.org/html/rfc4155, September 2005.
- P. Mockapetris, DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION, IETF, RFC 1035, https://tools.ietf.org/html/rfc1035, November 1987.
AUTHORS
June McEnroe <june@causal.agency>
BUGS
Send mail to
<list+imbox@causal.agency>
or join #ascii.town on
irc.tilde.chat.
| June 5, 2021 | OpenBSD 7.8 |