1*bbf21555SRichard Lowe.\" $NetBSD: mailer.conf.5,v 1.2 1999/05/29 18:18:30 christos Exp $ 2*bbf21555SRichard Lowe.\" 3*bbf21555SRichard Lowe.\" Copyright (c) 1998 4*bbf21555SRichard Lowe.\" Perry E. Metzger. All rights reserved. 5*bbf21555SRichard Lowe.\" 6*bbf21555SRichard Lowe.\" Redistribution and use in source and binary forms, with or without 7*bbf21555SRichard Lowe.\" modification, are permitted provided that the following conditions 8*bbf21555SRichard Lowe.\" are met: 9*bbf21555SRichard Lowe.\" 1. Redistributions of source code must retain the above copyright 10*bbf21555SRichard Lowe.\" notice, this list of conditions and the following disclaimer. 11*bbf21555SRichard Lowe.\" 2. Redistributions in binary form must reproduce the above copyright 12*bbf21555SRichard Lowe.\" notice, this list of conditions and the following disclaimer in the 13*bbf21555SRichard Lowe.\" documentation and/or other materials provided with the distribution. 14*bbf21555SRichard Lowe.\" 3. All advertising materials mentioning features or use of this software 15*bbf21555SRichard Lowe.\" must display the following acknowledgment: 16*bbf21555SRichard Lowe.\" This product includes software developed for the NetBSD Project 17*bbf21555SRichard Lowe.\" by Perry E. Metzger. 18*bbf21555SRichard Lowe.\" 4. The name of the author may not be used to endorse or promote products 19*bbf21555SRichard Lowe.\" derived from this software without specific prior written permission. 20*bbf21555SRichard Lowe.\" 21*bbf21555SRichard Lowe.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 22*bbf21555SRichard Lowe.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 23*bbf21555SRichard Lowe.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 24*bbf21555SRichard Lowe.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 25*bbf21555SRichard Lowe.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 26*bbf21555SRichard Lowe.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27*bbf21555SRichard Lowe.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28*bbf21555SRichard Lowe.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29*bbf21555SRichard Lowe.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30*bbf21555SRichard Lowe.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31*bbf21555SRichard Lowe.\" 32*bbf21555SRichard Lowe.\" $FreeBSD: releng/9.1/share/man/man5/mailer.conf.5 213609 2010-10-08 20:13:12Z markm $ 33*bbf21555SRichard Lowe.\" 34*bbf21555SRichard Lowe.Dd November 11, 2017 35*bbf21555SRichard Lowe.Dt MAILER.CONF 5 36*bbf21555SRichard Lowe.Os 37*bbf21555SRichard Lowe.Sh NAME 38*bbf21555SRichard Lowe.Nm mailer.conf 39*bbf21555SRichard Lowe.Nd configuration file for 40*bbf21555SRichard Lowe.Xr mailwrapper 8 41*bbf21555SRichard Lowe.Sh DESCRIPTION 42*bbf21555SRichard LoweThe file 43*bbf21555SRichard Lowe.Pa /etc/mailer.conf 44*bbf21555SRichard Lowecontains a series of lines of the form 45*bbf21555SRichard Lowe.Pp 46*bbf21555SRichard Lowe.Ar name 47*bbf21555SRichard Lowe.Ar program 48*bbf21555SRichard Lowe.Op Ar arguments ... 49*bbf21555SRichard Lowe.Pp 50*bbf21555SRichard LoweThe first word of each line is the 51*bbf21555SRichard Lowe.Ar name 52*bbf21555SRichard Loweof a program invoking 53*bbf21555SRichard Lowe.Xr mailwrapper 8 . 54*bbf21555SRichard Lowe(For example, on a typical system 55*bbf21555SRichard Lowe.Pa /usr/lib/sendmail 56*bbf21555SRichard Lowewould be a symbolic link to 57*bbf21555SRichard Lowe.Xr mailwrapper 8 , 58*bbf21555SRichard Loweas would 59*bbf21555SRichard Lowe.Xr newaliases 8 60*bbf21555SRichard Loweand 61*bbf21555SRichard Lowe.Xr mailq 1 . 62*bbf21555SRichard LoweThus, 63*bbf21555SRichard Lowe.Ar name 64*bbf21555SRichard Lowemight be 65*bbf21555SRichard Lowe.Dq Li sendmail 66*bbf21555SRichard Loweor 67*bbf21555SRichard Lowe.Dq Li newaliases 68*bbf21555SRichard Loweetc.) 69*bbf21555SRichard Lowe.Pp 70*bbf21555SRichard LoweThe second word of each line is the name of the 71*bbf21555SRichard Lowe.Ar program 72*bbf21555SRichard Loweto actually execute when the first name is invoked. 73*bbf21555SRichard Lowe.Pp 74*bbf21555SRichard LoweThe further 75*bbf21555SRichard Lowe.Ar arguments , 76*bbf21555SRichard Loweif any, are passed to the 77*bbf21555SRichard Lowe.Ar program , 78*bbf21555SRichard Lowefollowed by the arguments 79*bbf21555SRichard Lowe.Xr mailwrapper 8 80*bbf21555SRichard Lowewas called with. 81*bbf21555SRichard Lowe.Pp 82*bbf21555SRichard LoweThe file may also contain comment lines, denoted by a 83*bbf21555SRichard Lowe.Ql # 84*bbf21555SRichard Lowemark in the first column of any line. 85*bbf21555SRichard Lowe.Sh FILES 86*bbf21555SRichard Lowe/etc/mailer.conf 87*bbf21555SRichard Lowe.Sh EXAMPLES 88*bbf21555SRichard LoweThis example shows how to set up 89*bbf21555SRichard Lowe.Nm 90*bbf21555SRichard Loweto invoke the traditional 91*bbf21555SRichard Lowe.Xr sendmail 8 92*bbf21555SRichard Loweprogram: 93*bbf21555SRichard Lowe.Bd -literal -offset indent 94*bbf21555SRichard Lowe# Execute the "real" sendmail program located in 95*bbf21555SRichard Lowe# /usr/lib/smtp/sendmail/sendmail 96*bbf21555SRichard Lowesendmail /usr/lib/smtp/sendmail/sendmail 97*bbf21555SRichard Lowemailq /usr/lib/smtp/sendmail/sendmail 98*bbf21555SRichard Lowenewaliases /usr/lib/smtp/sendmail/sendmail 99*bbf21555SRichard Lowe.Ed 100*bbf21555SRichard Lowe.Sh SEE ALSO 101*bbf21555SRichard Lowe.Xr mail 1 , 102*bbf21555SRichard Lowe.Xr mailq 1 , 103*bbf21555SRichard Lowe.Xr mailwrapper 8 , 104*bbf21555SRichard Lowe.Xr newaliases 8 , 105*bbf21555SRichard Lowe.Xr sendmail 8 106*bbf21555SRichard Lowe.Sh AUTHORS 107*bbf21555SRichard Lowe.An Perry E. Metzger Aq perry@piermont.com 108