diff options
author | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2008-12-17 22:59:45 +0000 |
---|---|---|
committer | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2008-12-17 22:59:45 +0000 |
commit | a1ec3abf9b11ef5ffcc78d91109fb89fe3c8eb05 (patch) | |
tree | 3d6844ea863f54680b74bae797e3699454b0e119 /usr.sbin/smtpd/makemap.8 | |
parent | 4b9d3a5b4f2e3fce34e8d068a7852c162598c370 (diff) |
Merge newaliases into makemap.
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/makemap.8')
-rw-r--r-- | usr.sbin/smtpd/makemap.8 | 60 |
1 files changed, 36 insertions, 24 deletions
diff --git a/usr.sbin/smtpd/makemap.8 b/usr.sbin/smtpd/makemap.8 index 110a32a948a..ae3b737d799 100644 --- a/usr.sbin/smtpd/makemap.8 +++ b/usr.sbin/smtpd/makemap.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: makemap.8,v 1.2 2008/12/04 06:22:05 jmc Exp $ +.\" $OpenBSD: makemap.8,v 1.3 2008/12/17 22:59:36 jacekm Exp $ .\" Copyright (c) 1998-2002 Sendmail, Inc. and its suppliers. .\" All rights reserved. .\" Copyright (c) 1988, 1991, 1993 @@ -11,46 +11,58 @@ .\" .\" $Sendmail: makemap.8,v 8.30 2002/06/27 23:41:04 gshapiro Exp $ .\" -.Dd $Mdocdate: December 4 2008 $ +.Dd $Mdocdate: December 17 2008 $ .Dt MAKEMAP 8 .Os .Sh NAME -.Nm makemap +.Nm makemap , +.Nm newaliases .Nd create database maps for smtpd .Sh SYNOPSIS .Nm makemap -.Ar mapdesc +.Ar file +.Nm newaliases .Sh DESCRIPTION .Nm creates the database maps used by the keyed map lookups in .Xr smtpd 8 . -It reads input from the -.Ar mapdesc -file and outputs them to -.Ar mapdesc.db . +It reads input from +.Ar file +and outputs them to +.Ar file.db . .Pp In all cases, .Nm -reads lines from the standard input consisting of two -words separated by whitespace. +reads lines from +.Ar file +consisting of words separated by whitespace. The first is the database key, -the second is the value. +the remaining specify mapped value. +.Pp +.Ex -std makemap .Pp -Note: -use -.Xr newaliases 8 -to create the aliases database, not -.Nm , -as the input formats differ for historical reasons. +.Nm newaliases +rebuilds the random access database for the mail aliases file +.Pa /etc/mail/aliases . +It must be run each time this file is changed +in order for the change to take effect. +.Pp +.Ex -std newaliases +.Sh FILES +.Bl -tag -width "/etc/mail/aliasesXXX" -compact +.It Pa /etc/mail/aliases +The mail aliases file. +.El .Sh SEE ALSO .Xr editmap 8 , -.Xr newaliases 8 , -.Xr smtpd 8 +.Xr smtpd 8 , +.Xr aliases 5 , +.Xr mailer.conf 5 .Sh HISTORY -This +These .Nm -command first appeared in +and +.Nm newaliases +commands first appeared in .Ox 4.5 -as a replacement for the -.Nm -command that was shipped with sendmail. +as the replacement for equivalent commands shipped with sendmail. |