---
name: "dma-migrate"
section: "8"
platform: "linux"
package: "dma-migrate"
version: "0.0.2010.06.17-6"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/dma-migrate"
---

# dma-migrate(8)

convert the DragonFly Mail Agent's queue files

## NAME

**dma-migrate** – convert the DragonFly Mail Agent's queue files

## SYNOPSIS

**dma-migrate** \[**-v**\] \[**-d** *spooldir*\]

**dma-migrate** \[**-h** \| **-V**\]

## DESCRIPTION

The **dma-migrate** utility is used to convert the mail queue files in the [dma(8)](/dma/8.md) spool directory to the latest spool directory format supported by the installed version of [dma(8)](/dma/8.md). Currently it only handles the conversion from a single file containing both message and delivery metadata to the M/Q format.

The following command-line options are available:

- **-d**

  Specify the location of the [dma(8)](/dma/8.md) spool directory, default */var/spool/dma*.

- **-h**

  Display usage information and exit.

- **-V**

  Display program version information and exit.

- **-v**

  Verbose output - display diagnostic messages.

## ENVIRONMENT

The operation of the **dma-migrate** utility is currently not influenced by environment variables.

## FILES

The **dma-migrate** utility looks for the [dma(8)](/dma/8.md) mail queue files in the */var/spool/dma* directory, unless another location is specified by the **-d** command-line option.

## EXIT STATUS

The **dma-migrate** utility will scan the whole spool directory and attempt to convert all suitable files there. If there are no files to be converted, or if all the conversions are successful, it will complete with an exit code of zero. If any conversion errors are encountered, a message will be displayed to the standard error stream and **dma-migrate** will exit with an exit code of 1 after attempting to convert the rest of the suitable files in the spool directory.

## SEE ALSO

[dma(8)](/dma/8.md)

## STANDARDS

No standards documentation was harmed in the process of creating **dma-migrate**.

## BUGS

Please report any bugs in **dma-migrate** to the author.

## AUTHOR

Peter Pentchev ⟨roam@ringlet.net⟩
