Man page - nisplus_table(5)
Packages contains this manual
- qmqp-sink(1)
- postfix-add-policy(8)
- mongodb_table(5)
- postfix-tls(1)
- body_checks(5)
- trace(8)
- postqueue(1)
- sqlite_table(5)
- smtp-sink(1)
- oqmgr(8)
- qmgr(8)
- postcat(1)
- mysql_table(5)
- postmap(1)
- transport(5)
- qshape(1)
- postconf(5)
- aliases(5)
- cidr_table(5)
- anvil(8)
- makedefs(1)
- postmulti(1)
- error(8)
- trivial-rewrite(8)
- memcache_table(5)
- lmdb_table(5)
- socketmap_table(5)
- sendmail(1)
- pipe(8)
- pgsql_table(5)
- postconf(1)
- smtp(8)
- postdrop(1)
- smtp-source(1)
- scache(8)
- flush(8)
- postfix-add-filter(8)
- postalias(1)
- newaliases(1)
- qmqpd(8)
- ldap_table(5)
- master(5)
- mailq(1)
- postlock(1)
- postfix-wrapper(5)
- qmqp-source(1)
- bounce(5)
- discard(8)
- nisplus_table(5)
- access(5)
- postscreen(8)
- postkick(1)
- virtual(8)
- postlogd(8)
- master(8)
- relocated(5)
- tlsproxy(8)
- postsuper(1)
- defer(8)
- canonical(5)
- spawn(8)
- dnsblog(8)
- pcre_table(5)
- generic(5)
- postlog(1)
- bounce(8)
- virtual(5)
- proxymap(8)
- postfix-collate(1)
- tcp_table(5)
- rmail(8)
- local(8)
- posttls-finger(1)
- header_checks(5)
- smtpd(8)
- cleanup(8)
- lmtp(8)
- verify(8)
- showq(8)
- postfix(1)
- tlsmgr(8)
- pickup(8)
- regexp_table(5)
apt-get install postfix
Manual
NISPLUS_TABLE
NAMESYNOPSIS
DESCRIPTION
QUERY SYNTAX
EXAMPLE
SEE ALSO
README FILES
LICENSE
AUTHOR(S)
NAME
nisplus_table - Postfix NIS+ client
SYNOPSIS
postmap -q " string " "nisplus:[ name =%s]; name.name. "
postmap -q - "nisplus:[ name =%s]; name.name. " < inputfile
DESCRIPTION
The Postfix mail system uses optional lookup tables. These tables are usually in dbm or db format. Alternatively, lookup tables can be specified as NIS+ databases.
To find out what types of lookup tables your Postfix system supports use the " postconf -m " command.
To test Postfix NIS+ lookup tables, use the " postmap -q " command as described in the SYNOPSIS above.
QUERY SYNTAX
Most of the NIS+ query is specified via the NIS+ map name. The general format of a Postfix NIS+ map name is as follows:
nisplus:[ name =%s]; name.name.name .: column
Postfix NIS+ map names differ from what one normally would use with commands such as niscat :
|
• |
With each NIS+ table lookup, " %s " is replaced by a version of the lookup string. There can be only one " %s " instance in a Postfix NIS+ map name. |
||
|
• |
Postfix NIS+ map names use " ; " instead of " , ", because the latter character is special in the Postfix main.cf file. Postfix replaces " ; " characters in the map name by " , " before making NIS+ queries. |
||
|
• |
The ": column " part in the NIS+ map name is not part of the actual NIS+ query. Instead, it specifies the number of the table column that provides the lookup result. When no ": column " is specified the first column (1) is used. |
EXAMPLE
A NIS+ aliases map might be queried as follows:
alias_maps =
dbm:/etc/mail/aliases,
nisplus:[alias=%s];mail_aliases.org_dir.$mydomain.:1
This queries the local aliases file before the NIS+ file.
SEE ALSO
postmap(1), Postfix lookup table manager
README FILES
Use
"
postconf readme_directory
" or
"
postconf html_directory
" to locate this
information.
DATABASE_README, Postfix lookup table overview
LICENSE
The Secure Mailer license must be distributed with this software.
AUTHOR(S)
Geoff Gibbs
UK-HGMP-RC
Hinxton
Cambridge
CB10 1SB, UK
Adopted and
adapted by:
Wietse Venema
IBM T.J. Watson Research
P.O. Box 704
Yorktown Heights, NY 10598, USA
Wietse Venema
Google, Inc.
111 8th Avenue
New York, NY 10011, USA