Extmail 是一个以perl语言编写,面向大容量/ISP级应用,免费的高性能Webmail软件。它以GPL版权释出,设计初衷是希望设计一个适应当前高速发展的IT应用环境,满足用户多变的需求,能快速进行开发、改进和升级,适应能力强的webmail系统。
Extmail还被设计成一个能够替代目前国内外一些主流webmail软件的系统,例如:SqWebMail,OpenWebmail及squirrel,Igenus等。
流行在互联网上的Unix平台webmail软件相当多,有的功能还非常强大,但在实际的应用中,尤其是在ISP、企业邮局、办公邮件平台等要求较高的环境下,这些webmail软件就暴露了很多不足,有的安装要求高、软件包依赖多,有的没实现模板化导致修改困难,有的速度慢,有的功能太简单,有的兼容性差,有的对邮件解析的能力弱,还有大量的并不支持多语言显示。
因此,为了适应严格的IT应用环境,我们迫切需要一个拥有实用的功能,便于修改,速度快而稳定,兼容性好,能适应多国邮件的webmail系统,Extmail就是在这样的需求下被设计的。
好了,现在开始安装我们的Extmail,管理我们自己的邮件服务器。
httpd, php, php-mysql, mysql, mysql-server, mysql-devel, openssl-devel, dovecot, perl-DBD-MySQL, tcl, tcl-devel, libart, libart-devel
# service sendmail stop
# chkconfig sendmail off
Development Libraries
Legacy Software Development
X Software Development
# yum groupinstall "packge_group_name"
# service mysqld start
# chkconfig mysqld on
# mysqladmin -uroot password 'your_password'
# groupadd -g 2525 postfix
# useradd -g postfix -u 2525 -s /sbin/nologin -M postfix
# groupadd -g 2526 postdrop
# useradd -g postdrop -u 2526 -s /bin/false -M postdrop
# tar zxvf postfix-2.6.5.tar.gz
# 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'
tempdir: [/usr/local/src/ postfix-2.6.5] /tmp
config_directory: [/etc/postfix] /etc/postfix
#vi /etc/postfix/main.cf
myhostname = mail.test.com
myorigin = test.com
mydomain = test.com
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks = 192.168.1.0/24, 127.0.0.0/8
# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 mail.test.com ESMTP Postfix
mail from:root@test.com
250 2.1.0 Ok
rcpt to:RedHat@test.com
250 2.1.5 Ok
354 End data with <CR><LF>.<CR><LF>
250 2.0.0 Ok: queued as AB94A1A561
221 2.0.0 Bye
Connection closed by foreign host.
"/var/spool/mail/redhat": 1 message 1 new
>N 1 root@test.com Wed Sep 5 10:59 15/488 "Mail test!"
