Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Split off /etc/mailer.conf manual page from mailwrapper manu...



details:   https://anonhg.NetBSD.org/src/rev/2436600a4ab5
branches:  trunk
changeset: 467529:2436600a4ab5
user:      is <is%NetBSD.org@localhost>
date:      Thu Mar 25 16:40:17 1999 +0000

description:
Split off /etc/mailer.conf manual page from mailwrapper manual page.

diffstat:

 distrib/sets/lists/man/mi          |   4 +
 usr.sbin/mailwrapper/Makefile      |   4 +-
 usr.sbin/mailwrapper/mailer.conf.5 |  96 ++++++++++++++++++++++++++++++++++++++
 usr.sbin/mailwrapper/mailwrapper.8 |  37 +-------------
 4 files changed, 104 insertions(+), 37 deletions(-)

diffs (206 lines):

diff -r b05ad745a2a8 -r 2436600a4ab5 distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Thu Mar 25 16:32:27 1999 +0000
+++ b/distrib/sets/lists/man/mi Thu Mar 25 16:40:17 1999 +0000
@@ -524,6 +524,7 @@
 ./usr/share/man/cat5/link.0
 ./usr/share/man/cat5/lkm.conf.0
 ./usr/share/man/cat5/magic.0
+./usr/share/man/cat5/mailer.conf.0
 ./usr/share/man/cat5/man.conf.0
 ./usr/share/man/cat5/map3270.0
 ./usr/share/man/cat5/master.passwd.0
@@ -653,6 +654,7 @@
 ./usr/share/man/cat8/lpd.0
 ./usr/share/man/cat8/mail.local.0
 ./usr/share/man/cat8/mailstats.0
+./usr/share/man/cat8/mailwrapper.0
 ./usr/share/man/cat8/makedbm.0
 ./usr/share/man/cat8/makekey.0
 ./usr/share/man/cat8/makemap.0
@@ -1610,6 +1612,7 @@
 ./usr/share/man/man5/link.5
 ./usr/share/man/man5/lkm.conf.5
 ./usr/share/man/man5/magic.5
+./usr/share/man/man5/mailer.conf.5
 ./usr/share/man/man5/man.conf.5
 ./usr/share/man/man5/map3270.5
 ./usr/share/man/man5/master.passwd.5
@@ -1739,6 +1742,7 @@
 ./usr/share/man/man8/lpd.8
 ./usr/share/man/man8/mail.local.8
 ./usr/share/man/man8/mailstats.8
+./usr/share/man/man8/mailwrapper.8
 ./usr/share/man/man8/makedbm.8
 ./usr/share/man/man8/makekey.8
 ./usr/share/man/man8/makemap.8
diff -r b05ad745a2a8 -r 2436600a4ab5 usr.sbin/mailwrapper/Makefile
--- a/usr.sbin/mailwrapper/Makefile     Thu Mar 25 16:32:27 1999 +0000
+++ b/usr.sbin/mailwrapper/Makefile     Thu Mar 25 16:40:17 1999 +0000
@@ -1,7 +1,7 @@
-#      $NetBSD: Makefile,v 1.3 1999/02/20 22:10:07 thorpej Exp $
+#      $NetBSD: Makefile,v 1.4 1999/03/25 16:40:18 is Exp $
 
 PROG=  mailwrapper
-MAN=   mailwrapper.8
+MAN=   mailwrapper.8 mailer.conf.5
 
 DPADD+=        ${LIBUTIL}
 LDADD+=        -lutil
diff -r b05ad745a2a8 -r 2436600a4ab5 usr.sbin/mailwrapper/mailer.conf.5
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/usr.sbin/mailwrapper/mailer.conf.5        Thu Mar 25 16:40:17 1999 +0000
@@ -0,0 +1,96 @@
+.\"    $NetBSD: mailer.conf.5,v 1.1 1999/03/25 16:40:17 is Exp $
+.\"
+.\" Copyright (c) 1998
+.\"    Perry E. Metzger.  All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgment:
+.\"    This product includes software developed for the NetBSD Project
+.\"    by Perry E. Metzger.
+.\" 4. The name of the author may not be used to endorse or promote products
+.\"    derived from this software without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+.\"
+.\" The following requests are required for all man pages.
+.Dd December 16, 1998
+.Dt MAILER.CONF 5
+.Os
+.Sh NAME
+.Nm mailer.conf
+.Nd configuration file for
+.Xr mailwrapper 8 .
+.Sh DESCRIPTION
+.Pp
+The file
+.Pa /etc/mailer.conf
+contains a series of pairs. The first member of each pair is the name
+of a program invoking
+.Xr mailwrapper 8
+which is typically a symbolic link to
+.Pa /usr/sbin/sendmail .
+(On a typical system,
+.Xr newaliases 1
+and
+.Xr mailq 1
+would be set up this way.)
+The second member of each pair is the name of the program to
+actually execute when the first name is invoked. The file may also
+contain comments, denoted by a # mark in the first column of any line.
+.Sh EXAMPLES
+The following is an example of how to set up an
+.Nm
+for traditional sendmail invocation behavior.
+.Bd -literal
+# Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail
+sendmail       /usr/libexec/sendmail/sendmail
+send-mail      /usr/libexec/sendmail/sendmail
+mailq          /usr/libexec/sendmail/sendmail
+newaliases     /usr/libexec/sendmail/sendmail
+.Ed
+.Pp
+This example shows how to invoke the fictitious "newmail" program in
+place of sendmail.
+.Bd -literal
+# Execute the "real" sendmail program, named /usr/local/sbin/newmail
+sendmail       /usr/local/sbin/newmail
+mailq          /usr/local/sbin/newmail
+newaliases     /usr/local/sbin/newmail
+.Ed
+.Sh FILES
+/etc/mailer.conf
+.Sh SEE ALSO
+.Xr mail 1 ,
+.Xr mailq 1 ,
+.Xr mailwrapper 8 ,
+.Xr newaliases 1 ,
+.Xr sendmail 8 .
+.Sh HISTORY
+.Nm
+appeared in
+.Nx 1.4 .
+.Sh AUTHORS
+Perry E. Metzger <perry%piermont.com@localhost>
+.Sh BUGS
+The entire reason this program exists is a crock. Instead, a command
+for how to submit mail should be standardized, and all the "behave
+differently if invoked with a different name" behavior of things like
+.Xr mailq 1
+should go away.
diff -r b05ad745a2a8 -r 2436600a4ab5 usr.sbin/mailwrapper/mailwrapper.8
--- a/usr.sbin/mailwrapper/mailwrapper.8        Thu Mar 25 16:32:27 1999 +0000
+++ b/usr.sbin/mailwrapper/mailwrapper.8        Thu Mar 25 16:40:17 1999 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mailwrapper.8,v 1.5 1999/03/22 18:44:01 garbled Exp $
+.\"    $NetBSD: mailwrapper.8,v 1.6 1999/03/25 16:40:17 is Exp $
 .\"
 .\" Copyright (c) 1998
 .\"    Perry E. Metzger.  All rights reserved.
@@ -108,40 +108,6 @@
 .Pa /etc/mailer.conf .
 This permits the administrator to configure which MTA is to be invoked on
 the system at run time. 
-.Pp
-The file
-.Pa /etc/mailer.conf
-contains a series of pairs. The first member of each pair is the name
-of an invoking program which is typically a symbolic link to
-.Pa /usr/sbin/sendmail .
-(On a typical system,
-.Xr newaliases 1
-and
-.Xr mailq 1
-would be set up this way.)
-The second member of each pair is the name of the program to
-actually execute when the first name is invoked. The file may also
-contain comments, denoted by a # mark in the first column of any line.
-.Sh EXAMPLES
-The following is an example of how to set up an
-.Pa /etc/mailer.conf
-for traditional sendmail invocation behavior.
-.Bd -literal
-# Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail
-sendmail       /usr/libexec/sendmail/sendmail
-send-mail      /usr/libexec/sendmail/sendmail
-mailq          /usr/libexec/sendmail/sendmail
-newaliases     /usr/libexec/sendmail/sendmail
-.Ed
-.Pp
-This example shows how to invoke the fictitious "newmail" program in
-place of sendmail.
-.Bd -literal
-# Execute the "real" sendmail program, named /usr/local/sbin/newmail
-sendmail       /usr/local/sbin/newmail
-mailq          /usr/local/sbin/newmail
-newaliases     /usr/local/sbin/newmail
-.Ed
 .Sh FILES
 Configuration for
 .Nm
@@ -161,6 +127,7 @@
 .Sh SEE ALSO
 .Xr mail 1 ,
 .Xr mailq 1 ,
+.Xr mailer.conf 5 ,
 .Xr newaliases 1 ,
 .Xr sendmail 8 .
 .Sh HISTORY



Home | Main Index | Thread Index | Old Index