summaryrefslogtreecommitdiff
path: root/debian/sensible_mda/sensible-mda.8
blob: 622d50f8c6d2bc532a3a5eae84e01905aea59529 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
.\" Copyright (c) 1998, 1999 Richard A Nelson <cowboy@debian.org>
.\"      All rights reserved.
.\"
.\" You may distribute under the terms of the GNU General Public
.\" License
.\"
.\"     $Id: sensible-mda.8,v 2.0 1999/10/21 11:30:00 cowboy Exp $
.\"
.TH SENSIBLE-MDA 8 "October 21 1999"
.UC 4
.SH NAME
sensible\-mda \- a generic local MDA router for Debian systems
.SH SYNOPSIS
.B sensible\-mda
.IR from
.IR to
.IR detail
.IR client\-addr
.br
.SH DESCRIPTION
.B sensible\-mda
is used to simplify the installation and configuration of 
.BR sendmail (8)
, or other MTAs for use on Debian systems.  With sensible\-mda, sendmail 
can support a plethora of MDAs (procmail, maildrop, deliver, etc.) without 
having  pick any
.I one
of them as required.
.LP
.SH FUNCTION
.B sensible\-mda
is called by sendmail as a local mailer when the following exists in
sendmail.mc:
.br
.I define(`LOCAL_MAILER_ARGS', `sensible-mda $g $u $h ${client_addr}')dnl
.LP
sensible-mda
will look for the following MDAs (in this order), and pass the mail
on to the first SUID MDA found (Or first found MDA, if run w/euid=root):
.BR procmail (1),
.BR maildrop (1),
.BR deliver (8),
.BR mail.local (8)
.LP
.SH OPTIONS
Available command line options are the following:
.TP
.I from
The sender of this email
(sendmail $g variable)
.TP
.I to
The recipient of this email
(sendmail $u variable)
.TP
.I detail
The detail portion of the recipient userid
(sendmail $h variable)
\- ie:
.br
cowboy\+\fIsendmail\fP@debian.org
.TP
.I client\-addr
TCP/IP address of the sender
(sendmail ${client_addr} variable)
Not used (for the nonce)
.SH FILES
.TP
.I /etc/mail/sendmail.mc
sendmail m4 input to generate sendmail.cf
.TP
.I /etc/mail/sendmail.cf
actual sendmail configuration file (treated as a binary file)
.SH "SEE ALSO"
.BR sendmail (8),
.BR procmail (1),
.BR maildrop (1),
.BR deliver (8),
.BR mail.local (8)
.br
.SH BUGS
None known so far.
.SH AUTHOR
Richard Nelson <cowboy@debian.org>
.SH HISTORY