Language Selection

English French German Italian Portuguese Spanish

Howto: Mail Server with Virtual Users And Domains

Filed under
HowTos

This document describes how to install a mail server based on Postfix that is based on virtual users and domains, i.e. users and domains that are in a MySQL database. I'll also demonstrate the installation and configuration of Courier (Courier-POP3, Courier-IMAP), so that Courier can authenticate against the same MySQL database Postfix uses.

The resulting Postfix server is capable of SMTP-AUTH and TLS and quota (quota is not built into Postfix by default, I'll show how to patch your Postfix appropriately). Passwords are stored in encrypted form in the database (most documents I found were dealing with plain text passwords which is a security risk). In addition to that, this tutorial covers the installation of Amavisd, SpamAssassin and ClamAV so that emails will be scanned for spam and viruses.

The advantage of such a "virtual" setup (virtual users and domains in a MySQL database) is that it is far more performant than a setup that is based on "real" system users. With this virtual setup your mail server can handle thousands of domains and users. Besides, it is easier to administrate because you only have to deal with the MySQL database when you add new users/domains or edit existing ones. No more postmap commands to create db files, no more reloading of Postfix, etc. For the administration of the MySQL database you can use web based tools like phpMyAdmin which will also be installed in this howto. The third advantage is that users have an email address as user name (instead of a user name + an email address) which is easier to understand and keep in mind.

Full Story.

More in Tux Machines

Leftovers: Gaming

Open Source Software: 10 Go To Solution for Small Businesses

While closed-source operating systems such as Windows and Mac OS may still dominate the OS market, not everyone can afford the high costs that they entail. For small- and medium-sized enterprises where every penny matters, taking advantage of open-source software such as Ubuntu’s Linux is a good bet to boost productivity and cost effectiveness. The fact that open-source softwares have evolved to become somewhat user-friendly and sleek also helps a good deal. Read more

Linux 4.11-rc8

So originally I was just planning on releasing the final 4.11 today, but while we didn't have a *lot* of changes the last week, we had a couple of really annoying ones, so I'm doing another rc release instead. I did get fixes for the issues that popped up, so I could have released 4.11 as-is, but it just doesn't feel right. It's not like another week of letting this release mature will really hurt. The most noticeable of the issues is that we've quirked off some NVMe power management that apparently causes problems on some machines. It's not entirely clear what caused the issue (it wasn't just limited to some NVMe hardware, but also particular platforms), but let's test it. Read more Also: Linux 4.11 delayed for a week by NVMe glitches and 'oops fixes' Linux 4.11 Pushed Back: 4.11-rc8 Released

Themes for Ubuntu

  • Flattiance is a Flat Fork of Ubuntu’s Ambiance Theme
    Flattiance is pitched as a “semi-flat fork” of the Ubuntu Ambiance theme. You know, the one that ships out of the box and by default. On the whole Flattiance keeps to the same color palette, with dark browns and orange accents, but it ditches the gradient in app headers in favour of a solid block.
  • A quick look at some essential GNOME Shell tweaks and extensions
    Now that Ubuntu is moving to GNOME Shell, many people will get a bit of a shock at how different the workflow is from Unity to Shell. Here’s a quick look at some essentials to get you going.