Hi All,
First, thank you for a great tool.
1. A logging feedback enhancement request. In LDAPLogging = verbose, could
you add the LDAP question (SearchDN/filter) to the end of the LDAP error?
Like the following or whatever formmating is appropriate:
Sep-3-08 18:47:44 LDAP search error: 32 -- Sender domain check ignored
(o=bogusdomain.com)
Sep-3-08 18:32:12 LDAP search error: 34 -- Recipient domain check ignored
(o=recipientdomain.com)
Sep-3-08 18:32:12 LDAP search error: 34 -- Recipient address check ignored
([EMAIL PROTECTED])
When I was setting up/testing LDAP, I could not tell what was failing except
by elimination of successes. I think that might be very useful for anyone
else attempting to set up LDAP checking.
2. A possible operational enhancement. I noted in the log that for one
message, the sender domain was checked 8 times via LDAP. If possible,
remembering that the check was made and the result might be a little faster.
3. Recently, someone inquired about validating against LDAP on IMail 8.2x.
Well, it can be done. The ASSP LDAP values are listed below. The other issue
is that by default, IMail LDAP implementation does not reflect any mailbox
aliases or domain aliases. Somewhere from a couple of years ago, I have some
vbscript I wrote to update the IMail LDAP. When I find that and retest it, I
will make at least the base code to read and write IMail LDAP available. Our
control panel is custom, so the part that tracks the changes would be
useless to anyone else.
ASSP Version: 1.4.1.1.8
ASSP Environment: Windows NT, Perl 5.008008
ASSP LDAP: Net::LDAP 0.34
Target LDAP: 2.x OpenLDAP provided with IMail on Win2K
LDAPHost:=63.150.236.14
LDAPtimeout:=15
LDAPLogin:=
LDAPPassword:=
LDAPRoot:=o=DOMAIN
ldLDAPFilter:=o=DOMAIN
LDAPFilter:=mail=EMAILADDRESS
LDAPFail:=1
I have LDAPLogging set to verbose. On error, what I see is lines like:
Sep-3-08 18:32:12 LDAP search error: 34 -- check ignored
Sep-3-08 18:47:44 LDAP search error: 32 -- check ignored
For those folk that are debugging LDAP functionality, even using an LDAP
browser on the side, those lines are fairly uninformative. I got down to
successfully checking the recipient domain and the recipient mail address,
then saw the following log entries:
================================================
Sep-3-08 18:47:44 LDAP Results o=mathbox.net: 1 :
Sep-3-08 18:47:44 LDAP Results [EMAIL PROTECTED]: 1 :
Sep-3-08 18:47:44 82064-02617 208.69.48.3 <[EMAIL PROTECTED]> to:
[EMAIL PROTECTED] recipient accepted: [EMAIL PROTECTED]
Sep-3-08 18:47:44 LDAP search error: 32 -- check ignored
Sep-3-08 18:47:54 LDAP search error: 32 -- check ignored
Sep-3-08 18:47:54 82064-02617 [SPF] 208.69.48.3 <[EMAIL PROTECTED]> to:
[EMAIL PROTECTED] [monitoring] SPF: neutral (cache) ip=208.69.48.3
[EMAIL PROTECTED] helo=mikesplace.mathbox.net
Sep-3-08 18:47:54 82064-02617 [MessageOK] 208.69.48.3 <[EMAIL PROTECTED]> to:
[EMAIL PROTECTED] MESSAGE OK [Test Message]
================================================
Initially, I could not figure out what ASSP was checking and why I was
getting the error. Then I realized ASSP was checking the sender email
address and that my test message was from a bogus domain. When I changed the
sender to a local domain, I got the following:
================================================
Sep-3-08 19:34:26 Connected: 208.69.48.3:3646 -> 208.69.48.43:25 ->
208.69.48.43:125
Sep-3-08 19:34:26 LDAP Results o=mathbox.com: 1 :
Sep-3-08 19:34:27 LDAP Results o=mathbox.com: 1 :
Sep-3-08 19:34:27 LDAP Results o=mathbox.com: 1 :
Sep-3-08 19:34:28 LDAP Results [EMAIL PROTECTED]: 1 :
Sep-3-08 19:34:28 LDAP Results o=mathbox.net: 1 :
Sep-3-08 19:34:28 LDAP Results [EMAIL PROTECTED]: 1 :
Sep-3-08 19:34:28 84866-01639 208.69.48.3 <[EMAIL PROTECTED]> to:
[EMAIL PROTECTED] recipient
accepted: [EMAIL PROTECTED]
Sep-3-08 19:34:29 LDAP Results o=mathbox.com: 1 :
Sep-3-08 19:34:29 LDAP Results o=mathbox.com: 1 :
Sep-3-08 19:34:29 LDAP Results o=mathbox.com: 1 :
Sep-3-08 19:34:30 LDAP Results [EMAIL PROTECTED]: 1 :
Sep-3-08 19:34:30 LDAP Results o=mathbox.net: 1 :
Sep-3-08 19:34:30 LDAP Results [EMAIL PROTECTED]: 1 :
Sep-3-08 19:34:30 84869-10672 208.69.48.3 <[EMAIL PROTECTED]> to:
[EMAIL PROTECTED] recipient
accepted: [EMAIL PROTECTED]
Sep-3-08 19:34:30 LDAP Results o=mathbox.com: 1 :
Sep-3-08 19:34:40 LDAP Results o=mathbox.com: 1 :
Sep-3-08 19:34:40 84869-10672 [SPF] 208.69.48.3 <[EMAIL PROTECTED]> to:
[EMAIL PROTECTED]
[monitoring] SPF: pass (cache) ip=208.69.48.3
[EMAIL PROTECTED]
helo=mikesplace.mathbox.net
Sep-3-08 19:34:41 84869-10672 [MessageOK] 208.69.48.3 <[EMAIL PROTECTED]> to:
[EMAIL PROTECTED]
MESSAGE OK [Test Message]
================================================
Michael Thomas
Mathbox
978-687-3300
1-877-MATHBOX (Toll Free)
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test