For mail server configuration , you should set up smtp server configuration.
Setup - > Notifications - > Notification Methods
Enter your smtp server ip and also enter user/pass if it is authenticated by username/password your smtp server.
I will show up alert configuration in my next blog ...