LAMP 下构建
postfix邮件服务器所需要的所有源代码包得编译及命令由以下步骤安装完成
开始编译
LAMP之前所要做的操作
禁用 selinux
vi /Etc/sysconfig/selinux
selinux=disabled
删除防火墙规则:iptables -F
关闭与卸载linux
系统自带的rpm
包(http
、mysql
、php
)
rpm -qa | grep httpd
rpm -qa | grep mysql
rpm -qa | grep php
service httpd start
service httpd status
service mysql status
ls /etc/ec.d/init.d 查看开机启动的进程
ps -le |grep mysql
yum remove httpd
mysql php
下面开始安装
php所需的库文件及编译所需的编译软件
rpm �Cqa | grep pam*
rpm
�Cqa |grep make
yum install gcc //
安装gcc
yum install gcc-c++ //
安装gcc-c++
yum -y install db*-devel //
安装db-h
rpm -qa |grep cyrus-sasl //
查看postfix
缺的cyrus-sasl
包
主要有以下4
个包:
cyrus-sasl-plain-
版本号
cyrus-sasl-devel-
版本号
cyrus-sasl-lib-
版本号
cyrus-sasl-
版本号
yum install cyrus-sasl-devel
rpm -qa |grep cyrus-sasl //
查看postfix
缺的cyrus-sasl
包
主要有以下4
个包:
cyrus-sasl-plain-
版本号
cyrus-sasl-devel-
版本号
cyrus-sasl-lib-
版本号
cyrus-sasl-
版本号
yum install cyrus-sasl-devel
安装postfix
以前一定要先把sendmail
停掉,干掉
ps -le |grep sendmail
killall sendmail
service sendmail stop
chkconfig --level 35 sendmail off
完成以上操作后开始编译
LAMP
cd /lamp/libxml2-2.6.30
./configure --prefix=/usr/local/libxml2/
make
make install
cd /lamp/libmcrypt-2.5.8
./configure --prefix=/usr/local/libmcrypt/
make
make install
cd /lamp/libmcrypt-2.5.8/libltdl
./configure --enable-ltdl-install
make
make install
cd /lamp/zlib-1.2.3
./configure
make
make install
cd /lamp/libpng-1.2.31
./configure --prefix=/usr/local/libpng/
make
make install
mkdir /usr/local/jpeg6
mkdir /usr/local/jpeg6/bin
mkdir /usr/local/jpeg6/lib
mkdir /usr/local/jpeg6/include
mkdir -p /usr/local/jpeg6/man/man1
cd /lamp/jpeg-6b
./configure --prefix=/usr/local/jpeg6/ --enable-shared --enable-static
make
make install
cd /lamp/freetype-2.3.5
./configure --prefix=/usr/local/freetype/
make
make install
cd /lamp/autoconf-2.61
./configure
make
make install
cd /lamp/gd-2.0.35
./configure --prefix=/usr/local/gd2/ --with-jpeg=/usr/local/jpeg6/ --with-freetype=/usr/local/freetype/
make
make install
cd /lamp/httpd-2.2.9
./configure --prefix=/usr/local/apache2/ --sysconfdir=/etc/httpd/ --with-included-apr --disable-userdir --enable-so --enable-deflate=shared --enable-expires=shared --enable-rewrite=shared --enable-static-support
make
make install
/usr/local/apache2/bin/apachectl start
chcon -t texrel_shlib_t /usr/local/apache2/modules/mod_deflate.so 没有禁用
selinux 就用这个命令开启模块
ps -le |grep httpd
echo "/usr/local/apache2/bin/apachectl start" >> /etc/rc.d/rc.sysinit
echo "/usr/local/apache2/bin/apachectl start" >> /etc/rc.d/rc.local
cd /lamp/ncurses-5.6
./configure --with-shared --without-debug --without-ada --enable-overwrite
make
make install
groupadd mysql
useradd -g mysql mysql
cd /lamp/mysql-5.0.41
./configure --prefix=/usr/local/mysql/ --with-extra-charsets=all
make
make install
cp support-files/my-medium.cnf /etc/my.cnf
/usr/local/mysql/bin/mysql_install_db --user=mysql
chown -R root /usr/local/mysql
chown -R mysql /usr/local/mysql/var
chgrp -R mysql /usr/local/mysql
/usr/local/mysql/bin/mysqld_safe --user=mysql & 启动
mysql
ps -le | grep mysql
netstat -an | grep 3306
/usr/ocal/mysql/bin/mysqladmin version
/usr/local/mysql/bin/mysql -u root
>SET PASSWORD FOR 'root'@'localhost'=PASSWORD('wxj123');
>exit
还有一种方式:/usr/local/mysql/bin/mysqladmin �C
u root password ‘
wxj123
/usr/local/mysql/bin/mysql -u root
�C
p
>,密码
cp /lamp/mysql-5.0.41/support-files/mysql.server /etc/rc.d/init.d/mysqld
chown root.root /etc/rc.d/init.d/mysqld
chmod 755 /etc/rc.d/init.d/mysqld
chkconfig --add mysqld
chkconfig --list mysqld
chkconfig --levels 245 mysqld off
cd /lamp/php-5.2.6
./configure --prefix=/usr/local/php/ --with-config-file-path=/usr/local/php/etc/ --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql/ --with-libxml-dir=/usr/local/libxml2/ --with-jpeg-dir=/usr/local/jpeg6/ --with-freetype-dir=/usr/local/freetype/ --with-gd=/usr/local/gd2/ --with-mcrypt=/usr/local/libmcrypt/ --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-soap --enable-mbstring=all --enable-sockets
make
make install
cp php.ini-dist /usr/local/php/etc/php.ini
vi /etc/httpd/httpd.conf
:/AddType
添加一行: Addtype application/x-httpd-php .php .phtml
echo "Addtype application/x-httpd-php .php .phtml" >> /etc/httpd/httpd.conf
/usr/local/apache2/bin/apachectl restart
vi /usr/local/apache2/htdocs/info.php
<?
phpinfo();
?>
zend加速器
tar zxf Zend---**
cd Zend_***
./install.sh
OK
回车
ok
php.ini file
/usr/local/php/etc
yes
/usr/local/apache2/bin/apachectl 一般不改
ok
验证 192.168.1.16/info.php
查看最后一行有没有
Zend 2007
安装管理
mysql工具
tar zxf phpMyAdmin-3.0_***
cp -a phpMyAdmin-3.0.0*** usr/local/apache2/htdocs/phpmyadmin
cd /usr/local/apache2/htdocs/phpmyadmin
cp config.sample.inc.php config.inc.php
vi config.inc.php
刚改cfg
【‘servers
’】【&i
】['auth_type']= 'http';
wq!
测试
192.178.1.16/phpmyadmin/index.php
root
WXJ123 //为
mysql指定的
root密码
""
成功登录后则表示
LAMP安装成功
下面开始安装DNS+postfix+DOVECOT+WEBMAIL
首先检查编译所需的工具有没有
yum -y install db*-devel //
安装db-h
Yum install pam*
rpm -qa |grep cyrus-sasl //
查看postfix
缺的cyrus-sasl
包
主要有以下4
个包:
cyrus-sasl-plain-
版本号
cyrus-sasl-devel-
版本号
cyrus-sasl-lib-
版本号
cyrus-sasl-
版本号
yum install cyrus-sasl-devel
一:安装postfix
邮件服务
安装postfix
以前一定要先把sendmail
停掉,干掉
ps -le |grep sendmail
killall sendmail
service sendmail stop
chkconfig --level 35 sendmail off
(1
)groupadd -g 1200 postdrop
groupadd -g 1000 postfix
useradd -M -u 1000 -g postfix -G postdrop -s /sbin/
nologin postfix
(2
)tar -zxf postfix-2.
6.4.tar.gz
gunzip postfix-2.6.4-vda-ng.patch.gz
cd postfix-2.4.6
patch -p1 < ../postfix-2.6.4-vda-ng.patch
make makefiles 'CCARGS=-DHAS_MYSQL
-I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH
-DUSE_CYRUS_SASL -I/usr/include/sasl' 'AUXLIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lm -L/usr/lib/sasl2 -lsasl2'
make && make install
若再编译make install
的时候报错,且【】里面为空 原因是缺少库
cp /usr/local/mysql5/lib/mysql/libmysqlclient.so.16 /usr/lib/
cd /etc/postfix/
postconf -n >
main2.cf
ls
mv main.cf main.cf.bak
mv main2.cf main.cf
cat main.cf
cat /var/log/maillog
netstat |grep :110
netstat |grep :25
netstat |grep :143
postfix check
postfix start
netstat -anptl | grep :25
//tcp o 0.0.0.o:25 0.0.0.0:* list
//en 7782/master
postfix安装完成后安装
dns
挂载光盘
route -n //
查看路由IP
安装
DNS域名解析
rpm -ivh --aid --force bind*
rpm -ivh --aid --force caching-nameserver-9.3.4-10.p1.ei5.i386.rpm
Linux 系统若能上网,就用
YUM安装
,很简单
Yum install bind
Yum install caching-nameserver
cd /var/named/chroot/etc/
touch named.conf
vi named.conf
options{
directory "/var/named";
};
zone"xiaojie.com" IN {
type master;
file "xiaojie.com";
};
zone"168.192.in-addr.arpa" IN {
type master;
file "168.192";
};
cd ../var/named/
Vixiaojie.com
$TTL 86400
@ IN SOA ns.xiaojie.com. admin.xiaojie.com. (
201009150
900
1800
604800
900 )
IN NS ns.xiaojie.com.
IN MX 5 mail.xiaojie.com.
ns IN A 192.168.1.18
mail IN A 192.168.1.18
www IN CNAME mail
cp xiaojie.com 168.192
vi 168.192
$TTL 86400
@ IN SOA ns.xiaojie.com. admin.xiaojie.com. (
201009150
900
1800
604880
900 )
IN NS ns.xiaojie.com.
18.1 IN PTR ns.xiaojie.com.
18.1 IN PTR mail.xiaojie.com.
18.1 IN PTR www.xiaojie.com.
service named restart
vi /etc/resolv.conf
nameserver 192.168.1.102
nameserver 202.106.46.151
nameserver 202.106.195.68
wq ///
nslookup //
解析
> www.xiaojie.com
Server: 192.168.1.102
Addess: 192.168.1.102#53
name: www.xiaojie.com
Addesss: 192.168.1.102
>set type=mx
>xiaojie.com
Server: 192.168.1.102
Addess: 192.168.1.102#53
xiaojie.com mail exchanger = 5 mail.xiaojie.com
>exit
vi /etc/postfix/main.cf //
调整运行参数
inet_interfaces =
192.168.1.18,127.0.0.1
myhostname = mail.xiaojie.com
mydomain = xiaojie.com
myorigin = $mydomain
mydestination = $mydomain, $myhostname
home_mailbox = Maildir/
Cd /etc/postfix
Postfix reload
groupadd mailusers
useradd -g mailusers -s /sbin/nologin wu
useradd -g mailusers -s /sbin/nologin xiao
passwd wu
passwd xiao
telnet localhost 25
HELO localhost
DATA
Subject: A Test Mail
HELLO!
This is a test mail!
.
quit
正常
# cat /home/xiao/Maildir/new/1238647206.VFD00iC000Cm8526-7.mail.xiaojie.com //
查看邮件
测试收到邮件后则表示
postfix25端口(
ESMTP)端口正常
Postfix安装成功。
(二)构建dovecot
服务器
(收信服务器
pop3)
下载源代码 http
://www.dovecot.org
Yum install pam*
添加dovecot
运行用户
useradd -M -s /sbin/nologin dovecot
tar -zxvf dovecot-
2.1.3tar.gz
cd dovecot-
2.1.3
./configure --sysconfdir=/etc --with-mysql
--with-pam
make && make install
cp /etc/dovecot-example.conf /etc/dovecot.conf
vi /etc/dovecot.conf
ssl_disable = yes
protocols = pop3 imap
disable_plaintext_auth = no
mail_location = maildir:~/Maildir
vi /etc/pam.d/dovecot
auth required pam_nologin.so
auth include system-auth
account include system-auth
session include system-auth
/usr/local/sbin/dovecot -c /etc/dovecot.conf //启动
dovecot 服务
Netstat -nutpl | grep dovecot //侦听 激活端口
110 143
Telnet localhost 110 //测试接受
User xiao ~~~
Pass wuxiaojie
List //查看邮件列表
Retr 1 //收取并查看第一封邮件
QUIT //退出
在客户端测试outlook
打开outlook
发送测试邮件
在outlook
里设置xiao
账户
三:安装postfix
支持webmail
登陆
Tar jxf squirrelmail-1.4.13.tar.bz2 -C /usr/local/apache2/htdocs/
Cd /usr/local/apache2/htdocs/
Mv squirrelmail-1.4.13 webmail
Cd webmail
tar jxf /root/webmail/zh_CN-1.4.13-20071220.tar.bz2
mkdir -p attach/ data/
chown -R daemon:daemon attach/ data/
chmod 730 attach/
cp config/config_default.php config/config.php
vi config/config.php
1000 $squirrelmail_default_language = 'zh_CN';
1015 $default_charset = 'zh_CN.UTF-8';
231 $imap_server_type = 'dovecot';
118 $domain = 'xiaojie.com';
487 $data_dir = '/usr/local/apache2/htdocs/webmail/data/
’;
505 $attachment_dir = '/usr/local/apache2/htdocs/webmail/attach/
’;
/usr/local/apache2/bin/apachectl start
测试http://mail.xiaojie.com/mail 登陆用户 “wu” “wxj123”收发邮件进行测试
设置
SMTP用户认证
cp /usr/lib/sasl2/Sendmail.conf /usr/lib/sasl2/smtpd.conf
vi /usr/lib/sasl2/smtpd.conf
service saslauthd start
chkconfig --level 35 saslauthd on
vi /etc/postfix/main.cf
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
mynetworks = 127.0.0.1
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination
postfix reload //重新加载
通过下列命令可获得用户密码加密字串
[root@mail postfix]# printf "xiao" | openssl base64
eGlhbw==
printf "wxj123" | openssl base64
d3hqMTIz
Telnet mail.xiaojie.con 25
EHLO localhost
AUTH LOGIN
eGlhbw==
d3hqMTIz
DATA
。
Qui修改
outlook客户端
xiao 的账户属性 在“服务器”选型卡中选中“我的服务器要求身份验证”即可启,用
SMTP 认证支持,若不选此项,将无法完成向外域发送邮件
设置邮件别名与邮件群组
修改main.cf
配置文件 ,使用/etc/aliases
文件的hash
数据作为查询表。
Vi /etc/postfix/main.cf
alias_maps = hash:/etc/aliases
设置邮件别名实现群发功能:
Vi / etc/aliases //在尾行加入以下内容
Atudent : zhangsan, lisi,mike,john
Newaliases
/etc/aliases: 78 aliases, longest 10 bytes, 802 bytes total
应用上述设置后,发往[email protected] 所有邮件将自动转发到
zhangsan lisi、
mike、
john的邮箱中。从而实现别名机制的邮件群发功能。
设置邮件大小,邮箱空间限制
(1):限制用户可发送的邮件大小
postfix默认支持
10M
修改vi /etc/postfix/main.cf
message_size_limit = 20971520 //限制为
20m
Postfix reload //重新加载
(2)限制邮箱空间大小
修改vi /etc/postfix/main.cf
Mailbox_size_limit = 50m 默认为
50m
五 :建立虚拟数据用户库
基于虚拟用户的
postfix邮件系统架构
service mysql restart
ps -le |grep mysql
tar zxf extman-0.2.5.tar.gz
cd extman-0.2.5/docs
/usr/local/mysql/bin/mysql -u root -p < extmail.sql
Enter Password: wxj123
/usr/local/mysql/bin/mysql -u root -p < init.sql
Enter Password: wxj123
vi /etc/postfix/main.cf
#mydestination = $mydomain, $myhostname
在末行添加以下行
virtual_mailbox_base = /mailbox
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_uid_maps = static:1000
virtual_gid_maps = static:1000
cp mysql_virtual_* /etc/postfix/ //将
Extmail软件包提供的虚拟用户映射表列文件复制到
/etc/postfix目录中
Posrfix reload
(2)为虚拟用户设置
SMTP发信认证
tar jxf courier-authlib-0.67.0.tar.bz2
cd courier-authlib-0.67.0
./configure --prefix=/usr/local/courier/ --without-stdheaderdir --with-authmysql --with-redhat --with-mysql-libs=/usr/local/mysql/lib/mysql --with-mysql-includes=/usr/local/mysql/include/mysql
Make && make install
Make install-configure
(三)修改courier-authlib
相关配置并启动服务
将
courier-aurhlib库文件路径添加到系统搜索路径中
Vi /etc/ld.so.conf
末行添加:/usr/local/courier/lib/courier-authlib
Ldconfig 刷新
()修改
authdaemonrc主配置文件。仅保留
authmysql认证方式,去掉其他方式
cd /usr/local/courier-authlib/etc/authlib/
Cp authdaemonrc authdaemonrc.bak
Vi authdaemonrc
27: authmodulelist = "authmysql"
34: authmodulelistorig = "authmysql"
Chmod -R 755 /usr/local/courier/var/spool/authdaemon/
修改以下内容用于描述如何向
MYSQL 数据库查询信息
去掉
#号
修改以上内容用于描述如何向
mysql数据库查询信息
复制couriet-authlib
脚本,并启动couriet-authlib
服务
[root@mail courier-authlib-0.63.0]# cp courier-authlib.sysvinit /etc/init.d/courier-authlib
chmod 755 /etc/rc.d/init.d/courier-authlib
chkconfig --level 35 courier-authlib on
service courier-authlib start
修改Cyrus
设置
修改vi /usr/lib/sasl2/smtpd.conf
文件,将认证方式改为authaemond
,并指定socket
文件位置
pwcheck_method:authdaemond
authdaemond_path:/usr/local/courier/var/spool/authdaemon/socket
~
(五)配置虚拟用户支持-----dovecot
修改209
、791
、796
、900
、902
、903
、963
、965
行
建立数据库查询配置文件
Vi /etc//dovecot-mysql.conf
driver = mysql
connect = host=localhost dbname=extmail user=extmail password=extmail
default_pass_scheme = CRYPT
password_query = SELECT username AS user,password AS password FROM mailbox WHERE username='%u'
user_query = SELECT maildir,uidnumber AS uid,gidnumber AS gid FROM mailbox WHERE username= '%u'
Mkdir -p /mailox/extmail.org/postmaster/Maildir/
Cd /mailbox/extmail.org/postmaster/Maildir/
Chown -R postfix:
postfix /mailbox
Killall dovecot
Dovecot //启动
Dovexcot服务
测试虚拟用户实现结果
应能看到“Authentcation succeeded
”及虚拟用户的相关信息
测试对虚拟用户的SMTP
发信认证,出现“235 authenticatio nsuccessful
”信息表示成功
获得用户名和密码的字符串
cG9zdG1hc3Rlci5vcmc=
[root@mail ~]# perl -e 'use MIME::Base64; print encode_base64("extmail")'
ZXh0bWFpbA==
Telnet localhost 25
auth login
*********************==
**********==
Quit
Extmail 邮件使用及管理平台
1:首先按顺序安装以下三个软件支持包
Tar zxf Unix-syslog-1.1.tar.zg
Tar zxf DBI-1.607.tar.gz
Tar zxf DBD-mysql-4.011.tar.gz
Cd Unix-syslog-1.1
Perl Makefile.PL
Make && make install
Cd ../DBI-1.607
Perl Makefile.PL
Make && make install
Cd ../DBD-mysql-4.011
Prel Makefile.PL --mysql_config=/usr/local/mysql/bin/mysql_config
Make && make instal
Tar zxf extmail-1.0.5.tar.gz -C /usr/local/nginx/html/
Cd /usr/local/nginx/html
Mv /extmail-1.0.5 extmail
Cd extmail
Chown -R postfix:postfix cgi
Cp webmail.cf.defaule webmail.cf
Vi /usr/local/nginx/html/extmail/webmail.cf
设置以下内容2
、5
、8
、112
、124
、125
、126
、126
、128
调整
httpd.config 添加一个配置文件 重启服务
最后一行添加以下没有
421行和
422行
<VirtualHost *:80>
ServerName mail.xiaojie.com
DocumentRoot /usr/local/apache2/htdocs/extmail/html/
ScriptAlias /extmail/cgi /usr/local/apache2/htdocs/extmail/cgi
Alias /extmail /usr/local/apache2/htdocs/extmail/html
</VirtualHost>
测试登陆并使用
ETXMAIL邮件系统
Http:// mail.xiaojie.com/extmail/cgi/index.cig
部署Extman web
管理界面
安装以下软件支持包GD
、File-Tail
及rrdtool
绘图引擎工具
Tar zxf GD -2.41.tar .gz
Tar zxf File-Tail-0.99.3.tar.gz
yum install gd-devel
Cd GD-2.41
Perl Makefile.PL
Make && make install
Cd ../Fil-Tail-0.99.3
Perl Makefile.PL
Make && make install
Rpm -ivh rrdtool_*****
Rpm -ivh rrdtool-prrl-*****
安装并配置
Extman套件
Tar zxf extman-0.2.5.tar.gz -C /usr/local/nginx/html/
Cd /usr/local/nginx/html/
Mv extman-0.2.5 extman
chown -R postfix:postfix /usr/local/apache2/htdocs/extman/cgi
Mkdir /tmp/extman
Chown -R postfix:postfix /tmp/extman
修改webman.cf
配置文件
vi /usr/local/nginx/html/extman/webman.cf
设置以下内容 2
、5
、8
、12
、127-131
Sys_config = /usr/local/apache2/htdocs/extman/
SYS_LANGDIR = /usr/local/apache2/htdocs/extman/lang
SYS_TEMPLDIR = /usr/local/apache2/htdocs/extmail/html
SYS_MAILOIR_BASE = /mailbox
SYS_MYSQL_USER = webman
SYS_MYSQL_PASS = webman
SYS_MYSQL_DB = extmail
SYS_MYSQL_HOST = localhost
SYS_MYSQL_SOCKET = /tmp/mysql.sock
调整
http.conf文件中的配置(添加
extman相关目录的别名设置)。并重新启动
httpd服务 复制
96-87 在最后一行添加
Vi /usr/local/apache2/con/httpd.conf
<VirtualHost 192.168.1.18>
ServerName mail.xiaojie.com
DocumentRoot /usr/local/nginx/html/extmail/html/
scriptAlias /extmail/cig//usr/local/nginx/html/extmail/cgi/
Alias /extmail/usr/local/nginx/html/extmail/html/
ScipAlias /extman/ cgi/ /usr/local/nginx/html/extman/cgi/
Alias /extman /usr/local/nginx/html/extman/html/
SuexecUserGroup postfix postfix
</VirtualHost>
<VirtualHost *:80>
ServerName mail.xiaojie.com
DocumentRoot /usr/local/apache2/htdocs/extmail/html/
ScriptAlias /extmail/cgi /usr/local/apache2/htdocs/extmail/cgi
Alias /extmail /usr/local/apache2/htdocs/extmail/html
ScriptAlias /extman/ cgi/ /usr/local/apache2/htdocs/extman/cgi/
Alias /extman /usr/local/apache2/htdocs/extman/html/
</VirtualHost>
/usr/local/nginx/sbin/nginx 启动
nginx服务
测试登陆并管理
extman系统
http://mail.xiaojie.com/extman/
Password: extmail*123*
查看邮件系统图形化日志信息
直接为
extmail套件中得
mailgraph_ext插件程序建立链接文件,并启动相关程序
# \
Ln -sf /usr/local/apache2/htdocs/extman/addon/mailgraph_ext/mailgraph-init usr/sbin/
#\
Ln -sf /usr/local/apache2/htdocs/extman/addon/mailgraph_ext/qmonitor-init/usr/sbin/
Mailgraph -init start
Qmonitor-init start
添加到开机启动
Echo "/usr/sbin/mailgraph-init start" >> /etc/rc.d/rc.local
Echo "/usr/sbin/qmonitor-init start" >> /etc/rc.d/rc.local
通过
EXTman管理界面中的图形日志链接查看邮件系统的图像化日志信息。
主要包括对投递成功信件分析、失败投递信件分析、邮件投递流量分析、
IMAP/POP3登陆日志、邮件队列分析、
webmail登陆日志监控的图示信息
电子邮件过滤和防病毒
1:基于邮件地址过滤
vi /var/www/extsuite/extman/webman.cf
不要验证码:
将:SYS_CAPTCHA_ON = 1
改为:SYS_CAPTCHA_ON = 0
更改验证码位数:
将:SYS_CAPTCHA_LEN = 6
改为:SYS_CAPTCHA_LEN = 2
更改验证码键值:
SYS_CAPTCHA_KEY = kjjas!23#$#5xSw
|