xref: /freebsd/share/man/man5/mailer.conf.5 (revision daf1cffce2e07931f27c6c6998652e90df6ba87e)
1.\"	$NetBSD: mailer.conf.5,v 1.2 1999/05/29 18:18:30 christos Exp $
2.\"
3.\" Copyright (c) 1998
4.\" 	Perry E. Metzger.  All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" 3. All advertising materials mentioning features or use of this software
15.\"    must display the following acknowledgment:
16.\"	This product includes software developed for the NetBSD Project
17.\"	by Perry E. Metzger.
18.\" 4. The name of the author may not be used to endorse or promote products
19.\"    derived from this software without specific prior written permission.
20.\"
21.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
22.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
23.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
24.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
25.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
26.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31.\"
32.\" The following requests are required for all man pages.
33.Dd December 16, 1998
34.Dt MAILER.CONF 5
35.Os
36.Sh NAME
37.Nm mailer.conf
38.Nd configuration file for
39.Xr mailwrapper 8 .
40.Sh DESCRIPTION
41.Pp
42The file
43.Pa /etc/mailer.conf
44contains a series of pairs. The first member of each pair is the name
45of a program invoking
46.Xr mailwrapper 8
47which is typically a symbolic link to
48.Pa /usr/sbin/sendmail .
49(On a typical system,
50.Xr newaliases 1
51and
52.Xr mailq 1
53would be set up this way.)
54The second member of each pair is the name of the program to
55actually execute when the first name is invoked. The file may also
56contain comments, denoted by a # mark in the first column of any line.
57.Sh EXAMPLES
58The following is an example of how to set up an
59.Nm
60for traditional sendmail invocation behavior.
61.Bd -literal
62# Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail
63sendmail	/usr/libexec/sendmail/sendmail
64send-mail	/usr/libexec/sendmail/sendmail
65mailq		/usr/libexec/sendmail/sendmail
66newaliases	/usr/libexec/sendmail/sendmail
67.Ed
68.Pp
69This example shows how to invoke the fictitious "newmail" program in
70place of sendmail.
71.Bd -literal
72# Emulate sendmail using postfix
73sendmail	/usr/libexec/postfix/sendmail
74send-mail	/usr/libexec/postfix/sendmail
75mailq		/usr/libexec/postfix/sendmail
76newaliases	/usr/libexec/postfix/sendmail
77.Ed
78.Sh FILES
79/etc/mailer.conf
80.Sh SEE ALSO
81.Xr mail 1 ,
82.Xr mailq 1 ,
83.Xr mailwrapper 8 ,
84.Xr newaliases 1 ,
85.Xr sendmail 8 .
86.Sh HISTORY
87.Nm
88appeared in
89.Nx 1.4 .
90.Sh AUTHORS
91Perry E. Metzger <perry@piermont.com>
92.Sh BUGS
93The entire reason this program exists is a crock. Instead, a command
94for how to submit mail should be standardized, and all the "behave
95differently if invoked with a different name" behavior of things like
96.Xr mailq 1
97should go away.
98