I must set up a company mail server (smtp, imap, web mail, multiple domains, web-based administration) on an Ubuntu 10.04 Server this night. I've never done this before and have only the very-very basic idea on how does e-mail work. I was hoping to use iRedMail, but it does not work on 10.04. Can you point to a good easy HOWTO on setting up mail servers as they are meant to be today?
Ubuntu help: Setting up an Ubuntu System as an Email Server
A Mail Transfer Agent (MTA) is the program which receives and sends out the email from your server, and is therefore the key part. The default MTA in Ubuntu is Postfix, but exim4 is also fully supported and in the main repository
Some other references,
- Simple Mail Server Setup on Ubuntu
Short Step By Step Guide
- How to set up a mail server on a GNU / Linux system
Step by step guide to install Postfix
Ubuntu + Postfix + Courier IMAP + MySQL + Amavisd-new + SpamAssassin + ClamAV + SASL + TLS + SquirrelMail/Roundcube + Postgrey
This should at least be a good start. Exim4 is very easy to setup.