Welcome the company of trees

Setting up a mailserver

2010-08-20

Revision History
Revision 0.12010-08-20FU
Just a note to start-up scripts

Table of Contents

Introduction

We start with a basic debian configuration of the system using

dpkg-reconfigure exim4-config

. Here you need to know some things about your ISP, for example if they have a smart host etc.

First we need to protect the server with spamassasin and clamav and add some stricter settings. Then we need to set up certificates and keys. Next step is to enable LDAP to deal with mailaccounts. Setting up mailman and graylistd. Then we should be able to start sending and receiving emails!

To read the emails I choose IMAP. It is central and flexible. dovecot does an excellent job in handling the emails. This will also be set up in this article.