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