GNU Mailutils |
|
General-Purpose Mail Package |
Official GNU Software |
movemail [option...] inbox destfile [password]
The first argument, inbox, is the url (see Mailbox) 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.3.
For compatibility with older implementations of movemail
,
the source argument can also have the form:
po:username[:pop-server]
where pop-server is the IP address or hostname of a POP3 server to connect to and username is the name of the user on that server. The password is then supplied by the third argument.
It is equivalent to the following URL:
pop://username[:password]@pop-server
In fact, whenever source refers to a remote mailbox, the password argument can be used to pass the password. However, the safer ticket method is of course preferred.
Options are one or more of the following:
Output information used by Emacs rmail
interface.
Try to continue after errors.
Process at most count messages.
Enable biff notification.
What to do on errors. See onerror statement, for a description of kw.
Control mailbox ownership. modelist is a comma-separated list of one or more ownership change methods. See mailbox-ownership-methods, for a description of available methods.
This option is useful only when running movemail
as root.
Don’t remove transferred messages from the source mailbox.
Set program identifier for diagnostics (default: the program name). See movemail-program-id, for a description of its argument.
Reverse the order of retrieved messages.
Use UIDLs to avoid downloading the same message twice.
Increase verbosity level.
The common options are also understood (see Common Options).
This document was generated on January 2, 2022 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.