Search the OSG website:

@ufl.edu aliases

Sample Object

The following is a sample object that represents a sendmail virtuser entry in LDAP:

dn: sendmailMTAKey=gatorlink@ufl.edu,sendmailMTAMapName=virtuser,ou=smtp,dc=osg,dc=ufl,dc=edu
sendmailMTAKey: gatorlink@ufl.edu
sendmailMTACluster: smtp
objectClass: top
objectClass: sendmailMTA
objectClass: sendmailMTAMap
objectClass: sendmailMTAMapObject
sendmailMTAMapName: virtuser

The DN of the object is made up of the sendmailMTAKey plus the base: sendmailMTAMapName=virtuser,ou=smtp,dc=osg,dc=ufl,dc=edu

universityID: is required, and should be set to the UFID that owns the ufl.edu alias.

sendmailMTAKey: should be set to or the leftmost portion of the virtuser entry.

sendmailMTAMapValue: represents the address where mail to the sendmailMTAKey should actually be delivered.

The rest:

sendmailMTACluster: smtp
objectClass: top
objectClass: sendmailMTA
objectClass: sendmailMTAMap
objectClass: sendmailMTAMapObject
sendmailMTAMapName: virtuser

Are static for all entries and should contain the above values.

Where to add the object?

sendmailMTAKey objects for ufl.edu should be added to the ldap server running on dir3, currently old.ldap.ufl.edu. The context or base the objects live in is sendmailMTAMapName=virtuser,ou=smtp,dc=osg,dc=ufl,dc=edu

The object cn=am,dc=osg,dc=ufl,dc=edu exists and can be used to create sendmailMTAMapObject objects. Typically if you have the following ldif:

dn: sendmailMTAKey=gatorlink@ufl.edu,sendmailMTAMapName=virtuser,ou=smtp,dc=osg,dc=ufl,dc=edu
sendmailMTAKey: gatorlink@ufl.edu
sendmailMTACluster: smtp
objectClass: top
objectClass: sendmailMTA
objectClass: sendmailMTAMap
objectClass: sendmailMTAMapObject
sendmailMTAMapName: virtuser
universityID: 66666666
sendmailMTAMapValue: forwardingaddress@nersp.nerdc.ufl.edu

In a file called ipm.ldif then you would do:

ldapmodify -h old.ldap.ufl.edu -D "cn=am,dc=osg,dc=ufl,dc=edu" -W -f ./ipm.ldif

The entry will then be in the ldap database, where it will be dumped at the next interval (currently every 30 minutes) to a virtuser table at which point it will be active.