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