1287247a8SAlexander Pyhalov.\" $NetBSD: mailer.conf.5,v 1.2 1999/05/29 18:18:30 christos Exp $ 2287247a8SAlexander Pyhalov.\" 3287247a8SAlexander Pyhalov.\" Copyright (c) 1998 4287247a8SAlexander Pyhalov.\" Perry E. Metzger. All rights reserved. 5287247a8SAlexander Pyhalov.\" 6287247a8SAlexander Pyhalov.\" Redistribution and use in source and binary forms, with or without 7287247a8SAlexander Pyhalov.\" modification, are permitted provided that the following conditions 8287247a8SAlexander Pyhalov.\" are met: 9287247a8SAlexander Pyhalov.\" 1. Redistributions of source code must retain the above copyright 10287247a8SAlexander Pyhalov.\" notice, this list of conditions and the following disclaimer. 11287247a8SAlexander Pyhalov.\" 2. Redistributions in binary form must reproduce the above copyright 12287247a8SAlexander Pyhalov.\" notice, this list of conditions and the following disclaimer in the 13287247a8SAlexander Pyhalov.\" documentation and/or other materials provided with the distribution. 14287247a8SAlexander Pyhalov.\" 3. All advertising materials mentioning features or use of this software 15287247a8SAlexander Pyhalov.\" must display the following acknowledgment: 16287247a8SAlexander Pyhalov.\" This product includes software developed for the NetBSD Project 17287247a8SAlexander Pyhalov.\" by Perry E. Metzger. 18287247a8SAlexander Pyhalov.\" 4. The name of the author may not be used to endorse or promote products 19287247a8SAlexander Pyhalov.\" derived from this software without specific prior written permission. 20287247a8SAlexander Pyhalov.\" 21287247a8SAlexander Pyhalov.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 22287247a8SAlexander Pyhalov.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 23287247a8SAlexander Pyhalov.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 24287247a8SAlexander Pyhalov.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 25287247a8SAlexander Pyhalov.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 26287247a8SAlexander Pyhalov.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27287247a8SAlexander Pyhalov.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28287247a8SAlexander Pyhalov.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29287247a8SAlexander Pyhalov.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30287247a8SAlexander Pyhalov.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31287247a8SAlexander Pyhalov.\" 32287247a8SAlexander Pyhalov.\" $FreeBSD: releng/9.1/share/man/man5/mailer.conf.5 213609 2010-10-08 20:13:12Z markm $ 33287247a8SAlexander Pyhalov.\" 34287247a8SAlexander Pyhalov.Dd October 8, 2010 35287247a8SAlexander Pyhalov.Dt MAILER.CONF 4 36287247a8SAlexander Pyhalov.Os 37287247a8SAlexander Pyhalov.Sh NAME 38287247a8SAlexander Pyhalov.Nm mailer.conf 39287247a8SAlexander Pyhalov.Nd configuration file for 40287247a8SAlexander Pyhalov.Xr mailwrapper 1M 41287247a8SAlexander Pyhalov.Sh DESCRIPTION 42287247a8SAlexander PyhalovThe file 43287247a8SAlexander Pyhalov.Pa /etc/mailer.conf 44287247a8SAlexander Pyhalovcontains a series of lines of the form 45287247a8SAlexander Pyhalov.Pp 46287247a8SAlexander Pyhalov.Ar name 47287247a8SAlexander Pyhalov.Ar program 48287247a8SAlexander Pyhalov.Op Ar arguments ... 49287247a8SAlexander Pyhalov.Pp 50287247a8SAlexander PyhalovThe first word of each line is the 51287247a8SAlexander Pyhalov.Ar name 52287247a8SAlexander Pyhalovof a program invoking 53287247a8SAlexander Pyhalov.Xr mailwrapper 1M . 54287247a8SAlexander Pyhalov(For example, on a typical system 55287247a8SAlexander Pyhalov.Pa /usr/lib/sendmail 56287247a8SAlexander Pyhalovwould be a symbolic link to 57287247a8SAlexander Pyhalov.Xr mailwrapper 1M , 58287247a8SAlexander Pyhalovas would 59287247a8SAlexander Pyhalov.Xr newaliases 1M 60287247a8SAlexander Pyhalovand 61287247a8SAlexander Pyhalov.Xr mailq 1 . 62287247a8SAlexander PyhalovThus, 63287247a8SAlexander Pyhalov.Ar name 64287247a8SAlexander Pyhalovmight be 65287247a8SAlexander Pyhalov.Dq Li sendmail 66287247a8SAlexander Pyhalovor 67287247a8SAlexander Pyhalov.Dq Li newaliases 68287247a8SAlexander Pyhalovetc.) 69287247a8SAlexander Pyhalov.Pp 70287247a8SAlexander PyhalovThe second word of each line is the name of the 71287247a8SAlexander Pyhalov.Ar program 72287247a8SAlexander Pyhalovto actually execute when the first name is invoked. 73287247a8SAlexander Pyhalov.Pp 74287247a8SAlexander PyhalovThe further 75287247a8SAlexander Pyhalov.Ar arguments , 76287247a8SAlexander Pyhalovif any, are passed to the 77287247a8SAlexander Pyhalov.Ar program , 78287247a8SAlexander Pyhalovfollowed by the arguments 79287247a8SAlexander Pyhalov.Xr mailwrapper 1M 80287247a8SAlexander Pyhalovwas called with. 81287247a8SAlexander Pyhalov.Pp 82287247a8SAlexander PyhalovThe file may also contain comment lines, denoted by a 83287247a8SAlexander Pyhalov.Ql # 84287247a8SAlexander Pyhalovmark in the first column of any line. 85287247a8SAlexander Pyhalov.Sh FILES 86287247a8SAlexander Pyhalov/etc/mail/mailer.conf 87287247a8SAlexander Pyhalov.Sh EXAMPLES 88287247a8SAlexander PyhalovThis example shows how to set up 89287247a8SAlexander Pyhalov.Nm 90287247a8SAlexander Pyhalovto invoke the traditional 91287247a8SAlexander Pyhalov.Xr sendmail 1M 92287247a8SAlexander Pyhalovprogram: 93287247a8SAlexander Pyhalov.Bd -literal -offset indent 94287247a8SAlexander Pyhalov# Execute the "real" sendmail program located in 95287247a8SAlexander Pyhalov# /usr/lib/smtp/sendmail/sendmail 96287247a8SAlexander Pyhalovsendmail /usr/lib/smtp/sendmail/sendmail 97287247a8SAlexander Pyhalovmailq /usr/lib/smtp/sendmail/sendmail 98287247a8SAlexander Pyhalovnewaliases /usr/lib/smtp/sendmail/sendmail 99287247a8SAlexander Pyhalov.Ed 100287247a8SAlexander Pyhalov.Sh SEE ALSO 101287247a8SAlexander Pyhalov.Xr mail 1 , 102287247a8SAlexander Pyhalov.Xr mailq 1 , 103287247a8SAlexander Pyhalov.Xr mailwrapper 1M , 104*3a005aadSYuri Pankov.Xr newaliases 1M , 105287247a8SAlexander Pyhalov.Xr sendmail 1M 106287247a8SAlexander Pyhalov.Sh AUTHORS 107287247a8SAlexander Pyhalov.An Perry E. Metzger Aq perry@piermont.com 108