在Fedora上建立自己的邮件服务器(2)_Mail服务器教程
教程Tag:暂无Tag,欢迎添加,赚取U币!
C.对表的内容的一些说明.
mysql> use postfix Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> show tables; +-------------------+ | Tables_in_postfix | +-------------------+ | alias | | domain | | mailbox | +-------------------+ 3 rows in set (0.00 sec) mysql> desc alias; +----------+--------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +----------+--------------+------+-----+---------+-------+ | username | varchar(255) | | PRI | | | | goto | text | | | | | | domain | varchar(255) | | | | | +----------+--------------+------+-----+---------+-------+ 3 rows in set (0.00 sec) mysql> desc domain; +-------------+--------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------------+--------------+------+-----+---------+-------+ | domain | varchar(255) | | PRI | | | | description | varchar(255) | | | | | +-------------+--------------+------+-----+---------+-------+ 2 rows in set (0.00 sec) mysql> desc mailbox; +--------------------+----------------------+------+-----+------------+-------+ | Field | Type | Null | Key | Default | Extra | +--------------------+----------------------+------+-----+------------+-------+ | userid | varchar(20) binary | | | | | | username | varchar(255) | | PRI | | | | password | varchar(255) | | | | | | home | varchar(255) | | | | | | maildir | varchar(255) | | | | | | name | varchar(255) | | | | | | uid | smallint(5) unsigned | | | 12345 | | | gid | smallint(5) unsigned | | | 12345 | | | quota | varchar(255) | | | | | | domain | varchar(255) | | | | | | create_date | date | | | 0000-00-00 | | | create_time | time | | | 00:00:00 | | | change_date | date | | | 0000-00-00 | | | change_time | time | | | 00:00:00 | | | last_access | int(10) unsigned | | | 0 | | | passwd_lastchanged | int(10) unsigned | | | 0 | | | status | tinyint(4) | | MUL | 1 | | +--------------------+----------------------+------+-----+------------+-------+ 17 rows in set (0.00 sec) mysql> domain表的解释: domain 任意的domain. description 通常是2种 "local:" 用于本地的 or "virtual:" 用于是虚拟的. alias表的解释: Mailbox表的内容: |
三、pam-mysql的编译
tar pam-mysql-5.0.tar.gz
make cp pam_mysql.so /lib/security
相关Mail服务器教程:
- 相关链接:
- 教程说明:
Mail服务器教程-在Fedora上建立自己的邮件服务器(2)。