---
name: "mimedefang-release"
section: "8"
platform: "linux"
package: "mimedefang"
version: "3.6-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mimedefang-release"
---

# mimedefang-release(8)

a tool to release quarantined email messages

## NAME

mimedefang-release - a tool to release quarantined email messages

## DESCRIPTION

[**mimedefang-release**(8)](/mimedefang-release/8.md) is a tool that permits to release quarantined messages or to attach the messages to a new email message.

## SYNOPSIS

```
 mimedefang-release [options] <directory> ...
```

## OPTIONS

```
   -a   enable attach mode, the released email will be sent as an attachment
        to the user.
   -h   display the help
   -d   path to the quarantined directory, it can be an absolute path or
        relative to MIMEDefang quarantine spool directory.
   -s   set a custom subject for the email, this option is valid only
        in attach mode.
   -S   specify an smtp server, in this mode the quarantined email will be
        delivered to the original user without modifications.
   -t   enable TLS when delivering the email in smtp mode.
   -z   compress the quarantined email using Archive::Zip.
        this option is valid only in attach mode.
```

## EXAMPLES

mbox mode:\
   mimedefang-release -s "Message Released" -a -z -d 2023-04-16-14/qdir-2023-04-16-14.36.05-001

smtp mode:\
   mimedefang-release -S 192.168.0.254 -d 2023-04-16-14/qdir-2023-04-16-14.36.05-001

## AUTHOR

[**mimedefang-release**(8)](/mimedefang-release/8.md) was written by Giovanni Bechis \<giovanni@paclan.it\>. The mimedefang home page is \<https://www.mimedefang.org/\>.

## SEE ALSO

[**mimedefang.pl**(8)](/mimedefang.pl/8.md), [**mimedefang-filter**(5)](/mimedefang-filter/5.md), [**mimedefang**(8)](/mimedefang/8.md), [**mimedefang-protocol**(7)](/mimedefang-protocol/7.md), [**watch-mimedefang**(8)](/watch-mimedefang/8.md)
