The following configuration file statements affect the behavior of
movemail:
If bool is ‘true’, do not remove messages from the source mailbox.
If bool is ‘true’, reverse message sorting order.
If bool is ‘true’, output information used by Emacs rmail interface.
Continue moving messages after errors. By default,
mailfromd exits immediately if it cannot copy a message.
Set program identifier, i.e. a string which will prefix all diagnostic messages issued by the program. By default, program name is used.
The fmt is a format string that may contain references to the following variables (see Variables):
prognameThe program name.
sourceURL of the source mailbox.
source_userUser part of the source mailbox URL.
source_hostHost part of the source mailbox URL.
source_pathPath part of the source mailbox URL.
destURL of the destination mailbox
dest_userUser part of the destination mailbox URL.
dest_hostHost part of the destination mailbox URL.
dest_pathPath part of the destination mailbox URL.
Setting program-id may be necessary if several movemail
instances are run simultaneously (e.g. invoked from a script) to
discern between the instances. For example:
program-id "${progname}: ${source} => ${dest}"
Avoid copying the message if a message with the same UIDL already exists in the destination mailbox.
Set verbosity level.
Define list of methods for setting ownership of the destination mailbox. The method-list argument can contain the following elements:
Copy owner UID and GID from the source mailbox. This method works only with local mailboxes, i.e.: ‘mbox’ (UNIX mailbox), ‘maildir’ and ‘mh’.
Get owner name from the source mailbox URL and obtain UID and GID for this user using mailutils authorization methods.
Set supplied uid and gid. If gid is not supplied, it is read from the /etc/passwd record for this UID.
Make destination mailbox owned by user.
Defines upper limit on the number of moved messages. Movemail will stop after transferring count messages.
By default, the number of messages is not limited.
Defines what to do if an error occurs when transferring a message. actions is a list of one or more of the following keywords:
Abort the transfer and terminate the program. This is the default action.
Skip to the next message.
Delete the affected message.
Count this message as processed.
Each keyword can be prefixed with ‘no’ to reverse its meaning.
The following standard Mailutils statements are supported:
| Statement | Reference |
|---|---|
| debug | See debug statement. |
| tls | See tls statement. |
| mailbox | See mailbox statement. |
| locking | See locking statement. |
| pam | See pam statement. |
| sql | See sql statement. |
| virtdomain | See virtdomain statement. |
| radius | See radius statement. |
| ldap | See ldap statement. |
| auth | See auth statement. |