Yesterday I was configuring the mail server on my hosting. Because I'm mostly doing programming, not administration, I'm writing this notes which are serving as a simple how to, if I must do it once more in a couple of years.
In spite of the fact I've done all on Debian, all the described things schould work on some other Linux distribution as well. First install
Postfix and
Dovecot
The configuration will fulfill the following points:
- IMAP over SSL
- SMTP over SSL (Postfix using Dovecot SASL)
- Multiple domains with virtual users
- Mailing possibility for the local users
- Mailboxes in the Maildir format