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