1 LDAP rcpt500 mail query server README
4 This is a mail-query server that answers X.500 white pages queries.
5 It is designed to be run out of your mail systems alias file, or the
6 equivalent. It expects to be fed the entire contents (including
7 headers) of an RFC822 message via standard input. It parses the
8 message, looking in the Subject: field or the body of the message
9 for a command that it recognizes.
11 The commands currently recognized are listed in the file cmd.c. They
12 all map into two actual operations the server performs: an X.500 query
13 or a help command. If no recognizable command is found in the
14 Subject: or body of the message, help is assumed. An appropriate
15 reply is sent to the sender of the message in response to the command.
17 The help command returns the contents of the file rcpt500.help. You
18 can modify the contents as appropriate for your local site.
20 The query command performs a series of X.500 searches to try to find
21 a person that matches the object of the query. If more than one
22 X.500 entry matches, a list is returned. If exactly one is matched,
23 detailed information is returned. Here is an example message and rcpt500
27 Mail x500-query@umich.edu
28 Subject: find tim howes
32 Message-Id: <199209161526.AA12041@umich.edu>
33 Date: Wed, 16 Sep 1992 11:26:17 -0400
34 From: "X.500 Query Program" <X500-Query@umich.edu>
35 Subject: Re: find tim howes
36 In-Reply-To: Your message of "Wed, 16 Sep 1992 11:26:12 -0400"
37 <199209161526.AA26144@terminator.cc.umich.edu>
38 To: "Mark Smith" <mcs@terminator.cc.umich.edu>
40 One exact match was found for 'tim howes':
41 "Timothy A Howes, Information Technology Division, Faculty and Staff"
48 tim@terminator.cc.umich.edu
50 +1 313 764 5140 (argus building)
56 Ann Arbor, MI 48103-4943
58 Systems Research Programmer II, Research Systems
62 If you want to try out rcpt500 yourself before installing it at your site,
63 send a message to x500-query@umich.edu (we have a server running
64 there that serves University of Michigan white pages information).
67 CONFIGURING AND RUNNING rcpt500 AT YOUR LOCAL SITE
68 You will probably need to make changes to the file ldapconfig.h.edit to
69 configure rcpt500 for your local site. There are comments in the file
70 describing each variable you might need to change. Then type make in
71 the rcpt500 directory to make sure things are up to date. You will
72 need to install the rcpt500 binary and help files (make install). This
73 all assumes you have built the LDAP libraries already. If in doubt,
74 just do a make from the top of the LDAP distribution.
76 You will then need to set up an alias that your users can send mail
77 to that will feed the messages to rcpt500. At our site, we run sendmail
78 so the alias is in /usr/lib/aliases and looks like:
80 x500-query: "|/usr/local/etc/rcpt500 -l"
82 The available command line options for rcpt500 are:
83 -l enable logging of requests via the syslog
85 -h ldaphost specify LDAP server host to connect to
86 -b searchbase specify starting point of X.500 searches
87 -a don't deference aliases during searches
88 -s stripcount remove "stripcount" DN components from user
89 friendly form names that are displayed
90 -z sizelimit return at most "sizelimit" entries
91 -u dapuser DN to bind to X.500 as when searching
93 The search and display behavior is defined in the ldapfilter.conf and
94 ldaptemplates.conf files.
97 FEEDBACK / PROBLEM REPORTS / DISCUSSIONS
99 The software is provided as is without any express or implied
100 warranty, but you can report problems using our Issue Tracking
103 http://www.OpenLDAP.com/its/
105 or by sending e-mail to:
107 OpenLDAP-its@OpenLDAP.org
109 Additional mailing lists are available. Please see:
111 http://www.OpenLDAP.com/lists/