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

Kubuntu 14.10 review

KDE has improved in may respects since my last review of Kubuntu, so it’s fair to say that Kubuntu itself has improved. Muon Discover has improved too, so kudos to the developer. However, Kubuntu is not the best KDE-using distribution around. ROSA Desktop, for example, offers many more features than most KDE-using desktops. That said, Kubuntu 14.10 should be good enough for most users. If you would like to take it for a spin on your computer, installation images are available for download from here. Read more

Dispelling the myths of open source licences

Misconceptions surrounding the rights and obligations provided by open source software in the enterprise have fueled the spread of fear, uncertainty and doubt. A better understanding of the role open source licensing will help organizations realist the full potential of open source investments. Read more

Cinnamon Desktop Spices Up Makulu Linux

The Makulu Cinnamon Debian Edition 1.1 marks a new path for Makulu. This latest release has numerous new features that could make it a top competitor against the Linux Mint Cinnamon edition. Read more

Ubuntu 14.10 vs Kubuntu 14.10 vs Xubuntu 14.10 vs Lubuntu 14.10 vs Ubuntu GNOME 14.10: A Comparison

So, in nutshell, I found Lubuntu 14.10 to be the best in performance among the Ubuntu distros. It offered me trouble free experience throughout my usage and I found it to be really stable. Anyone looking for a really really efficient distro and those with low powered machines can safely bet on Lubuntu 14.10 Based on my experience, I found Ubuntu GNOME to be the second best offering very decent performance with a very refined desktop environment. I thought Xubuntu would occupy this position but unfortunately, a bit of instability in the distro marred my experience. I would safely recommend Ubuntu GNOME 14.10 to users with modern laptop with or without touchscreen over the rest of the four distros. As usual Kubuntu is the slowest of the lot and consumes the most power. You can expect the least battery life from Kubuntu. However, the desktop environment (specially the Plasma 5 upgrade) is mind blowing! Those with powerful modern machines and less usage of battery power can safely choose Kubuntu as it seemed to be the most exciting of the lot. Read more