Download the Ubuntu Server 10.04, and when you are finishing the installation you can select what install (mail server, web server, etc).
For reference, search "Postfix" in the web. If you will develop your service in PHP, then install LAMP. Else if you will develop in Python, search "Nginx".