Previous: Ownership, Up: movemail


2.6.4 Movemail Usage Summary

     movemail [option...] inbox destfile [remote-password]

The first argument, inbox, is the url (see URL) 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:

--emacs
Output information used by Emacs rmail interface
-p
--preserve
--keep-messages
Preserve the source mailbox
-r
--reverse
Reverse the sorting order
--tls[=bool]
Enable (default) or disable TLS support
-u
--uidl
Use UIDLs to avoid downloading the same message twice.
-P method-list
--owner=method-list
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.
-v
--verbose
Increase verbosity level.

Footnotes

[1] Rmail does not use this feature