This is why I use Webfaction[1] for smaller projects. It's an excellent mix of command line and one-click Apache/nginx/DNS/email installers. I actually only found them because I noticed a few YC companies using their email servers.
Note that link above is an affiliate link. Use this one if ou dont want to use the affiliate link: