Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu) | Linux Today

Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu)

Written By
Web Webster
Web Webster
Jun 10, 2010

[ Thanks to Falko
Timme
for this link. ]

“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. I will also show how to install SquirrelMail as a webmail
interface so that users can read and send emails and change their
passwords.

“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.”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.