Virtual Users And Domains With Postfix, Courier And MySQL (Mandriva 2008.0)

Posted by falko on Jan 15, 2008 8:22 AM EDT
HowtoForge; By Falko Timme
Mail this story
Print this story

This document describes how to install a Postfix mail server that is based on virtual users and domains, i.e. users and domains that are in a MySQL database. I will 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 will 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.

This document describes how to install a Postfix mail server that is based on virtual users and domains, i.e. users and domains that are in a MySQL database. I will 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 will 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.

http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-mandriva2008.0

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Mandriva

« Return to the newswire homepage

Subject Topic Starter Replies Views Last Post
Virtual users for virtual computers ColonelPanik 0 1,025 Jan 15, 2008 3:26 PM

You cannot post until you login.