From owner-man-jp-reviewer@jp.freebsd.org  Mon Apr  3 03:58:40 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id DAA93537;
	Mon, 3 Apr 2000 03:58:40 +0900 (JST)
	(envelope-from owner-man-jp-reviewer@jp.FreeBSD.org)
Received: from ccgwy2.hc.cc.keio.ac.jp (ccgwy2.hc.cc.keio.ac.jp [131.113.234.10])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id DAA93532
	for <man-jp-reviewer@jp.freebsd.org>; Mon, 3 Apr 2000 03:58:39 +0900 (JST)
	(envelope-from takt@via2000.net)
Received: from SAKURA (ppp130.dialup.st.keio.ac.jp [131.113.27.130])
	by ccgwy2.hc.cc.keio.ac.jp (8.9.1+3.0W/3.7W/hc_cc_mailserver2.0) with SMTP id DAA16180;
	Mon, 3 Apr 2000 03:58:32 +0900 (JST)
Date: Mon, 03 Apr 2000 03:59:11 +0900
From: Takt MIYAMOTO <takt@via2000.net>
To: man-jp-reviewer@jp.freebsd.org
Message-Id: <38E7987F242.57C1TAKT@ms.hc.cc.keio.ac.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
X-Mailer: Becky! ver 1.25.07
Reply-To: man-jp-reviewer@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: man-jp-reviewer 2114
Subject: [man-jp-reviewer 2114] mailwrapper.8
Errors-To: owner-man-jp-reviewer@jp.freebsd.org
Sender: owner-man-jp-reviewer@jp.freebsd.org
X-Originator: takt@via2000.net

$B$O$8$a$^$7$F!"$3$s$K$A$o$"!#(B
$B$?$/$H!w$*$5$J$N$G$7$G$9!#(B


mailwrapper.8 $B$N=iLu$G$9!#(B


 .Dd December 16, 1998
-.Dt MAILWRAPPER 8
+.Dt mailwrapper 8
 .Os
-.Sh NAME
+.Sh $BL>>N(B
 .Nm mailwrapper
-.Nd invoke appropriate MTA software based on configuration file
+.Nd $B@_Dj%U%!%$%k$K$7$?$,$C$FE,@Z$J(B MTA $B%=%U%H%&%'%"$r5/F0$9$k!#(B
-.Sh SYNOPSIS
+.Sh $B=q<0(B
-Special. See below.
+$B0J2<$r;2>H$N$3$H!#(B
-.Sh DESCRIPTION
+.Sh $B2r@b(B
-At one time, the only Mail Transfer Agent (MTA) software easily available
-was
+$B$+$D$F!"MF0W$K;H$&$3$H$N$G$-$kM#0l$N%a!<%kE>Aw%(!<%8%'%s%H(B (MTA) $B$O(B
 .Xr sendmail 8 .
+$B$N$_$G$7$?!#$3$N$?$a!"$?$H$($P(B
-As a result of this, most Mail User Agents (MUAs) such as
 .Xr mail 1
+$B$N$h$&$K!"$[$H$s$I$N%a!<%k%f!<%6%(!<%8%'%s%H(B (MUA) $B$O(B
-had the path and calling conventions expected by
 .Xr sendmail 8
-compiled in.
+$B$K$h$C$F4|BT$5$l$k%Q%9$H8F$S=P$75,B'$r;}$C$F$$$^$7$?!#(B
 .Pp
-Times have changed, however.
-On a modern
+$B$7$+$7;~Be$OJQ$o$j$^$7$?!#8=:_$N%7%9%F%`$K$*$$$F!"4IM}<T$O(B
 .Nx
-system, the administrator may wish to use one of several
-available MTAs.
+$B$$$/$D$+F~<j2DG=$J(B MTA $B$N$J$+$+$i9%$-$J$b$N$r;H$$$?$$$H;W$&$+$b$7$l$^$;$s!#(B
 .Pp
-It would be difficult to modify all MUA software typically available
-on a system, so most of the authors of alternative MTAs have written
-their front end message submission programs so that they use the same
-calling conventions as
+$B$7$+$7!"A4$F$N(B MUA $B%=%U%H%&%'%"$r%7%9%F%`$GIaDL$K;H$&$3$H$N$G$-$k$h$&$K(B
+$B=$@5$9$k$N$O:$Fq$G$7$g$&!#$=$3$G!"8_49(B MTA $B$N$[$H$s$I$O%U%m%s%H%(%s%I%a%C(B
+$B%;!<%8Ds<(%W%m%0%i%`$rMQ0U$7$F$$$^$9!#$3$l$K$h$j8_49(B MTA $B$O(B
 .Xr sendmail 8
+$B$HF1$88F$S=P$75,B'$r;H$$!"(B
-and may be put into place instead of
-.Xr sendmail 8
-in
 .Pa /usr/sbin/sendmail .
+$B$N(B
+.Xr sendmail 8
+$B$NBe$o$j$KMxMQ$9$k$3$H$,$G$-$^$9!#(B
 .Pp
 .Xr sendmail 8
-also typically has aliases named
+$B$ONc$K$h$C$F!"(B
 .Xr mailq 1
-and
+$B$H(B
 .Xr newaliases 1
-linked to it. The program knows to behave differently when its
+$B$H$$$&%(%$%j%"%9$r;}$A$^$9!#%W%m%0%i%`$O!"$=$N(B
 .Va argv[0]
-is
+$B$,(B
 .Dq mailq
-or
+$B$G$"$k$+(B
 .Dq newaliases
+$B$G$"$k$+$rG'<1$7!"$=$l$>$l$K8+9g$C$?F0:n$r$7$^$9!#(B
-and behaves appropriately. Typically, replacement MTAs provide similar 
-functionality, either through a program that also switches behavior
-based on calling name, or through a set of programs that provide
-similar functionality.
+$BDL>o!"BeBX(B MTA $B$O8F$P$l$?L>A0$K$h$C$F$=$N5sF0$NJQ$($k%W%m%0%i%`$d!"(B
+$B;w$?$h$&$J5!G=$rDs6!$9$k0lO"$N%W%m%0%i%`$N$h$&$J5!G=$rDs6!$7$^$9!#(B
 .Pp
-Although having replacement programs that plug replace
+$B$?$H$(!"$b$C$F$$$k(B
 .Xr sendmail 8
-helps in installing alternative MTAs, it essentially makes the
-configuration of the system depend on hard installing new programs in
+$B$NBeBX%W%m%0%i%`$,8_49(B MTA $B$N%$%s%9%H!<%k$N<j=u$1$r$7$F$/$l$?$H$7$F$b!"(B
+$B$=$l$O4pK\E*$K$O!"(B
 .Pa /usr .
+$B$K%$%s%9%H!<%k$5$l$k?7$7$$%W%m%0%i%`$N!"%O!<%I$K0MB8$7$?%7%9%F%`$N@_Dj$r(B
+$B$7$F$/$l$k$@$1$G$9!#(B
-This leads to configuration problems for many administrators, since
-they may wish to install a new MTA without altering the system
-provided
+$BB?$/$N4IM}<T$O!"?7$7$$(B MTA $B$r(B
 .Pa /usr .
-(This may be, for example, to avoid having upgrade problems when a new 
-version of the system is installed over the old.)
+$B$N%7%9%F%`$rJQ$($:$K%$%s%9%H!<%k$7$?$$$H;W$&$N$G$"$j!"$3$N$3$H$O@_Dj$K(B
+$B4X$9$kLdBj$N860x$H$J$j$^$9!J$3$l$O$*$=$i$/!"$?$H$($P8E$$%7%9%F%`$N>e$K(B
+$B?7$7$$%P!<%8%g%s$N%7%9%F%`$,%$%s%9%H!<%k$5$l$k$H$-$N!"%"%C%W%0%l!<%ILd(B
+$BBj$r2sHr$9$k$?$a$G$7$g$&!K!#(B
-They may also have a shared
+$B$^$?!"J#?t$N%^%7%s$N$"$$$@$G(B
 .Pa /usr
-among several
+$B$r6&M-$7$F$$$k$N$G$"$l$P$d$O$j!"(B
-machines, and may wish to avoid placing implicit configuration
-information in a read-only
 .Pa /usr .
$B$N$J$+$NFI<h$j@lMQ$N@_Dj>pJs$r=q$-49$($k$3$H$OHr$1$?$$$G$7$g$&!#(B
 .Pp
-The
+$B$3$N(B
 .Nm
-program is designed to replace
+$B$O(B
 .Pa /usr/sbin/sendmail
$B$rCV$-49$(!"(B
-and to invoke an appropriate MTA instead of
-.Xr sendmail 8
-based on configuration information placed in
 .Pa /etc/mail/mailer.conf .
$B$K$"$k@_Dj%U%!%$%k$K$7$?$,$C$F(B
+.Xr sendmail 8
+$B$NBe$o$j$NE,@Z$J(B MTA $B$r5/F0$9$k$?$a$K@_7W$5$l$?$b$N$G$9!#(B
-This permits the administrator to configure which MTA is to be invoked on
-the system at run time. 
+$B$3$l$K$h$j4IM}<T$O!"<B9T;~$K$I$N(B MTA $B$,%7%9%F%`$+$i5/F0$5$l$k$Y$-$+$r(B
+$B@_Dj$9$k$3$H$,$G$-$^$9!#(B
-.Sh FILES
+.Sh $B4XO"%U%!%$%k(B
-Configuration for
 .Nm
+$B$N$?$a$N@_Dj$O(B
-is kept in
 .Pa /etc/mail/mailer.conf .
$B$KJ]B8$5$l$F$$$^$9!#(B
 .Pa /usr/sbin/sendmail 
-is typically set up as a symlink to
+$B$OEvA3$J$,$i(B
 .Nm
-which is not usually invoked on its own.
+$B$X$N%7%s%\%j%C%/%j%s%/$K$J$j!"$=$lC1BN$G$OIaDL$K5/F0$G$-$^$;$s!#(B
-.Sh DIAGNOSTICS
+.Sh $B?GCG(B
-.Nm
-will return an error value and print a diagnostic if its configuration 
-file is missing or malformed, or does not contain a mapping for the
-name under which
-.Nm
-was invoked.
+$B@_Dj%U%!%$%k$,8+$D$+$i$J$+$C$?$j!"$=$NFbMF$,ITE,@Z$G$"$C$?$j!"(B
+.Nm
+$B$,5/F0$5$l$?L>A0$K$D$$$F$N@_Dj$,=q$+$l$F$$$J$$$H$-!"(B
+.Nm
+$B$O%(%i!<$rJV$7!"%a%C%;!<%8$rI=<($7$^$9!#(B
-.Sh SEE ALSO
+.Sh $B4XO"9`L\(B
 .Xr mail 1 ,
 .Xr mailq 1 ,
 .Xr newaliases 1 ,
 .Xr mailer.conf 5 ,
 .Xr sendmail 8 .
-.Sh HISTORY
+.Sh $BNr;K(B
 .Nm
-first appeared in
+$B$O(B
 .Nx 1.4
+$B$K$O$8$a$FEP>l$7!"(B
-and then
 .Fx 4.0 .
+$B$K0\?"$5$l$^$7$?!#(B
-.Sh AUTHORS
+.Sh $B:n<T(B
 Perry E. Metzger <perry@piermont.com>
-.Sh BUGS
+.Sh $B%P%0(B
-The entire reason this program exists is a crock. Instead, a command
-for how to submit mail should be standardized, and all the "behave
-differently if invoked with a different name" behavior of things like
+$B$3$N%W%m%0%i%`$O>C6KE*$JM}M3$K$h$jB8:_$7$F$$$^$9!#%a!<%k$NAw?.J}K!$O(B
+$BI8=`2=$5$l$k$Y$-$G$"$j!"(B
 .Xr mailq 1
-should go away.
+$B$N$h$&$K!"!V0[$J$kL>A0$G5/F0$5$l$?$H$-0[$J$kF0:n$r$9$k!W$b$N$OGS=|(B
+$B$5$l$k$Y$-$G$9!#(B
_______________________________________________________
 Takt MIYAMOTO   http://www.hc.cc.keio.ac.jp/~fr972266/
 takt@via2000.net
Department of Applied Physics and Physico-Informatics
Faculty of Science and Technology, Keio University
