Читать книгу Creation of Postfix Mail Server Based on Virtual Users and Domains - Dr. Hidaia Mahmood Alassouli - Страница 5
1. Introduction:
ОглавлениеThe purpose behind this project is to create a mail server solution based on Postfix that is based on virtual users and domains, i..e. users and domains that are in a MySQL database. It will also demonstrate the installation and configuration of Courier-Imap (IMAP/POP3), so it can authenticate against the same MySQL database Postfix uses. The resulting postfix server is capable of quota which is not built into Postfix by default; the project will demonstrate how to patch postfix appropriately. Passwords are stored in encrypted form in the database. The project also covers the installation of Mail Scanner, SpamAssassin and ClamAV so that emails will be scanned for spams and viruses. The administration of MySQL database can be done through a web based tool Postfixadmin or can be done manually in the MySQL shell. Postfixadmin is a web based management tool created for Postfix that handles Postfix style virtual domains and users that are stored in MySQL. The squirrelmail web based email client is installed, in order to check emails from anywhere in world via internet. All installations were done in Fedora 5 machine.
The project composed from the following parts:
• Installing Postfix.
• Installing Courier-IMAP (in case you want to use Courier as IMAP/POP Server).
• Creating the Database Tables.
• Populating Database with Some Data.
• Creating the Postfix-Mysql Configuration Files.
• Installing Postfixadmin.
• Installing MailScanner.
• Installing ClamAV and SpamAssassin.
• Creating the Virtual User and Virtual Directory.
• Configuring MailScanner.
• Configuring Postfix.
• Courier-IMAP Configuration.
• Configuring Squirrellmail.
• Testing the Configuration.
I advice that you install the necessary packages from rpm.pbone.net. All installations were done in Fedora 5 Linux machine.