movemail [option...] inbox destfile [remote-password]
The first argument, inbox, is the url (see URL (Editor’s note: dangling link)) of
the source mailbox. The second argument, destfile, traditionally
means destination file, i.e. the UNIX mailbox to copy messages
to. However, mailutils movemail
extends the meaning of this
parameter. You may actually specify any valid URL as
destfile parameter.1. Finally, optional third argument is a traditional way of
specifying user passwords for remote (POP or IMAP)
mailboxes.
Following is the summary of available command line options:
Output information used by Emacs rmail interface
Continue moving messages after an error occurs.
Preserve the source mailbox
Set program identifier for diagnostic purposes. See program-id, for a detailed discussion of this feature.
Reverse the sorting order
Enable (default) or disable TLS support
Use UIDLs to avoid downloading the same message twice.
Define list of methods for setting ownership of the destination
mailbox. See mailbox-ownership-methods, for a description of
method-list. This option is useful only when running
movemail
as root.
Increase verbosity level.