Look up where email goes when you send an email to someone's Cornell email address. Change or add where you forward your Cornell-based email. Mail routing.
See also
- Email forwarding look-up instructions
- Attributes (CIT's page listing CU's LDAP attributes; NetID credentials required to view)
Use an LDAP look-up tool
Windows
Parameters Oliver used (10/12/16)
- Cornell LDAP server: query.directory.cornell.edu
- Path: ou=people,o=cornell university,c=us
- Options: Attributes: cornellEduMailDelivery mailRoutingAddress
- Enter NetID in "Email".
Full instructions
Info from CIT's ID Management
Per ID Management's Jerry Shipman (Wednesday, October 12, 2016 4:13 PM):
if cornellEduMailDelivery contains "exchange", mail is going to the exchange mailbox.
if cornellEduMailDelivery contains "cmail", then mail is going to the cmail mailbox, and mailRoutingAddress will also contain the netid@cmail.cornell.edu (this was an expedient decision that was made to solve a technical problem)
if cornellEduMailDelivery contains "maildelivery", then mail is forwarding to the external address(es) listed in a comma-delimited list in mailRoutingAddress
CIT has it written up here: https://confluence.cornell.edu/display/IDM/Attributes
Take care,
Jerry Shipman
On Oct 12, 2016, at 3:58 PM, Oliver B. Habicht <oh10> wrote:
Jerry,
This does seem like a much better "fit" to my needs. I just tried it in Windows and my tests got me what I needed, using your search parameters to guide me towards what to try in the tool I tried. I'm sure what I did can be made more elegant, but it does work.
Thus, no policy statement needs to be crafted in regards to my query. I really don't want access to any FERPA data and the like, of course. Should I forward this email to the ticket, or do you want to share that you got me what I needed?
And thank you! -Oliver.
From: Jerry Shipman
Sent: Wednesday, October 12, 2016 2:23 PM
To: Oliver B. Habicht <oh10>
Subject: mail forwarding information
Hello,
I work in identity management. I guess that someone else has your ticket and I am writing unofficially from the peanut gallery, but...
I'm not sure, but it might be that the information you're looking for is mostly available publicly in the directory.
(...)
Is this all the information you are looking for?
$ ldapsearch -x -v -H ldap://query.directory.cornell.edu:389 -b 'ou=people,o=cornell university,c=us' '(| (uid=wth1) (uid=oh10) (uid=jes59) )' cornellEduMailDelivery mailRoutingAddress | perl -p00e 's/\r?\n //g'
[...]
# oh10, People, Cornell University, US
dn: uid=oh10,ou=People,o=Cornell University,c=US
cornellEduMailDelivery: cmail
cornellEduMailDelivery: exchange
cornellEduMailDelivery: mailforwarding
mailRoutingAddress: ohabicht(...),oh10(...)cmail(...)
# wth1, People, Cornell University, US
dn: uid=wth1, ou=People, o=Cornell University, c=US
cornellEduMailDelivery: cmail
cornellEduMailDelivery: exchange
cornellEduMailDelivery: mailforwarding
mailRoutingAddress: william(...)wtholmes.dyndns(...),wtholmes(...)test.mail.cornell(...),wth1(...)cmail(...)
# jes59, People, Cornell University, US
dn: uid=jes59,ou=People,o=Cornell University,c=US
cornellEduMailDelivery: exchange
mailRoutingAddress:
(i.e.: I am just sending to exchange; you and bill holmes are sending to exchange and cmail and forwarding to one or more third parties, etc)
`ldapsearch` is an easy ldap client that is available on mac and linux...one would think that there is an equivalent thing on windows, but I don't know what it is (sorry).
I have also seen guys make ldap calls from coldfusion webpages or what have you. (...)