---
name: "kuvert_mta_wrapper"
section: "1"
platform: "linux"
package: "kuvert"
version: "1.1.10"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/kuvert_mta_wrapper"
---

# kuvert\_mta\_wrapper(1)

wrapper around your MTA for mail submission to kuvert(1)

## NAME

kuvert-mta-wrapper - wrapper around your MTA for mail submission to  [kuvert(1)](/kuvert/1.md)

## SYNOPSIS

**kuvert-mta-wrapper** \[**-options**\] \[*args*\]

## DESCRIPTION

**kuvert\_mta\_wrapper** submits an email either directly to your MTA or enqueues it for  [kuvert(1)](/kuvert/1.md) for further processing.  **kuvert\_mta\_wrapper** should be called by your MUA instead of your usual MTA in order to enable kuvert to intercept and process the outgoing mails. Please see your MUA's documentation about how to override the MTA to be used.

The decision whether queueing or calling the MTA directly is based on  the following factors:

1. If there are options given other than  **-bm**, **-f**, **-i**, **-t**, **-v**, **-oi**, **-od**, **-oe**, the standard MTA  */usr/lib/sendmail* is executed with the options and arguments given. The result code in this case is the one the MTA returns.

2. If there is a configuration file  *~/.kuvert* (See  [kuvert(1)](/kuvert/1.md) for possible configuration directives) the mail is queued for [kuvert(1)](/kuvert/1.md). The options and arguments are ignored. If there are problems, an error message is sent to syslog and -1 is returned.

## FILES

- *~/.kuvert*

  configuration file for  [kuvert(1)](/kuvert/1.md) and [kuvert\_mta\_wrapper(1)](/kuvert_mta_wrapper/1.md).

- *~/.kuvert\_queue*

  the default queue directory for  [kuvert(1)](/kuvert/1.md) if the configuration file does not specify an alternative.

## SEE ALSO

[kuvert(1)](/kuvert/1.md)

## AUTHORS

Alexander Zangerl \<az@snafu.priv.at\>

## BUGS

The list of allowed options and the MTA for fallback are set at compile time. **kuvert\_mta\_wrapper** does log only to syslog at the moment.
