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:
-C
cc- Export messages with matching
Cc
headers. -F
from- Export messages with matching
From
headers. -H
- Export only the message headers.
-M
mailbox- Move matching messages to mailbox after exporting them.
-S
subject- Export messages with matching
Subject
headers. -T
to- Export messages with matching
To
headers. -U
- Export only unseen messages.
-h
host- 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.
-m
mailbox- Export messages from mailbox. The default mailbox is INBOX.
-p
port- Connect to IMAP on port. If the
-h
option 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.4 |