$title = "Finding email addresses - the mailname command"; $area = "Unix Support"; $metadata = "unix, mailname, email, address, mailbox"; $pfloc = ""; require '/usr/local/wwwdocs/ucs/fragments/header.phtml'; require '/usr/local/wwwdocs/ucs/fragments/header-bc.phtml'; ?>
The mailname command can be used to find Newcastle University email addresses from either names or computer usernames. In some cases it may be more convenient to use this command rather than the web-based directory.
mailname [-d] {name|#username}
If the -d option is given, the mailbox location (the computer to which email is delivered) is included in the output of the command.
mailname robinson
gives a list of whose surname is Robinson, indicating their e-mail names like this:
Andreas.Robinson@ncl.ac.uk n228xyc D.B.Robinson@ncl.ac.uk n300012 H.Robinson@ncl.ac.uk q2bj1
The command accepts part of a surname:
mailname rob
would return all the above addresses, plus those of people with names like Roberts, Robinowicz etc.
mailname -d lawrence
also shows mailbox locations:
James.Lawrence@ncl.ac.uk n1234567 swsimap.ncl.ac.uk T.E.Lawrence@ncl.ac.uk n7654321 swsimap.ncl.ac.uk D.H.Lawrence@ncl.ac.uk ndhl1 burnmoor.ncl.ac.uk
swsimap is the Student Webmail service; burnmoor is the Unix mail server.
Finally, the email address can also be found from the username:
mailname #nja
(note the # symbol preceding the username) would give the email addresses of everyone with a username beginning with nja:
J.A.Lettuce@ncl.ac.uk njal17require '/usr/local/wwwdocs/ucs/fragments/footer.phtml'; ?>
J.A.Lift@ncl.ac.uk njal22
J.A.Aardvark@ncl.ac.uk njaa6 J.A.Bluebottle@ncl.ac.uk njab