![]() |
On Tue, 2005-08-16 at 16:27 +0100, Adam Stiles wrote: > On Tuesday 16 August 2005 15:02, Dominik.Bethke@xxxxxxxxxx wrote: > > > I think you mean the right thing, but what I primary want is to read from > > the LDAP-Datebase. > > I am interested in reading datas like E-Mail Adress and Faxnumber of the > > user that want to send and receive faxes. > > Actually I have got a faxrcvd script that works with MySQL but my goal is > > to have a solution that works with LDAP (Lotus Notes Server 6.5). > > Sorry - I hadn't read that bit when I put in my reply. I have no experience > of LDAP databases {though it looks like I might have to learn fast and > soon!}, but there are definitely perl and python modules for reading them. > I'm guessing you want the inbound number to correlate to an e-mail > address ..... in which case you just need to make your receiving script look > up the person using LDAP, and then format the mail message accordingly. I assume you'd just do something like - ldapsearch {bind credential stuff} -LLL "(&(objectclass=account)(objectclass=inetOrgPerson)(facsimileTelephoneNumber=6163611124))" mail - adding whatever bind credentials you need and dig the mail value out of the result. ____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*