]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man5/mailer.conf.5
This commit was generated by cvs2svn to compensate for changes in r157191,
[FreeBSD/FreeBSD.git] / share / man / man5 / mailer.conf.5
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 .\" $FreeBSD$
33 .\"
34 .Dd December 16, 1998
35 .Dt MAILER.CONF 5
36 .Os
37 .Sh NAME
38 .Nm mailer.conf
39 .Nd configuration file for
40 .Xr mailwrapper 8
41 .Sh DESCRIPTION
42 The file
43 .Pa /etc/mail/mailer.conf
44 contains a series of pairs.
45 The first member of each pair is the name
46 of a program invoking
47 .Xr mailwrapper 8
48 which is typically a symbolic link to
49 .Pa /usr/sbin/sendmail .
50 (On a typical system,
51 .Xr newaliases 1
52 and
53 .Xr mailq 1
54 would be set up this way.)
55 The second member of each pair is the name of the program to
56 actually execute when the first name is invoked.
57 The file may also
58 contain comments, denoted by a # mark in the first column of any line.
59 .Sh FILES
60 /etc/mail/mailer.conf
61 .Sh EXAMPLES
62 The following is an example of how to set up an
63 .Nm
64 for traditional sendmail invocation behavior.
65 .Bd -literal
66 # Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail
67 sendmail        /usr/libexec/sendmail/sendmail
68 send-mail       /usr/libexec/sendmail/sendmail
69 mailq           /usr/libexec/sendmail/sendmail
70 newaliases      /usr/libexec/sendmail/sendmail
71 .Ed
72 .Pp
73 This example shows how to invoke a sendmail-workalike like Postfix in
74 place of sendmail.
75 .Bd -literal
76 # Emulate sendmail using postfix
77 sendmail        /usr/local/sbin/sendmail
78 send-mail       /usr/local/sbin/sendmail
79 mailq           /usr/local/sbin/sendmail
80 newaliases      /usr/local/sbin/sendmail
81 .Ed
82 .Sh SEE ALSO
83 .Xr mail 1 ,
84 .Xr mailq 1 ,
85 .Xr newaliases 1 ,
86 .Xr mailwrapper 8 ,
87 .Xr sendmail 8
88 .Sh HISTORY
89 .Nm
90 appeared in
91 .Nx 1.4 .
92 .Sh AUTHORS
93 .An Perry E. Metzger Aq perry@piermont.com
94 .Sh BUGS
95 The entire reason this program exists is a crock.
96 Instead, a command
97 for how to submit mail should be standardized, and all the "behave
98 differently if invoked with a different name" behavior of things like
99 .Xr mailq 1
100 should go away.