1NISPLUS_TABLE(5)              File Formats Manual             NISPLUS_TABLE(5)
2
3
4

NAME

6       nisplus_table - Postfix NIS+ client
7

SYNOPSIS

9       postmap -q "string" "nisplus:[name=%s];name.name."
10
11       postmap -q - "nisplus:[name=%s];name.name." <inputfile
12

DESCRIPTION

14       The  Postfix mail system uses optional lookup tables.  These tables are
15       usually in dbm or db format.  Alternatively, lookup tables can be spec‐
16       ified as NIS+ databases.
17
18       To  find  out  what types of lookup tables your Postfix system supports
19       use the "postconf -m" command.
20
21       To test Postfix NIS+ lookup tables, use the  "postmap  -q"  command  as
22       described in the SYNOPSIS above.
23

QUERY SYNTAX

25       Most  of the NIS+ query is specified via the NIS+ map name. The general
26       format of a Postfix NIS+ map name is as follows:
27
28           nisplus:[name=%s];name.name.name.:column
29
30       Postfix NIS+ map names differ from what one  normally  would  use  with
31       commands such as niscat:
32
33       ·      With  each  NIS+  table lookup, "%s" is replaced by a version of
34              the lookup string.  There can be only one  "%s"  instance  in  a
35              Postfix NIS+ map name.
36
37       ·      Postfix  NIS+ map names use ";" instead of ",", because the lat‐
38              ter character is special in the Postfix main.cf  file.   Postfix
39              replaces  ";"  characters  in  the map name by "," before making
40              NIS+ queries.
41
42       ·      The ":column" part in the NIS+ map  name  is  not  part  of  the
43              actual NIS+ query. Instead, it specifies the number of the table
44              column that provides the lookup result.  When  no  ":column"  is
45              specified the first column (1) is used.
46

EXAMPLE

48       A NIS+ aliases map might be queried as follows:
49
50           alias_maps = dbm:/etc/mail/aliases,
51               nisplus:[alias=%s];mail_aliases.org_dir.$mydomain.:1
52
53       This queries the local aliases file before the NIS+ file.
54

SEE ALSO

56       postmap(1), Postfix lookup table manager
57

README FILES

59       Use  "postconf readme_directory" or "postconf html_directory" to locate
60       this information.
61       DATABASE_README, Postfix lookup table overview
62

LICENSE

64       The Secure Mailer license must be distributed with this software.
65

AUTHOR(S)

67       Geoff Gibbs
68       UK-HGMP-RC
69       Hinxton
70       Cambridge
71       CB10 1SB, UK
72
73       Adopted and adapted by:
74       Wietse Venema
75       IBM T.J. Watson Research
76       P.O. Box 704
77       Yorktown Heights, NY 10598, USA
78
79
80
81                                                              NISPLUS_TABLE(5)
Impressum