LDAP: Need operational attribute for inbound SMTP address lookup
Please provide a LDAP operational attribute that will match a purported internet address the way Domino matches addresses on inbound SMTP messages.
This feature will be useful to external mail filtering servers trying to determine which addresses on a message represent users within the Domino domain.
Since the purpose of attribute is to search the directory, it would be reasonable for the server to not return the attribute (as permitted by LDAP), or to return the preferred internet address, this is, to return the same value(s) as the existing "mail" attribute.
Ideally, this feature would be implemented by harnessing the actual SMTP address lookup mechanism. Since intended for use by other infrastructure components, it would be reasonable for the match to occur only when used on authenticated connections, or only for specific users, although it exposes relatively little information.
This feature would fit nicely in the LDAP v3 specification framework as a operational attribute and a matching rule. However, the only reason to publish the attribute and matching rule in the schema would be so that clients relying published schema will know the attribute exists and has an equality matching rule.
To illustrate the idea, here are hypothetical queries and rough schema definitions, omitting authentication parameters.
Sample match query:
ldapsearch -L -h domino (inboundSmtpLookup=kilroy@was.here.test)" 1.1
returns:
dn: CN=kilroy,O=Here
Sample value query:
ldapsearch -L -h domino -s base cn=kilroy,o=here (objectclass=*) inboundSmtpLookup mail
might return nothing
dn: CN=kilroy,O=Here
mail: kilroy@here.test
or might return same as mail
dn: CN=kilroy,O=Here
mail: kilroy@here.test
inboundSmtpLookup: kilroy@here.test
attributetype
(
2.25.250005338986753473899123680622119601435.20061026.2
NAME 'inboundSmtpLookup'
DESC 'Matches the internet addresses to which mail would be delivered.'
EQUALITY smtpLookupMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
NO-USER-MODIFICATION
USAGE directoryOperation
)
matchingRule
(
2.25.250005338986753473899123680622119601435.20061026.1
NAME 'smtpLookupMatch'
DESC 'Matches the internet addresses to which mail would be delivered.'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)