Open up Mac OS X Mail and select Mail from the top menu bar
and click on Preferences.

Click on Accounts on the top of the window. Then click on
the plus sign
, located at the
bottom-left of the window, to create a new account.
Select IMAP or POP from the Account
Type: pop-up menu (IMAP is recommended).
Description is just a name that you use to identify the
account. This can be helpful if you have several accounts in OS X Mail and need
to differentiate between them. A name like
Mail@umd will for
example be sufficient.
Enter your e-mail address in the Email Address field. If
your University Directory ID is jdoe, your e-mail address would be
jdoe@umd.edu (as in the example shown below).
For Full Name, enter your name, as you would like people to
see it when they receive mail from you.
For Incoming Mail Server, enter mail.umd.edu.
Your User Name is what precedes the @ sign in your e-mail
address. For example, if your e-mail address was jdoe@umd.edu, your user
name would simply be jdoe.
Enter your Directory password in the
Password field if you would like
OS X Mail to remember it each time you check your mail.

Click on the Server Settings... button at
the bottom of the
window.
In the SMTP Server Options window, type
mail.umd.edu for the Outgoing Mail Server.
Check the box next to Use Secure Sockets Layer (SSL).
Choose Password from the Authentication
pop-up menu.
In the User Name field, type your user name for your e-mail
account. Then type your password in the Password field.
Click OK to continue.

Click on the Advanced button, then check the box next to
Use SSL.
If your Accounts window looks similar to the screen below,
close the window.

You will be asked to save the changes. Click on Save.
Setup is now complete. Your mail folders should appear to the side of the
window, and you should be able to read and send messages at this time.