Language Selection

English French German Italian Portuguese Spanish

Build a Mail Server with Commodity Hardware and FreeBSD

Filed under
HowTos

In this Recipe, I'll show you how to build a mail server for your SMB clients using simple, commodity PC hardware, the FreeBSD operating system, and several pieces of freely available open-source software. At first blush, this may appear to be a daunting task. But by following the steps in this Recipe, you'll find it's not difficult at all. In fact, you should be able to build the entire setup in just a couple of hours.

System builders who take advantage of this Recipe stand to increase their business with SMBs by fulfilling their need for low-cost, reliable, and on-site e-mail servers. Because the open-source software I recommend in this Recipe is well-suited to white box hardware, system builders have a wide variety of hardware they can use for such servers. Your customers will appreciate the control and security of a customized onsite solution, which can pay for itself in saved hosting fees.

In Part 1, I'll show you how to use FreeBSD, Postfix, and Dovecot to create a secure, basic e-mail server for a single domain. Then, in Part 2, I'll show how to add extended functionality—including spam detection, virus filtering, and Webmail access—to the basic server we'll build in this first part. Let's get started.

Part One.

Part Two.

More in Tux Machines

Why and how I became a software engineer

Throughout my experiences, the fascinating weeks I'd spent writing out DOS commands remained a prominent influence, bleeding into little side projects and occupying valuable study time. As soon as Geocities became available to all Yahoo! Users, I created a website where I published blurry pictures that I'd taken on a tiny digital camera. I created websites for free, helped friends and family fix issues they had with their computers, and created a library database for a church. This meant that I was always researching and trying to find more information about how things could be made better. The Internet gods blessed me and open source fell into my lap. Suddenly, 30-day trials and restrictive licenses became a ghost of computing past. I could continue to create using GIMP, Inkscape, and OpenOffice. Read more

Linux Kernel 3.18.32 LTS Released with Btrfs, EXT4, ARM, x86, and PA-RISC Fixes

Immediately after announcing today the release of Linux kernel 4.1.23 LTS, and after informing us yesterday about the availability of Linux kernel 3.12.59 LTS, kernel developer Sasha Levin now published details about Linux kernel 3.18.32 LTS. Read more

Linux greybeards release beta of systemd-free Debian fork

The effort to create a systemd-free Debian fork has borne fruit, with a beta of “Devuan Jessie” appearing in the wild. Devuan came into being after a rebellion by a self-described “Veteran Unix Admin collective” argued that Debian had betrayed its roots and was becoming too desktop-oriented. The item to which they objected most vigorously was the inclusion of the systemd bootloader. The rebels therefore decided to fork Debian and “preserve Init freedom”. The group renamed itself and its distribution “Devuan” and got work, promising a fork that looked, felt, and quacked like Debian in all regards other than imposing systemd as the default Init option. Read more

GNOME Builder 3.20.2 Arrives with LLVM 3.8, FreeBSD and OpenBSD Support

The developers behind the GNOME Builder IDE (Integrated Development Environment) pushed earlier to updates of the software to the stable and devel channels, GNOME Build 3.20.2 and 3.21.1. Read more