[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Laser mail routting schema



The sendmail/laser stuff is in the /etc/openldap/schema/misc.schema file that 
Red Hat distributes as part of their OpenLDAP server package; I honestly don't 
know if misc.schema came from the OpenLDAP project or from Red Hat.  This is is 
what I use (I call it sendmail.schema):

#
#  LDAP Schema for sendmail compatibility
#
#  Charlie Brooks  2003-04-29
#
#  Sendmail's LDAP functions are based on the IETF document
#  "draft-lachman-laser-ldap-mail-routing-02" which has now
#  expired, apparently without actually becoming an RFC. Oops.
#
#  This schema file is based on the Lachman documents, the Red
#  Hat "misc" schema's implementation, the Sendmail docs, and
#  the OpenLDAP 2.0 implementation distributed by Klaus Assman.
#
#  It may still be possible to find a copy of the Lachman draft
#  at the Internet Mail Consortium's web site.  Try looking at
#   http://www.imc.org/draft-lachman-laser-ldap-mail-routing
#
#  The following line needs to be in /etc/openldap/slapd.conf
#       include    /etc/openldap/schema/sendmail.schema
#
#  Add an additional index line to slapd.conf as well:
#       index      mailLocalAddress
#
#  These three lines need to be in /etc/mail/sendmail.mc before the
#  sendmail.cf file is generated with the Berkeley m4 macro engine:
#
# LDAPROUTE_DOMAIN(`example.com')
# define(`confLDAP_DEFAULT_SPEC',`-h"mail.example.com" -b"dc=example,dc=com"')
# FEATURE(`ldap_routing')
#

attributetype ( 2.16.840.1.113730.3.1.13
        NAME 'mailLocalAddress'
        DESC 'RFC822 email address of this recipient'
        EQUALITY caseIgnoreIA5Match
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )

attributetype ( 2.16.840.1.113730.3.1.18
        NAME 'mailHost'
        DESC 'FQDN of the SMTP/MTA of this recipient'
        EQUALITY caseIgnoreIA5Match
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256}
        SINGLE-VALUE )

attributetype ( 2.16.840.1.113730.3.1.47
        NAME 'mailRoutingAddress'
        DESC 'RFC822 routing address of this recipient'
        EQUALITY caseIgnoreIA5Match
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256}
        SINGLE-VALUE )

# Don't be suprised if this OID changes without notice...

objectclass ( 2.16.840.1.113730.3.2.147
        NAME 'inetLocalMailRecipient'
        DESC 'Internet local mail recipient'
        SUP top AUXILIARY
        MAY     ( mailLocalAddress $ mailHost $ mailRoutingAddress ) )

# End of File




On 10 Mar 2004 at 10:02, Robert Fitzpatrick wrote:
>
> Can someone tell me where I can get a Laser mail routing schema as
> identified in this doc?
> 
> http://www.iconimaging.net/~jradford/sendmail/laser.txt
>