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