[imp] Expand Names functionality and IMSP address books
Stephen Braswell
sbraswe1+horde at email.unc.edu
Tue Jan 4 11:59:28 PST 2005
Hello,
I'm using IMP 4.0 and I cannot get the 'Expand Names' functionality in the
Compose window to work correctly with IMSP address books.
What I Do When This Doesn't Work:
I set the preference in Options -> Address Books to use the IMSP address
book and have tried searching based on Alias. When I enter an Alias in the
To field, click 'Expand Names', things churn away for a little while and
then the 'Please resolve ambiguous or invalid addresses' error message is
displayed with a drop-down menu of all the addresses in my IMSP address
book. I'm using a unique Alias when doing this so there should only be one
match.
What I've Done to Try and Troubleshoot:
I turned up the error reporting to see what IMSP was doing during this time
(sample output below message). Granted I have a basic knowledge of IMSP
but it looks like it isn't performing the 'SEARCHADDRESS' command
correctly. The arguments to the original 'SEARCHADDRESS' command appear on
subsequent lines (newlines that weren't stripped perhaps?). Also, it looks
like it was trying to do a 'name' search even though I requested a search
of the 'Alias' field.
I've turned on the LDAP search only and performed an 'Expand Names' without
any problems which makes me suspect IMSP. I'm not discounting my
configuration in the Turba sources.php file but address book searching does
work correctly with IMSP inside Turba.
Is there something else I should look for to troubleshoot?
Thanks for any help and let me know if you need more information.
Regards,
-Stephen
----- horde.log sample output with E_ALL turned on -----
Dec 29 17:30:46 HORDE [debug] [imsp] From: A0001 OK User `sbraswe1' Logged
in [on line 250 of "/opt/local/apache/htdocs/horde/lib/Net/IMSP.php"]
Dec 29 17:30:46 HORDE [debug] [imsp] Net_IMSP_Book initialized. [on line 90
of "/opt/local/apache/htdocs/horde/lib/Net/IMSP/Book.php"]
Dec 29 17:30:46 HORDE [debug] [imsp] To: A0002 SEARCHADDRESS [on line 220
of "/opt/local/apache/htdocs/horde/lib/Net/IMSP.php"]
Dec 29 17:30:46 HORDE [debug] [imsp] To: sbraswe1 [on line 220 of
"/opt/local/apache/htdocs/horde/lib/Net/IMSP.php"]
Dec 29 17:30:46 HORDE [debug] [imsp] To: name [on line 220 of
"/opt/local/apache/htdocs/horde/lib/Net/IMSP.php"]
Dec 29 17:30:46 HORDE [debug] [imsp] To: {1}^M
[on line 220 of "/opt/local/apache/htdocs/horde/lib/Net/IMSP.php"]
Dec 29 17:30:46 HORDE [debug] [imsp] From: + go [on line 250 of
"/opt/local/apache/htdocs/horde/lib/Net/IMSP.php"]
Dec 29 17:30:46 HORDE [debug] [imsp] To: *^M
[on line 220 of "/opt/local/apache/htdocs/horde/lib/Net/IMSP.php"]
Dec 29 17:30:46 HORDE [debug] [imsp] From: * SEARCHADDRESS "Alison Creech"
[on line 250 of "/opt/local/apache/htdocs/horde/lib/Net/IMSP.php"]
Dec 29 17:30:46 HORDE [debug] [imsp] From: * SEARCHADDRESS "Alison Parsons"
[on line 250 of "/opt/local/apache/htdocs/horde/lib/Net/IMSP.php"]
....and the rest of the members of my address book are listed here
Dec 29 17:30:47 HORDE [debug] [imsp] From: A0002 OK searchaddress completed
[on line 250 of "/opt/local/apache/htdocs/horde/lib/Net/IMSP.php"]
Dec 29 17:30:47 HORDE [debug] [imsp] SEARCHADDRESS command OK [on line of
""]
Dec 29 17:30:47 HORDE [debug] [imsp] To: A0003 FETCHADDRESS [on line 220
of "/opt/local/apache/htdocs/horde/lib/Net/IMSP.php"]
Dec 29 17:30:47 HORDE [debug] [imsp] To: sbraswe1 [on line 220 of
"/opt/local/apache/htdocs/horde/lib/Net/IMSP.php"]
Dec 29 17:30:47 HORDE [debug] [imsp] To: "Alison Creech"^M
[on line 220 of "/opt/local/apache/htdocs/horde/lib/Net/IMSP.php"]
...and the rest of the members of my address book are fetched
Dec 29 17:30:50 HORDE [debug] [turba] IMSP returned 72 results [on line 206
of "/opt/local/apache/htdocs/horde/turba/lib/Driver/imsp.php"]
More information about the imp
mailing list