Categories
Linux

How to become master of e-mail with a Raspberry Pi 2

Hi there!Stock Image form pixabay.com

You properly ended up at this site, in search on how to setup an e-mail server on A Raspberry Pi. The reason why I chose to setup an e-mail server on my Pi was that I initially ran everything from my NAS. At some point it ended up with the NAS, a ARM-Based  Synology Disk Stations, was running full load all the time.  So therefore i decided to remove all non-storage services from the NAS and migrate them to the Pi, here under e-mail.

I started up search for guides on how to configure an email setup, but was not quite satisfied  with what I found. Do not get me wrong, there are some great guides out there, and I did not invent the wheel all over again 🙂 I have based these following blog posted on these guides

Raspberry Pi email server

A Mailserver on Ubuntu 16.04 Postfix Dovecot MYSQL

How to run your own e-mail server with your own domain

From which I have cherry picked the configurations that worked for me. I did not setup an e-mail server with the intend to use it as my primary mail server, but rather as fun project, to see if the Raspberry Pi would be powerful enough, to learn something about setting up postfix, and to have an easy way to create e-mail aliases, for user account for online purchases and sketchy websites 🙂

As the e-mail setup is rather long and contains may different parts, I will break these post into 5 different posts.

  1. Setting up Postfix / MYSQL /DNS
  2. Setting up Dovecot
  3. Setting up Roundcube & Postfixadmin
  4. Setting up Spamassasin
  5. Setting up Sieve

What i wanted was a e-mail server which was secure, easy to manage, and reachable from portable devices.

Please check back for the first post in this guide series in a week or two.

/Boye