git » chasquid » next » tree

[next] / docs / man / mda-lmtp.1

.\" -*- mode: troff; coding: utf-8 -*-
.\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
.ie n \{\
.    ds C` ""
.    ds C' ""
'br\}
.el\{\
.    ds C`
.    ds C'
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\"
.\" If the F register is >0, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD.  Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.\"
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{\
.    if \nF \{\
.        de IX
.        tm Index:\\$1\t\\n%\t"\\$2"
..
.        if !\nF==2 \{\
.            nr % 0
.            nr F 2
.        \}
.    \}
.\}
.rr rF
.\" ========================================================================
.\"
.IX Title "mda-lmtp 1"
.TH mda-lmtp 1 2018-04-02 "" ""
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH NAME
mda\-lmtp \- MDA that uses LMTP to do the mail delivery
.SH SYNOPSIS
.IX Header "SYNOPSIS"
mda-lmtp
[\fB\-addr_network\fR \fInet\fR]
\&\fB\-addr\fR \fIaddr\fR
\&\fB\-d\fR \fIrecipient\fR
\&\fB\-f\fR \fIfrom\fR
.SH DESCRIPTION
.IX Header "DESCRIPTION"
mda-lmtp is a very basic MDA that uses LMTP to do the mail delivery.
.PP
It takes command line arguments similar to maildrop or procmail, reads an
email via standard input, and sends it over the given LMTP server.  Supports
connecting to LMTP servers over UNIX sockets and TCP.
.PP
It can be used when your mail server does not support LMTP directly.
.SH EXAMPLE
.IX Header "EXAMPLE"
\&\fBmda-lmtp\fR \fI\-\-addr=localhost:1234\fR \fI\-f juan@casa\fR \fI\-d jose\fR < email
.SH OPTIONS
.IX Header "OPTIONS"
.IP "\fB\-addr\fR \fIaddress\fR" 8
.IX Item "-addr address"
LMTP server address to connect to.
.IP "\fB\-addr_network\fR \fInetwork\fR" 8
.IX Item "-addr_network network"
Network of the LMTP address (e.g. \fIunix\fR or \fItcp\fR). If not present, it will
be autodetected from the address itself.
.IP "\fB\-d\fR \fIrecipient\fR" 8
.IX Item "-d recipient"
Recipient.
.IP "\fB\-f\fR \fIfrom\fR" 8
.IX Item "-f from"
Whom the message is from.
.SH "RETURN VALUES"
.IX Header "RETURN VALUES"
.IP \fB0\fR 8
.IX Item "0"
success
.IP \fB75\fR 8
.IX Item "75"
temporary failure
.IP \fIother\fR 8
.IX Item "other"
permanent failures (usually indicate misconfiguration)
.SH "SEE ALSO"
.IX Header "SEE ALSO"
\&\fBchasquid\fR\|(1)