There are plenty of guides and howto's. You need to find one and follow it, not ask to be spoon fed standard documentation. If you want an arbitrary decision made for you, use postfix,
http://www.postfix.org/docs.html, for smtp. Note though that a "mail server" can take MANY different forms, so you need to understand what you want to get out of it before starting.