基于虚拟帐号的邮件系统

使用postfix,cyrus-sasl,courier-authlib,mysql,dovecot,extmail,extman搭建电子邮件系统,可以使用web方式以虚拟账号注册登录邮箱,并且发送接受邮件,实现电子邮件功能。

clip_image002

准备工作

挂载光盘

[root@localhost ~]# mkdir /mnt/cdrom

[root@localhost ~]# mount /dev/cdrom /mnt/cdrom

mount: block device /dev/cdrom is write-protected, mounting read-only

创建本地yum源

[root@localhost ~]# vim /etc/yum.repos.d/rhel-debuginfo.repo

name=Red Hat Enterprise Linux server

baseurl=file:///mnt/cdrom/Server

enabled=1

gpgcheck=1

gpgkey=file:///mnt/cdrom/RPM-GPG-KEY-redhat-release

~

安装dns

[root@localhost Server]# yum install bind

Loaded plugins: rhnplugin, security

This system is not registered with RHN.

RHN support will be disabled.

rhel-server | 1.3 kB 00:00

rhel-server/primary | 732 kB 00:00

rhel-server 2292/2292

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package bind.i386 30:9.3.6-4.P1.el5 set to be updated

--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================

Package Arch Version Repository Size

=======================================================================================================

Installing:

bind i386 30:9.3.6-4.P1.el5 rhel-server 978 k

Transaction Summary

=======================================================================================================

Install 1 Package(s)

Update 0 Package(s)

Remove 0 Package(s)

Total download size: 978 k

Is this ok [y/N]: Exiting on user Command

Complete!

[root@localhost Server]# yum install bind-chroot

[root@localhost Server]# yum install caching-nameserver

[root@localhost Server]# cd /var/named/chroot/etc/

[root@localhost etc]# ll

?昏. 16

-rw-r--r-- 1 root root 405 08-20 21:25 localtime

-rw-r----- 1 root named 1230 2009-07-30 named.caching-nameserver.conf

-rw-r----- 1 root named 955 2009-07-30 named.rfc1912.zones

-rw-r----- 1 root named 113 08-20 21:57 rndc.key

[root@localhost etc]# cp -p named.caching-nameserver.conf named.conf

[root@localhost etc]# vim named.conf

[root@localhost etc]# vim named.rfc1912.zones

添加下列行

27 zone "tik.com" IN {

28 type master;

29 file "tik.com.zone";

30 allow-update { none; };

31 };

[root@localhost etc]# cd ../var/named/

[root@localhost named]# ll

总计 36

drwxrwx--- 2 named named 4096 2004-08-26 data

-rw-r----- 1 root named 198 2009-07-30 localdomain.zone

-rw-r----- 1 root named 195 2009-07-30 localhost.zone

-rw-r----- 1 root named 427 2009-07-30 named.broadcast

-rw-r----- 1 root named 1892 2009-07-30 named.ca

-rw-r----- 1 root named 424 2009-07-30 named.ip6.local

-rw-r----- 1 root named 426 2009-07-30 named.local

-rw-r----- 1 root named 427 2009-07-30 named.zero

drwxrwx--- 2 named named 4096 2004-07-27 slaves

[root@localhost named]#

[root@localhost named]# cp -p localhost.zone tik.com.zone

[root@localhost named]# vim tik.com.zone

clip_image004

做dns指向

[root@localhost named]# vim /etc/resolv.conf

clip_image006

关闭sendmail,并将它的随系统启动功能关闭:

[root@localhost named]# service sendmail stop

关闭 sm-client: [确定]

关闭 sendmail: [确定]

[root@localhost named]# chkconfig sendmail off

安装所需的rpm包,这包括以下这些

[root@localhost named]# yum install httpd php php-mysql mysql mysql-server mysql-devel openssl-devel dovecot perl-DBD-MySQL tcl tcl-devel libart_lgpl libart_lgpl-devel libtool-ltdl libtool-ltdl-devel expect

启动mysql数据库,并给mysql的root用户设置密码:

[root@localhost named]# service mysqld start

启动 MySQL: [确定]

授权本地用户

mysql> SET PASSWORD FOR root@'localhost'=PASSWORD('redhat');

Query OK, 0 rows affected (0.13 sec)

mysql> SET PASSWORD FOR root@'127.0.0.1'=PASSWORD('redhat');

Query OK, 0 rows affected (0.03 sec)

mysql> FLUSH PRIVILEGES;

Query OK, 0 rows affected (0.05 sec)

mysql>

授权远程用户

mysql> GRANT ALL PRIVILEGES ON *.* TO root@'%' IDENTIFIED BY 'redhat';

Query OK, 0 rows affected (1.08 sec)

mysql> FLUSH PRIVILEGES;

Query OK, 0 rows affected (0.14 sec)

mysql>

启动saslauthd服务,并将其加入到自动启动队列

[root@localhost named]# service saslauthd start

启动 saslauthd: [确定]

[root@localhost named]# chkconfig saslauthd on

源代码安装postfix

[root@localhost ~]# groupadd -g 2525 postfix

[root@localhost ~]# useradd -g postfix -u 2525 -s /sbin/nologin -M postfix

[root@localhost ~]# groupadd -g 2526 postdrop

[root@localhost ~]# useradd -g postdrop -u 2526 -s /bin/false -M postdro

[root@localhost ~]# tar zxvf postfix-2.8.2.tar.gz

[root@localhost ~]# cd postfix-2.8.2

[root@localhost postfix-2.8.2]# make makefiles 'CCARGS=-DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DUSE_TLS ' 'AUXLIBS=-L/usr/lib/mysql -lmysqlclient -lz -lm -L/usr/lib/sasl2 -lsasl2 -lssl -lcrypto'

[root@localhost postfix-2.8.2]# make

[root@localhost postfix-2.8.2]# make install

输入相关的路径([]号中的是缺省值,”]”后的是输入值,省略的表示采用默认值)

install_root: [/] /

Please specify a directory for scratch files while installing Postfix. You

must have write permission in this directory.

tempdir: [/root/postfix-2.8.2] /tmp

Please specify the final destination directory for installed Postfix

configuration files.

config_directory: [/etc/postfix] /etc/postfix

Please specify the final destination directory for installed Postfix

administrative commands. This directory should be in the command search

path of adminstrative users.

command_directory: [/usr/sbin]

Please specify the final destination directory for installed Postfix

daemon programs. This directory should not be in the command search path

of any users.

daemon_directory: [/usr/libexec/postfix]

Please specify the final destination directory for Postfix-writable

data files such as caches or random numbers. This directory should not

be shared with non-Postfix software.

data_directory: [/var/lib/postfix]

Please specify the destination directory for the Postfix HTML

files. Specify "no" if you do not want to install these files.

html_directory: [no]

Please specify the owner of the Postfix queue. Specify an account with

numerical user ID and group ID values that are not used by any other

accounts on the system.

mail_owner: [postfix]

Please specify the final destination pathname for the installed Postfix

mailq command. This is the Sendmail-compatible mail queue listing command.

mailq_path: [/usr/bin/mailq]

Please specify the destination directory for the Postfix on-line manual

pages. You can no longer specify "no" here.

manpage_directory: [/usr/local/man]

Please specify the final destination pathname for the installed Postfix

newaliases command. This is the Sendmail-compatible command to build

alias databases for the Postfix local delivery agent.

newaliases_path: [/usr/bin/newaliases]

Please specify the final destination directory for Postfix queues.

queue_directory: [/var/spool/postfix]

Please specify the destination directory for the Postfix README

files. Specify "no" if you do not want to install these files.

readme_directory: [no]

Please specify the final destination pathname for the installed Postfix

sendmail command. This is the Sendmail-compatible mail posting interface.

sendmail_path: [/usr/sbin/sendmail]

Please specify the group for mail submission and for queue management

commands. Specify a group name with a numerical group ID that is

not shared with other accounts, not even with the Postfix mail_owner

account. You can no longer specify "no" here.

setgid_group: [postdrop]

Updating /usr/libexec/postfix/anvil...

Updating /usr/libexec/postfix/bounce...

Updating /usr/libexec/postfix/cleanup...

Updating /usr/libexec/postfix/discard...

Updating /usr/libexec/postfix/dnsblog.

生成别名二进制文件,这个步骤如果忽略,会造成postfix效率极低:

[root@localhost postfix-2.8.2]# newaliases

clip_image008

进行一些基本配置

设置postfix可以用命令service启动

[root@localhost ~]# mkdir /tmp/abc

[root@localhost ~]# cd /tmp/abc

将postfix的rpm包拷贝到当前目录下

[root@localhost abc]# cp /mnt/cdrom/Server/postfix-2.3.3-2.1.el5_2.i386.rpm ./

[root@localhost abc]# ll

总计 3652

-r--r--r-- 1 root root 3734257 09-15 14:31 postfix-2.3.3-2.1.el5_2.i386.rpm

[root@localhost abc]# rpm2cpio postfix-2.3.3-2.1.el5_2.i386.rpm |cpio -id

16333 blocks

[root@localhost abc]# ll

总计 3664

drwxr-xr-x 5 root root 4096 09-15 14:32 etc

-r--r--r-- 1 root root 3734257 09-15 14:31 postfix-2.3.3-2.1.el5_2.i386.rpm

drwxr-xr-x 7 root root 4096 09-15 14:32 usr

drwxr-xr-x 3 root root 4096 09-15 14:32 var

[root@localhost abc]#

clip_image010

将其拷贝到/etc/init.d目录下即可

[root@localhost init.d]# cp postfix /etc/init.d/

[root@localhost init.d]# service postfix start

启动 postfix: [确定]

[root@localhost init.d]#

[root@localhost init.d]# chkconfig postfix on

[root@localhost ~]# vim /etc/postfix/main.cf

clip_image012

clip_image014

clip_image016

clip_image018

说明:

myorigin参数用来指明发件人所在的域名;

mydestination参数指定postfix接收邮件时收件人的域名,即您的postfix系统要接收到哪个域名的邮件;

myhostname 参数指定运行postfix邮件系统的主机的主机名,默认情况下,其值被设定为本地机器名;

mydomain参数指定您的域名,默认情况下,postfix将myhostname的第一部分删除而作为mydomain的值;

mynetworks 参数指定你所在的网络的网络地址,postfix系统根据其值来区别用户是远程的还是本地的,如果是本地网络用户则允许其访问;

inet_interfaces 参数指定postfix系统监听的网络接口;

注意:

1、在postfix的配置文件中,参数行和注释行是不能处在同一行中的;

2、任何一个参数的值都不需要加引号,否则,引号将会被当作参数值的一部分来使用;

3、每修改参数及其值后执行 postfix reload 即可令其生效;但若修改了inet_interfaces,则需重新启动postfix;

4、如果一个参数的值有多个,可以将它们放在不同的行中,只需要在其后的每个行前多置一个空格即可;postfix会把第一个字符为空格或tab的文本行视为上一行的延续;

[root@localhost ~]# service postfix restart

关闭 postfix: [确定]

启动 postfix: [确定]

[root@localhost ~]#

三、为postfix开启基于cyrus-sasl的认证功能

这里我们可以看到postfix支持验证功能

clip_image020

[root@localhost ~]# vim /etc/postfix/main.cf

添加以下内容:

############################CYRUS-SASL############################

broken_sasl_auth_clients = yes

smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject_invalid_hostname,reject_non_fqdn_hostname,reject_unknown_sender_domain,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unknown_recipient_domain,reject_unauth_pipelining,reject_unauth_destination

smtpd_sasl_auth_enable = yes

smtpd_sasl_local_domain = $myhostname

smtpd_sasl_security_options = noanonymous

smtpd_banner = Welcome to our $myhostname ESMTP,Warning: Version not Available!

clip_image022

[root@localhost mail]# cd /usr/lib/sasl2

[root@localhost sasl2]# cp -p Sendmail.conf smtpd.conf

[root@localhost sasl2]# vim smtpd.conf

添加如下内容,表明验证机制:

pwcheck_method: saslauthd

mech_list: PLAIN LOGIN

[root@localhost ~]# service saslauthd restart

停止 saslauthd: [确定]

启动 saslauthd: [确定]

[root@localhost ~]#

clip_image024

四、安装Courier authentication library

[root@localhost ~]# tar jxvf courier-authlib-0.63.1.20111230.tar.bz2

[root@localhost ~]# cd courier-authlib-0.63.1.20111230

检测预编译环境

#./configure --prefix=/usr/local/courier-authlib --sysconfdir=/etc --with-authmysql --with-mysql-libs=/usr/lib/mysql --with-mysql-includes=/usr/include/mysql --with-redhat --with-authmysqlrc=/etc/authmysqlrc --with-authdaemonrc=/etc/authdaemonrc --with-ltdl-lib=/usr/lib --with-ltdl-include=/usr/include

编译

[root@localhost courier-authlib-0.63.1.20111230]# make

安装

[root@localhost courier-authlib-0.63.1.20111230]# make install

[root@localhost courier-authlib-0.63.1.20111230]#chmod 755 /usr/local/courier-authlib/var/spool/authdaemon

[root@localhost courier-authlib-0.63.1.20111230]# cp /etc/authdaemonrc.dist /etc/authdaemonrc 调用验证模块

[root@localhost courier-authlib-0.63.1.20111230]# cp /etc/authmysqlrc.dist /etc/authmysqlrc

调用数据库方法和种类

[root@localhost courier-authlib-0.63.1.20111230]# vim /etc/authdaemonrc

clip_image026

clip_image028

编辑authmysqlrc,用于描述如何向mysql数据库查询信息:

[root@localhost courier-authlib-0.63.1.20111230]# vim /etc/authmysqlrc

26 MYSQL_SERVER local

27 MYSQL_USERNAME exmail

28 MYSQL_PASSWORD exmail

49 MYSQL_SOCKET /var/mysql/mysql.sock

56 MYSQL_PORT 3306

62 MYSQL_OPT 0

68 MYSQL_DATABASE exmail

83 MYSQL_USER_TABLE mailbox

92 MYSQL_CRYPT_PWFIELD password

113 MYSQL_UID_FIELD 2525

119 MYSQL_GID_FIELD 2526

128 MYSQL_LOGIN_FIELD username

133 MYSQL_HOME_FIELD concat('/var/mailbox/',homedir)

139 MYSQL_NAME_FIELD name

150 MYSQL_MAILDIR_FIELD concat('/var/mailbox/',maildir)

修改courier-authlib权限

# cp courier-authlib.sysvinit /etc/init.d/courier-authlib

[root@localhost courier-authlib-0.63.1.20111230]# chmod 755 /etc/init.d/courier-authlib

[root@localhost ~]# echo "/usr/local/courier-authlib/lib/courier-authlib" >> /etc/ld.so.conf.d/courier-authlib.conf

[root@localhost ~]# ldconfig -v

/usr/local/courier-authlib/lib/courier-authlib:

libauthpam.so -> libauthpam.so.0

libauthcustom.so -> libauthcustom.so.0

libauthuserdb.so -> libauthuserdb.so.0

libauthldap.so -> libauthldap.so.0

libcourierauthsaslclient.so -> libcourierauthsaslclient.so.0

libcourierauthsasl.so -> libcourierau

[root@localhost courier-authlib-0.63.1.20111230]# service courier-authlib start

Starting Courier authentication services: authdaemond

[root@localhost init.d]# chkconfig --add courier-authlib

[root@localhost init.d]# chkconfig --level 2345 courier-authlib on

新建虚拟用户邮箱所在的目录,并将其权限赋予postfix用户:

[root@localhost ~]# mkdir --pv /var/mailbox

[root@localhost ~]# chown -R postfix /var/mailbox

接下来重新配置SMTP 认证,编辑 /usr/local/lib/sasl2/smtpd.conf ,确保其为以下内容:

pwcheck_method: authdaemond

log_level: 3

mech_list:PLAIN LOGIN

authdaemond_path:/usr/local/courier-authlib/var/spool/authdaemon/socket

五、让postfix支持虚拟域和虚拟用户

编辑/etc/postfix/main.cf,添加如下内容:

########################Virtual Mailbox Settings########################

virtual_mailbox_base = /var/mailbox

virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf

virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf

virtual_alias_domains =

virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf

virtual_uid_maps = static:2525

virtual_gid_maps = static:2525

virtual_transport = virtual

maildrop_destination_recipient_limit = 1

maildrop_destination_concurrency_limit = 1

##########################QUOTA Settings########################

message_size_limit = 14336000

virtual_mailbox_limit = 20971520

virtual_create_maildirsize = yes

virtual_mailbox_extended = yes

virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf

virtual_mailbox_limit_override = yes

virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please Tidy your mailbox and try again later.

virtual_overquota_bounce = yes

clip_image030

使用extman源码目录下docs目录中的extmail.sql和init.sql建立数据库:

[root@localhost ~]# tar zxvf extman-1.1.tar.gz -C /usr/local

[root@localhost ~]# cd /usr/local/extman-1.1/docs

clip_image032

[root@localhost docs]# cp mysql* /etc/postfix/

授予用户extmail访问extmail数据库的权限

clip_image034

将映射文件拷贝到/etc/postfix/目录下

[root@localhost docs]# cp mysql_virtual_* /etc/postfix/

[root@localhost docs]# service postfix restart

关闭 postfix: [确定]

启动 postfix: [确定]

说明:启用虚拟域以后,需要取消中心域,即注释掉myhostname, mydestination, mydomain, myorigin几个指令;当然,你也可以把mydestionation的值改为你自己需要的

六、配置dovecot

root@localhost ~]# vim /etc/dovecot.conf

211 mail_location =maildir:/var/mailbox/%d/%n/Maildir

验证机制改为mysql验证用户的身份密码验证,验证机制plain

指明用户的邮箱位置

211 mail_location =maildir:/var/mailbox/%d/%n/Maildir #%d表示域

762 mechanisms = plain #验证机制

禁用下列行

795 #passdb pam { #验证密码不采用可插拔模块

828 #}

896 #userdb passwd { #采用mysql数据库验证,不采用passwd

903 #}

启用下列行

869 passdb sql {

871 args = /etc/dovecot-mysql.conf #mysql查找密码

872 }

930 userdb sql {

932 args = /etc/dovecot-mysql.conf #mysql查找账户

933 }

[root@localhost ~]# vim /etc/postfix/main.cf

414 home_mailbox = Mailbox

[root@localhost docs]# vi /etc/dovecot-mysql.conf

clip_image036

[root@localhost docs]# service dovecot start

启动 Dovecot Imap: [确定]

[root@localhost docs]# chkconfig dovecot on

[root@localhost docs]#

七、安装Extmail-1.2 (先安装httpd

[root@localhost ~]# tar zxvf extmail-1.2.tar.gz

extmail的工作目录是固定的/var/www/extsuite,需要手动创建

[root@localhost ~]# mkdir -pv /var/www/extsuite

[root@localhost ~]# mv extmail-1.2 /var/www/extsuite/extmail

[root@localhost ~]# cp /var/www/extsuite/extmail/webmail.cf.default /var/www/extsuite/extmail/webmail.cf

修改主配置文件

77 SYS_USER_LANG = zh_CN

127 SYS_MAILDIR_BASE = /var/mailbox

139 SYS_MYSQL_USER = extmail

140 SYS_MYSQL_PASS = extmail

141 SYS_MYSQL_DB = extmail

142 SYS_MYSQL_HOST = localhost

197 SYS_AUTHLIB_SOCKET = /usr/local/courier-authlib/var/spool/authdaemon/socket

apache相关配置

由于extmail要进行本地邮件的投递操作,故必须将运行apache服务器用户的身份修改为您的邮件投递代理的用户;本例中打开了apache服务器的suexec功能,故使用以下方法来实现虚拟主机运行身份的指定。此例中的MDA为postfix自带,因此将指定为postfix用户:

[root@localhost ~]# vim /etc/httpd/conf/httpd.conf

clip_image038

clip_image040

修改cgi执行文件的运行者的身份为apache

root@localhost ~]# chown -R postfix.postfix /var/www/extsuite/extmail/cgi/

[root@localhost ~]# service httpd restart

停止 httpd: [确定]

启动 httpd: [确定]

[root@localhost ~]# chkconfig httpd on

解决依赖关系

[root@localhost ~]# tar -zxvf Unix-Syslog-1.1.tar.gz

[root@localhost ~]# cd Unix-Syslog-1.1

[root@localhost Unix-Syslog-1.1]# perl Makefile.PL

[root@localhost Unix-Syslog-1.1]# make

[root@localhost Unix-Syslog-1.1]# make install

八、安装Extman-1.1

[root@localhost ~]# tar zxvf extman-1.1.tar.gz

[root@localhost ~]# mv extman-1.1 /var/www/extsuite/extman

修改配置文件以符合本例的需要

[root@localhost ~]# cp /var/www/extsuite/extman/webman.cf.default /var/www/extsui te/extman/webman.cf

[root@localhost ~]# vi /var/www/extsuite/extman/webman.cf

12 SYS_MAILDIR_BASE = /var/mailbox

21 SYS_CAPTCHA_ON = 0

修改cgi目录的属主

[root@localhost ~]# chown -R postfix.postfix /var/www/extsuite/extman/cgi/

在apache的主配置文件中Extmail的虚拟主机部分,添加如下两行:

ScriptAlias /extman/cgi /var/www/extsuite/extman/cgi

Alias /extman /var/www/extsuite/extman/html

创建其运行时所需的临时目录,并修改其相应的权限

[root@localhost ~]# mkdir -pv /tmp/extman

[root@localhost ~]# chown postfix.postfix /tmp/extman

好了,到此为止,重新启动apache服务器后,您的Webmail和Extman已经可以使用了,可以在浏览器中输入指定的虚拟主机的名称进行访问,如下:

http://mail.tik.com

选择管理即可登入extman进行后台管理了。默认管理帐号为:[email protected] 密码为:extmail*123*

说明:

(1) 如果您安装后无法正常显示校验码,安装perl-GD模块会解决这个问题。如果想简单,您可以到以下地址下载适合您的平台的rpm包,安装即可: http://dries.ulyssis.org/rpm/packages/perl-GD/info.html

(2) extman-1.1自带了图形化显示日志的功能;此功能需要rrdtool的支持,您需要安装此些模块才可能正常显示图形日志。

2、配置Mailgraph_ext,使用Extman的图形日志:(下面所需的软件包面要自己下载)

接下来安装图形日志的运行所需要的软件包Time::HiRes、File::Tail和rrdtool,其中前两个包您可以去http://search.cpan.org搜索并下载获得,后一个包您可以到 http://oss.oetiker.ch/rrdtool/pub/?M=D下载获得; 注意安装顺序不能改换。

安装Time::HiRes

#tar zxvf Time-HiRes-1.9707.tar.gz

#cd Time-HiRes-1.9707

#perl Makefile.PL

#make

#make test

#make install

安装File::Tail

#tar zxvf File-Tail-0.99.3.tar.gz

#cd File-Tail-0.99.3

#perl Makefile.PL

#make

#make test

#make install

安装rrdtool-1.2.23

#tar zxvf rrdtool-1.2.23.tar.gz

#cd rrdtool-1.2.23

#./configure --prefix=/usr/local/rrdtool

#make

#make install

创建必要的符号链接(Extman会到这些路径下找相关的库文件)

#ln -sv /usr/local/rrdtool/lib/perl/5.8.8/i386-linux-thread-multi/auto/RRDs/RRDs.so /usr/lib/perl5/5.8.8/i386-linux-thread-multi/

#ln -sv /usr/local/rrdtool/lib/perl/5.8.8/RRDp.pm /usr/lib/perl5/5.8.5

#ln -sv /usr/local/rrdtool/lib/perl/5.8.8/i386-linux-thread-multi/RRDs.pm /usr/lib/perl5/5.8.8

复制mailgraph_ext到/usr/local,并启动之

# cp -r /var/www/extsuite/extman/addon/mailgraph_ext /usr/local

# /usr/local/mailgraph_ext/mailgraph-init start

启动cmdserver(在后台显示系统信息)

# /var/www/extsuite/extman/daemon/cmdserver --daemon

添加到自动启动队列

# echo “/usr/local/mailgraph_ext/mailgraph-init start” >> /etc/rc.d/rc.local

# echo “/var/www/extsuite/extman/daemon/cmdserver -v -d” >> /etc/rc.d/rc.local

使用方法: 等待大约15分钟左右,如果邮件系统有一定的流量,即可登陆到extman里,点“图形日志”即可看到图形化的日志。具体每天,周,月,年的则点击相应的图片进入即可。

创建域blue.com

clip_image042

注册新的用户

clip_image044

clip_image046

用户登录

clip_image048

写邮件给user2

clip_image050

User2收到来自user1的邮件

clip_image052

你可能感兴趣的:(border,邮件系统,blank,登录邮箱,电子)