Cause: It is faster than php, so I used it for a long time on the Internet. I didn't know how to set up extmail on Ubuntu. I tried it myself. It's almost a month and I finally got it done, it has been tested for a week, and there is not much problem. Now let's share it with you. Let's not talk much about it. Let's start with: the architecture extmail Mail System in Ubuntu9.04. You can also refer to Ubuntu9.10. Software environment: functional module content remarks Operating System (OS) Ubuntu Open Source System
Cause: It is faster than php, so I used it for a long time on the Internet. I didn't know how to set up extmail on Ubuntu. I tried it myself. It's almost a month and I finally got it done, it has been tested for a week, and there is not much problem. Now let's share it with you.
Let's not talk much about it. Start:
The following describes the extmail Mail System Architecture in Ubuntu 9.04, which can be referenced in Ubuntu 9.10.
Software environment:
Function module content remarks
Operating System (OS) Ubuntu Open Source System
The message transmission proxy (MTA) Postfix uses the latest version 2.5.1.
The database/directory service MySQL can be openLDAP or NetScape LDAP. This document is based on MySQL.
Email Delivery proxy (MDA) maildrop supports filtering and powerful functions
The ExtMan Web account management backend supports unlimited domain names and unlimited users.
The POP3 server Courier-IMAP only uses the pop3 part, which is sufficient for most enterprises.
The WebMail system ExtMail supports multiple languages and all templates. It provides basic functions.
The most popular open-source Anti-Virus software ClamAV
SMTP Stage Anti-Spam Locker Antispam software based on SMTP behavior recognition, a large number of optional plug-ins
Content Filter Amavisd-new Content-Filter software, supporting mounting with clamav/sa
The well-known content-level anti-spam tool SpamAssassin SA can support a large number of rules, but it is slow
SMTP authentication library Cyrus SASL standard SASL implementation library, supports Courier authlib
Other data authentication libraries Courier Authlib authlib are key components of services such as maildrop and courier-imap.
Log Analysis and display mailgraph_ext already contains
Install LAMP on Web Server
Most of the above software can find extmail, extman, and spam loocker on the Ubuntu source. You can download the latest version at http://www.extmail.org/cgi-bin/download.cgi.
First, install the system, host name mail.extmail.org, language, upgrade the system, and use the root permission to log on to the system. After all the steps are completed, we can run it on the terminal.
Sudo tasksel
The interface is the same as the new one. Here I select "LAMP Server", "OpenSSH Server", and "Samba fileserver". You can choose one as required, move the cursor to the software you want to install and press "space" to select. During installation, you will be asked to enter the "Mysql" password. After installation, we also need to install phpmyadmin to manage mysql.
Sudo apt-get install phpmyadmin
When "phpmyadmin" is installed, "Configure database for phpmyadmin withdbconfig-common?" appears ?", Select "no". Open "Firefox" and enter "localhost/phpmyadmin" in the address. The phpmyadmin interface indicates that you have succeeded.
In the previous step, I installed the "openssh server" Remote Management Service. I configured "Log on based on RSA key", which is more secure.
Sudo ssh-keygen-t rsa
Generate public/private RSA key pairs.
Enter the file with the key (/home/B/. ssh/id_rsa ):
Enter passphrase (empty for no passphrase ):
Enter the same passphrase again:
Your verification file is saved in/home/B/. ssh/id_rsa.
Your public key is stored in/home/B/. ssh/id_rsa.pub.