tsmail-qmail-1.0.1文件结构:
两个目录,tsmail-ins-1.0.1,tsmail-pkg-1.0;
tsmail-qmail-RH7
tsmail-ins-1.0.1目录内容:
ChangeLog php-4.3.0 setup.d sqwebmail-3.4.1 vpopmail-5.2.1
INSTALL README setup.nosy VERSION
php setup sqwebmail vpopmail
tsmail-pkg-1.0目录内容是rpm.d,其下有:
daemontools-0.70-RH7.i386.rpm mysql-3.23.41-1.i386.rpm
httpd-2.0.43-RH7.i386.rpm mysql-devel-3.23.41-1.i386.rpm
httpd-devel-2.0.43-RH7.i386.rpm mysql-server-3.23.41-1.i386.rpm
imap-devel-2001a-10.0as.i386.rpm qmail-1.03-RH7.i386.rpm
mod_ssl-2.0.43-RH7.i386.rpm ucspi-tcp-0.88-1.i386.rpm
tsmail-qmail-1.0.1-RH8:
tsmail-ins-1.0.1目录内容:
ChangeLog README setup.d sqwebmail-3.4.1 vpopmail
INSTALL setup sqwebmail VERSION vpopmail-5.2.1
tsmail-pkg-1.0目录内容是rpm.d,其下有:
daemontools-0.70-RH7.i386.rpm mysql-server-3.23.52-3.i386.rpm
httpd-2.0.40-8.i386.rpm php-4.2.2-8.0.5.i386.rpm
httpd-devel-2.0.40-8.i386.rpm php-imap-4.2.2-8.0.5.i386.rpm
imap-devel-2001a-15.i386.rpm php-mysql-4.2.2-8.0.5.i386.rpm
mysql-3.23.52-3.i386.rpm qmail-1.03-RH7.i386.rpm
mysql-devel-3.23.52-3.i386.rpm ucspi-tcp-0.88-1.i386.rpm
安装:
解压后在tsmail-ins-1.0.1目录执行./setup -i,
主要回答如下问题
Email Server hostname [ redhat8 ]: //机器名
Email Server Domainname linuxts.net //域名
MYSQL Manager's Username [ root ]: //数据库管理用户名,默认root
Directory Manager's PW [ secret ]: //数据库管理密码;同时也是邮箱postmaster的密码。默认secret
Email Server Default Quota [ 20480 ]: //用户邮箱空间,默认20M.
Organizational Name [ linuxts.net, Inc. ]: //意义不大
Organizational Description [ Top Secret Company ]: //意义不大
然后系统会自行安装所需的系统;
2、安装后配置
启动httpd:
/etc/init.d/httpd start
启动mysql:
/etc/init.d/mysqld start
启动邮件系统:
执行/var/qmail/run_mail
添加虚拟邮件域:/mail/bin/vadddomain domain
添加账号:/mail/bin/vadduser user@domain passwd
管理在http://IP/admin/,但是由于php的版本问题(?)现在有问题可能不能正常使用,下一个版本解决。