Introduction

This is an advanced email server configuration. This configuration will allow you to serve multiple domains on one server. This how-to will allow you to setup a server that is one of four mail server types:

Mail server with spam and virus checking

Mail server w/o spam and virus checking

Backup MX / spam and virus filtering server

Backup MX (You want to receive and hold mail while your main server is down)

You will get the following features:

Postfix: MTA behind the mail receiving and sending

SMTP authentication

Secure SMTP using TLS

Dovecot: Imap and pop3 mailbox service

Secure IMAP and pop3

Server-side filtering of flagged spam to a spam folder

Mysql: handle all the virtual domains and users

ViMbAdmin: GUI for domain administration

RoundCube: webmail access

Spam/virus filtering using amavisd-new, SpamAssassin and ClamAV

Note: This tutorial divided into 7 part and Each part describe a unique feature. First, 3 part implement the system workable and rest of the 4 part will be added extra functionality with your system to meet enterprise goals.