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
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.
- Setting up Postfix / MYSQL /DNS
- Setting up Dovecot
- Setting up Roundcube & Postfixadmin
- Setting up Spamassasin
- 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.