DOKK / manpages / debian 12 / kuvert / kuvert_submit.1.en
KUVERT_SUBMIT(1) User Commands KUVERT_SUBMIT(1)

kuvert_submit - MTA wrapper for mail submission to kuvert(1)

kuvert_submit [sendmail-options] [recipients...]

Kuvert_submit submits an email either directly to sendmail(8) or enqueues it for kuvert(1) for further processing. kuvert_submit should be called by your MUA instead of your usual MTA 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.

Kuvert_submit transparently invokes "/usr/sbin/sendmail" directly if it cannot find a ~/.kuvert configuration file, or if the -bv option is given. Otherwise, it enqueues the email in the queue directory specified in the configuration file. If that fails or if the configuration file is invalid, kuvert_submit prints an error message to STDERR and terminates with exit code 1. On successful submission, kuvert_submit terminates with exit code 0.

Kuvert_submit also logs messages to syslog with the facility "mail".

If it runs the MTA directly then kuvert_submit passes all options through to /usr/sbin/sendmail. Otherwise, it ignores all options except -f and -t (and -bv which triggers a direct sendmail pass-through).

Sets the envelope sender. Kuvert_submit passes this on to kuvert.
Tells an MTA to use the recipients in the mail instead of any commandline arguments. If -t is not given then kuvert_submit passes the recipients from the commandline on to kuvert.

~/.kuvert
The configuration file read by kuvert and kuvert_submit. If not present, kuvert_submit calls /usr/sbin/sendmail directly.
~/.kuvert_queue
The default queue directory.

kuvert(1)

Alexander Zangerl <az@snafu.priv.at>

copyright 1999-2008 Alexander Zangerl <az@snafu.priv.at>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

2022-02-16 Mail