Installing mail server

My initial install of EE mail software did not work completely. Incoming emails were not being received despite numerous configuration changes. So I did a clean install of Ubuntu 14.04. Now, what is the best way to install EE for a standard encrypted WP site with email capabilities?

Installed stack --web and then stack --mail and all went fine this time - can send and receive. Thanks for this package.