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

Bloomberg's big move on machine learning and open source

With its orange text on black interface and colour coded keyboard, the Bloomberg professional services terminal – known simply as ‘The Terminal’ – doesn’t appear to have changed much since it was launched in the early ’80s. But behind the retro (Bloomberg prefers ‘modern icon’) stylings, its delivery of financial markets data news, and trading tools has advanced rapidly. The terminal’s 315,000 subscribers globally are now able to leverage on machine learning, deep learning, and natural language processing techniques developed by the company, as they seek an edge in their investment decisions. Bloomberg is also applying those same techniques to its internal processes. Leading the company’s efforts in the area is Bloomberg’s head of data science Gideon Mann, who spoke with CIO Australia earlier this month. [...] Behind much of Bloomberg’s recent builds has been an open source ethic. Mann says there has been a sea change within the company about open source. "When the company started in 1981 and there really wasn't a whole lot of open source. And so there was a mentality of you know if it's not invented here we're not interested,” Mann says. [...] The organisation took some convincing, but, championed by the CTO, there has been a “huge culture change” towards open source. “There are two groups you got to convince: you’ve got to convince management that using open source is going to be safe and lead to better software, and then you also have to convince engineers that using open source is going to increase their skillset, will lead to software that’s easier to maintain and is less buggy and it's going to be a more beautiful system. Once you can kind of convince those two then you're set,” Mann says. The company is an active contributor to projects including Solr, Hadoop, Apache Spark and Open Stack. Read more Also: Uber Open Sources AthenaX, Its Streaming Analytics Platform

Firefox 57 - Trick or Treat?

The best way to describe Firefox 57 is too little, too late, but better later than never. In a way, it's a pointless release, because it brings us back roughly where Firefox was and should have been years ago. Only all this time in between was wasted losing user base. WebExtensions will be the thing that makes or breaks the browser, and with insufficient quality in the available replacements for those that don't make the culling list, there will be no real incentive for people to stay around. Firefox 57 is better than earlier versions in terms of looks and performance, but that's like saying you get 50% discount on a price that is twice what it should be. Ultimately unnecessary, just like graduating from university by the age of 68. There aren't any major advantages over Chrome. This is essentially a Firefox that sucks less. So yes, on the positive side, if you do want to continue using Firefox, version 57 makes much more sense than the previous 53 releases. It has an almost normal look, some of the sorely needed security & privacy addons are available, and it offers a passable user experience in terms of speed and responsiveness. Bottom line, I will stick with Firefox for now. As long as my extensions keep working. Take care. Read more

Android Leftovers

The origin and evolution of FreeDOS

Over the years, developers have shared with me how they use FreeDOS to run embedded systems. My all-time favorite example is a developer who used FreeDOS to power a pinball machine. FreeDOS ran an application that controlled the board, tallied the score, and updated the back display. I don't know exactly how it was built, but one way such a system could work is to have every bumper register a "key" on a keyboard bus and the application simply read from that input. I thought it was cool. People sometimes forget about legacy software, but it pops up in unexpected places. I used to be campus CIO of a small university, and once a faculty member brought in some floppy disks with old research data on them. The data wasn't stored in plaintext files, rather as DOS application data. None of our modern systems would read the old data files, so we booted a spare PC with FreeDOS, downloaded a shareware DOS program that could read the application data, and exported the data to plaintext. Read more