Account ID: (Your email address)
POP server: mail.yourdomain.com (change this to match your domain)
Password: (your email password)
Check the box "Save password in my Mac OS keychain"
Sending mail
SMTP server: mail.yourdomain.com (change this to match your domain)
click on "Click here for advanced sending options"
Tick "SMTP server requires authentication" and check the button "Use same settings as receiving mail server"