[root@redhat tmp]# tar zxvf extmail-1.0.3.tar.gz [root@redhat tmp]# mv extmail-1.0.3 /var/www/extsuite/extmail |
[root@redhat tmp]# tar zxvf extman-0.2.3.tar.gz [root@redhat tmp]# mv extman-0.2.3 /var/www/extsuite/extman |
[root@redhat tmp]# cd /var/www/extsuite/extmail/ [root@redhat extmail]# cp webmail.cf.default webmail.cf SYS_CONFIG = /var/www/extsuite/extmail/ SYS_LANGDIR = /var/www/extsuite/extmail/lang SYS_TEMPLDIR = /var/www/extsuite/extmail/html SYS_SHOW_WARN = 0 SYS_PERMIT_NOQUOTA = 1 SYS_SESS_DIR = /tmp/ SYS_LOG_ON = 1 SYS_LOG_TYPE = syslog SYS_LOG_FILE = /var/log/extmail.log SYS_CAPTCHA_ON = 1 SYS_CAPTCHA_KEY = r3s9b6a7 SYS_CAPTCHA_LEN = 6 SYS_SESS_TIMEOUT = 0 SYS_SESS_COOKIE_ONLY = 1 SYS_USER_PSIZE = 10 SYS_USER_SCREEN = auto SYS_USER_LANG = zh_CN SYS_APP_TYPE = WebMail SYS_USER_TEMPLATE = default SYS_USER_CHARSET = utf-8 SYS_USER_TRYLOCAL = 1 SYS_USER_TIMEZONE = +0800 SYS_USER_SHOW_HTML = 1 SYS_USER_ADDR2ABOOK = 1 SYS_MESSAGE_SIZE_LIMIT = 5242880 SYS_MIN_PASS_LEN = 2 SYS_MFILTER_ON = 1 SYS_NETDISK_ON = 1 SYS_SHOW_SIGNUP = 1 SYS_DEBUG_ON = 1 SYS_AUTH_TYPE = mysql SYS_MAILDIR_BASE = /var/mailbox SYS_AUTH_SCHEMA = virtual SYS_CRYPT_TYPE = md5crypt SYS_MYSQL_USER = extmail SYS_MYSQL_PASS = extmail SYS_MYSQL_DB = extmail SYS_MYSQL_HOST = localhost SYS_MYSQL_SOCKET = /tmp/mysql.sock SYS_MYSQL_TABLE = mailbox SYS_MYSQL_ATTR_USERNAME = username SYS_MYSQL_ATTR_DOMAIN = domain SYS_MYSQL_ATTR_PASSWD = password SYS_MYSQL_ATTR_CLEARPW = clearpwd SYS_MYSQL_ATTR_QUOTA = quota SYS_MYSQL_ATTR_NDQUOTA = netdiskquota SYS_MYSQL_ATTR_HOME = homedir SYS_MYSQL_ATTR_MAILDIR = maildir SYS_MYSQL_ATTR_DISABLEWEBMAIL = disablewebmail SYS_MYSQL_ATTR_DISABLENETDISK = disablenetdisk SYS_MYSQL_ATTR_DISABLEPWDCHANGE = disablepwdchange SYS_MYSQL_ATTR_ACTIVE = active SYS_AUTHLIB_SOCKET = /usr/local/authlib/var/spool/authdaemon/socket SYS_G_ABOOK_TYPE = file SYS_G_ABOOK_FILE_PATH = /var/www/extsuite/extmail/globabook.cf SYS_G_ABOOK_FILE_LOCK = 1 SYS_G_ABOOK_FILE_CONVERT = 0 SYS_G_ABOOK_FILE_CHARSET = utf-8 |
[root@redhat extmail]# cd ../extman [root@redhat extman]# vi webman.cf SYS_CONFIG = /var/www/extsuite/extman/ SYS_LANGDIR = /var/www/extsuite/extman/lang SYS_TEMPLDIR = /var/www/extsuite/extman/html SYS_MAILDIR_BASE = /var/mailbox SYS_SHOW_WARN = 0 SYS_SESS_DIR = /tmp/extman SYS_CAPTCHA_ON = 1 //如果不能正确显示验证码,请将这个值设为0 SYS_CAPTCHA_KEY = r3s9b6a7 SYS_CAPTCHA_LEN = 6 SYS_PSIZE = 10 SYS_APP_TYPE = ExtMan SYS_TEMPLATE_NAME = default SYS_DEFAULT_EXPIRE = 1y SYS_GROUPMAIL_SENDER = postmaster@linux.com SYS_DEFAULT_SERVICES = webmail,smtpd,smtp,pop3,netdisk SYS_ISP_MODE = no SYS_DOMAIN_HASHDIR = yes SYS_DOMAIN_HASHDIR_DEPTH = 2x2 SYS_USER_HASHDIR = yes SYS_USER_HASHDIR_DEPTH = 2x2 SYS_MIN_UID = 500 SYS_MIN_GID = 100 SYS_DEFAULT_UID = 1001 SYS_DEFAULT_GID = 1001 SYS_QUOTA_MULTIPLIER = 1048576 SYS_QUOTA_TYPE = courier SYS_DEFAULT_MAXQUOTA = 500 SYS_DEFAULT_MAXALIAS = 100 SYS_DEFAULT_MAXUSERS = 100 SYS_DEFAULT_MAXNDQUOTA = 500 SYS_USER_DEFAULT_QUOTA = 5 SYS_USER_DEFAULT_NDQUOTA = 5 SYS_USER_DEFAULT_EXPIRE = 1y SYS_BACKEND_TYPE = mysql SYS_CRYPT_TYPE = md5crypt SYS_MYSQL_USER = webman SYS_MYSQL_PASS = webman SYS_MYSQL_DB = extmail SYS_MYSQL_HOST = localhost SYS_MYSQL_SOCKET = /tmp/mysql.sock SYS_MYSQL_TABLE = manager SYS_MYSQL_ATTR_USERNAME = username SYS_MYSQL_ATTR_PASSWD = password SYS_RRD_DATADIR = /var/lib SYS_RRD_TMPDIR = /tmp/viewlog SYS_RRD_QUEUE_ON = yes |
[root@redhat extsuite]# mkdir /tmp/extman [root@redhat extsuite]# chown -R vmail:vmail /tmp/extman [root@redhat tmp]# chown -R vmail:vmail /var/www/extsuite/extmail [root@redhat tmp]# chown -R vmail:vmail /var/www/extsuite/extman //在初始化数据库时,请更改init.sql中extmail.org的名称为自已域名 [root@redhat var]# cd www/extsuite/extman/docs/ [root@redhat docs]# export PATH=$PATH:/usr/local/mysql/bin [root@redhat docs]# mysql -u root -p < ./extmail.sql Enter password: [root@redhat docs]# mysql -u root -p < ./init.sql Enter password: [root@redhat docs]# |
[root@redhat extmail]# touch /var/log/maildrop.log [root@redhat extmail]# chown vmail.vmail /var/log/maildrop.log |
[root@redhat ~]# vi /var/www/extsuite/extmail/html/default/index.html <INPUT TYPE="text" class="input_n" NAME="domain"> 将161行的内容改为如下 <select name="domain" size="1" class="input_select"> <option value="linux.com">linux.com</option></select> [root@redhat ~]# vi /var/www/extsuite/extman/html/default/index.html <input name=username value=root@test.com class=login_input> //第114行 |
[root@redhat rrdtool]# tar zxvf libart_lgpl-2.3.17.tar.gz [root@redhat rrdtool]# cd libart_lgpl-2.3.17 [root@redhat libart_lgpl-2.3.17]# ./configure [root@redhat libart_lgpl-2.3.17]# make [root@redhat libart_lgpl-2.3.17]# make install |
[root@redhat rrdtool-1.2.26]# rpm -qa |grep tcl tcl-8.4.7-2 tclx-8.3.5-4 [root@redhat tmp]# rpm -ivh tcl-devel-8.4.7-2.i386.rpm warning: tcl-devel-8.4.7-2.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e Preparing... ########################################### [100%] 1:tcl-devel ########################################### [100%] |
[root@redhat ~]# cp /usr/local/lib/pkgconfig/libart-2.0.pc /usr/lib/pkgconfig/ [root@redhat rrdtool]# tar zxvf rrdtool-1.2.26.tar.gz [root@redhat rrdtool]# cd rrdtool-1.2.26 [root@redhat rrdtool-1.2.26]# ./configure --perfix=/usr/local/rrdtool [root@redhat rrdtool-1.2.26]# make [root@redhat rrdtool-1.2.26]# make install |
[root@redhat tmp]# cp -r /var/www/extsuite/extman/addon/mailgraph_ext/ /usr/local/mailgraph_ext/ [root@redhat tmp]# /usr/local/mailgraph_ext/mailgraph-init start Starting mail statistics grapher: mailgraph_ext [root@redhat tmp]# /usr/local/mailgraph_ext/qmonitor-init start Starting queue statistics grapher: qmonitor [root@redhat ~]# echo "/usr/local/mailgraph_ext/mailgraph-init start" >> /etc/rc.d/rc.local [root@redhat ~]# echo "/usr/local/mailgraph_ext/qmonitor-init start" >> /etc/rc.d/rc.local |
[root@redhat tmp]# /usr/local/httpd/bin/apachectl stop [root@redhat tmp]# /usr/local/httpd/bin/apachectl start [root@redhat 5.8.5]# postfix stop [root@redhat 5.8.5]# postfix start |
自由广告区 |
分类导航 |
邮件新闻资讯: IT业界 | 邮件服务器 | 邮件趣闻 | 移动电邮 电子邮箱 | 反垃圾邮件|邮件客户端|网络安全 行业数据 | 邮件人物 | 网站公告 | 行业法规 网络技术: 邮件原理 | 网络协议 | 网络管理 | 传输介质 线路接入 | 路由接口 | 邮件存储 | 华为3Com CISCO技术 | 网络与服务器硬件 操作系统: Windows 9X | Linux&Uinx | Windows NT Windows Vista | FreeBSD | 其它操作系统 邮件服务器: 程序与开发 | Exchange | Qmail | Postfix Sendmail | MDaemon | Domino | Foxmail KerioMail | JavaMail | Winwebmail |James Merak&VisNetic | CMailServer | WinMail 金笛邮件系统 | 其它 | 反垃圾邮件: 综述| 客户端反垃圾邮件|服务器端反垃圾邮件 邮件客户端软件: Outlook | Foxmail | DreamMail| KooMail The bat | 雷鸟 | Eudora |Becky! |Pegasus IncrediMail |其它 电子邮箱: 个人邮箱 | 企业邮箱 |Gmail 移动电子邮件:服务器 | 客户端 | 技术前沿 邮件网络安全: 软件漏洞 | 安全知识 | 病毒公告 |防火墙 攻防技术 | 病毒查杀| ISA | 数字签名 邮件营销: Email营销 | 网络营销 | 营销技巧 |营销案例 邮件人才:招聘 | 职场 | 培训 | 指南 | 职场 解决方案: 邮件系统|反垃圾邮件 |安全 |移动电邮 |招标 产品评测: 邮件系统 |反垃圾邮件 |邮箱 |安全 |客户端 |