- This would deliver mail for tom@example.com to
thomas@mailhost.example.com:
dn: uid=tom, o=example.com, c=US
objectClass: inetLocalMailRecipient
mailLocalAddress: tom@example.com
mailRoutingAddress: thomas@mailhost.example.com
- This would relay mail for dick@example.com to
the same address but redirect the mail to MX records listed for the host
eng.example.com.
dn: uid=dick, o=example.com, c=US
objectClass: inetLocalMailRecipient
mailLocalAddress: dick@example.com
mailHost: eng.example.com
- This would relay mail for harry@example.com to
the MX records listed for the host mktmail.example.com using the new address harry@mkt.example.com when talking to that host.
dn: uid=harry, o=example.com, c=US
objectClass: inetLocalMailRecipient
mailLocalAddress: harry@example.com
mailHost: mktmail.example.com
mailRoutingAddress: harry@mkt.example.com
- This would send all mail destined for any username @virtual.example.com
to the machine server.example.com's MX servers
and deliver to the address virtual@example.com on
that relay machine.
dn: uid=virtual.example.com, o=example.com, c=US
objectClass: inetLocalMailRecipient
mailLocalAddress: @virtual.example.com
mailHost: server.example.com
mailRoutingAddress: virtual@example.com
- Final Exam: What will happen to mail addressed to gshapiro@example.net?
ca@example.net? jeffy@example.com?
dn: uid=gshapiro, dc=gshapiro, dc=net
objectClass: inetLocalMialRecipient
uid: gshapiro
mailLocalAddress: gshapiro@example.net
mailRoutingAddress: gshapiro@example.com
dn: uid=jeff, dc=gshapiro, dc=net
objectClass: inetLocalMailRecipient
uid: jeff
mailLocalAddress: jeff@example.net
mailLocalAddress: jeffy@example.com
mailRoutingAddress: jmorris@example.com
mailHost: katroo.example.com
dn: uid=ca, dc=gshapiro, dc=net
objectClass: inetLocalMailRecipient
uid: ca
mailLocalAddress: ca@example.net
mailLocalAddress: ca@example.com
mailRoutingAddress: ca@example.com
mailRoutingAddress: ca@example.org