Article Title: create a powerful email server based on Fedora. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
I. Software preparation
A. Check whether the following software has been installed on your system.
1. pam
2. pam-devel
3. mysql
4. mysql-servel
5. mysql-devel
6. imap-devel
7. sharutils
B. download the following software
1. metamail *. i386.rpm
2. pam-mysql
3. cyrus-sasl-2.1.15
4. postfix-2.0.16
5. courier-imap
C. Description
Mysql-devel has 3rd disks. I forgot to install it. As a result, pam-mysql and postfix cannot be compiled. Metamail and sharutils use the verification code.
Ii. Create a mysql database and table
A. [root @ localhost root] # mysql
Welcome to the MySQL monitor. Commands end with; or \ g.
Your MySQL connection id is 3 to server version: 3.23.58
Type 'help; 'or' \ H' for help. Type '\ C' to clear the buffer.
Mysql> use mysql
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with-
Mysql>
Domain table explanation:
Any domain in the domain.
Description is usually two types of "local:" for local or "virtual.
Description of the alias table:
Username is a virtual mailbox address@domain.tld that will be forwarded to the connection under goto.
Goto can use a simple name, if it is a local user name, such as (root, postmaster, etc.), or the entire mailbox name, user@domain.tld.
Mailbox table content:
Userid user code
Username can be user. domain. tld or user@domain.tld
Use encrypt ('Password') to input the password in mysql.
The real name used by name.
Uid virtual user identity uid
Gid of the gid Group
Home "/usr/local/virtual/". Maildirs must be in this directory.
Domain is not required, but some software needs it.
Maildir is the whole address and must end.
Quota mailbox space or information limit.
Status 0 is forbidden. "MYSQL_WHERE_CLAUSE = status ".
Iii. pam-mysql Compilation
Tar pam-mysql-5.0.tar.gz
Make cp pam_mysql.so/lib/security
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service