ppoossttmmaapp --qq ""_s_t_r_i_n_g"" ""nniisspplluuss::[[_n_a_m_e==%%ss]];;_n_a_m_e_._n_a_m_e_.""
ppoossttmmaapp --qq -- ""nniisspplluuss::[[_n_a_m_e==%%ss]];;_n_a_m_e_._n_a_m_e_."" <_i_n_p_u_t_f_i_l_e
To find out what types of lookup tables your Postfix system supports use the "ppoossttccoonnff --mm" command.
To test Postfix NIS+ lookup tables, use the "ppoossttmmaapp --qq" command as described in the SYNOPSIS above.
Most of the NIS+ query is specified via the NIS+ map name. The general format of a Postfix NIS+ map name is as follows:
nniisspplluuss::[[_n_a_m_e==%%ss]];;_n_a_m_e_._n_a_m_e_._n_a_m_e..::_c_o_l_u_m_n
Postfix NIS+ map names differ from what one normally would use with commands such as nniissccaatt:
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.
postmap(1), Postfix lookup table manager
Use "ppoossttccoonnff rreeaaddmmee__ddiirreeccttoorryy" or "ppoossttccoonnff hhttmmll__ddiirreeccttoorryy" to locate this information.
DATABASE_README, Postfix lookup table overview
The Secure Mailer license must be distributed with this software.
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