copy-mailbox

Copy mail from one location to another, perhaps converting formats The source mail is specified with the --source flag, and the destination with the --dest parameter. Both must be followed by a full path, which can end with a / to indicate that it is in Maildir format. By default email is just coped, but the --delete flag can be given to have it moved instead. Command line help virtualmin copy-mailbox --source file --dest file [--delete]

Copy mail from one location to another, perhaps converting formats#

The source mail is specified with the --source flag, and the destination with the --dest parameter. Both must be followed by a full path, which can end with a / to indicate that it is in Maildir format.

By default email is just coped, but the --delete flag can be given to have it moved instead.

Command line help#

virtualmin copy-mailbox --source file
 --dest file
 [--delete]

Source: https://www.virtualmin.com/docs/development/api-programs/copy-mailbox/

  • virtualmin, email, mail, mailbox, command line, copy
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...