基于CentOS 5.3系统下面的TMAIL安装笔记
([url]http://godoha.blog.51cto.com[/url] by Weihu Yen 2009-4-26)
 
      一直想测试开源邮件论坛的TMAIL,今天下午在家抽空,从头开始装了TMAIL系统,希望开源社区的jacky老大,能多多修改程式! (个人觉得相比extmail.org的extmail来说,安装的确简单多了,我会继续关注TMAIL随后的更新包!
 (由于论坛图片没法复制上来,想要研究TMAIL的兄弟,可下载附件,有详细截图)
 贴两个图上来:
tmail后台:
tmail web登录:
 
修订版本
最后修订日期
修订内容
修订者
V1.0
2009-4-26
TMAIL system初次安装
Weihu Yen
简介:
       采用CentOS5.3系统   Tmail版本:V4.51beta2
内存:256M 硬盘:40G
分区:/boot 1024M、/usr 10240M、/var 10240M、/home 1024M、/tmp 1024M
/  剩下所有可用空间
1.    系统及组件安装:(个人比较喜欢是最简化安装,呵呵)
安装选择包时:选administrator tools、开放工具包、兼容软件支持包
2.     安装完系统后,安装wget包及中文件字库包,并修改i18n文件,让putty显示中文!
[root@tmail CentOS]# rpm -ivh wget-1.10.2-7.el5.i386.rpm
[root@tmail CentOS]# rpm -ivh fonts-ISO8859-2-1.0-17.1.noarch.rpm  fonts-ISO8859-2-100dpi-1.0-17.1.noarch.rpm fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm
[root@tmail /]# vi /etc/sysconfig/i18n
#LANG="zh_CN.UTF-8"          ##注释掉此行
#SYSFONT="latarcyrheb-sun16"   ##注释掉此行
LANG="zh_CN.GB18030"   ##新增以下两行
LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"
3.     重启后,用putty连上去查看中文显示正常,并下载TMAIL安装包
[root@tmail ~]# cd /tmp
[root@tmail tmp]# wget [url]http://www.thismail.org/soft/tmail_v4.5.1_16.tar.bz2[/url]
--21:04:48--  [url]http://www.thismail.org/soft/tmail_v4.5.1_16.tar.bz2[/url]
正在解析主机 [url]www.thismail.org...[/url] 203.171.239.42
Connecting to [url]www.thismail.org[/url]|203.171.239.42|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:75150121 (72M) [application/octet-stream]
Saving to: `tmail_v4.5.1_16.tar.bz2'
0% [                                                            ] 119,800     35.7K/s  eta 34m 14s
4.     安装TMAIL相依的组件包,并解压安装TMAIL
[root@tmail CentOS]# rpm -ivh procmail-3.22-17.1.el5.centos.i386.rpm
[root@tmail CentOS]# rpm -ivh cyrus-sasl-2.1.22-4.i386.rpm
[root@tmail CentOS]# rpm -ivh sendmail-8.13.8-2.el5.i386.rpm
[root@tmail tmp]# tar -jxf tmail_v4.5.1_16.tar.bz2
[root@tmail tmp]# ls
lost+found  tmail  tmail_v4.5.1_16.tar.bz2
[root@tmail tmp]# cd tmail
[root@tmail tmail]# ls
install  rpm  tmail_setup
[root@tmail tmail]# ./install   #####开始安装
5.     根据上面的警告讯息,加以解决如下:
[root@tmail tmail]# pwd
/tmp/tmail
[root@tmail tmail]# cd /var/lib/postfix/
[root@tmail postfix]# chown postfix:postfix /var/lib/postfix/.
[root@tmail postfix]# telnet localhost 25
-bash: telnet: command not found        ###发现telnet 包没有安装###
[root@tmail CentOS]# rpm -ivh telnet-
telnet-0.17-39.el5.i386.rpm         telnet-server-0.17-39.el5.i386.rpm
[root@tmail CentOS]# rpm -ivh telnet-0.17-39.el5.i386.rpm
[root@tmail CentOS]# telnet localhost 25  ###再次telnet 25 端口
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
[root@tmail ~]# cd /tmail/postfix/sbin/ 
[root@tmail sbin]# ls
postalias  postconf  postfix   postlock  postmap    postsuper
postcat    postdrop  postkick  postlog   postqueue  sendmail
[root@tmail sbin]# ./postfix start   ###启动####
postfix/postfix-script: starting the Postfix mail system
6.     开启防火墙相关端口,登录并测试WEBMAIL
[root@tmail CentOS]# rpm -ivh setuptool-1.19.2-1.el5.centos.i386.rpm
[root@tmail CentOS]# setup
[root@tmail ~]# vi /etc/sysconfig/iptables    ###查看确定有开放25,110,22,80几个PORT,如没有直接修改,并重启服务生效!
[root@tmail ~]# service iptables restart
清除防火墙规则:                                           [确定]
把 chains 设置为 ACCEPT 策略:filter                       [确定]
正在卸载 Iiptables 模块:                                  [确定]
应用 iptables 防火墙规则:                                 [确定]
载入额外 iptables 模块:ip_conntrack_netbios_ns            [确定]
[root@tmail ~]#
[root@tmail ~]# chkconfig --list ip6tables  ###关闭不必要的服务###
ip6tables       0:关闭  1:关闭  2:启用  3:启用  4:启用  5:启用  6:关闭
[root@tmail ~]# chkconfig ip6tables off
[root@tmail ~]# chkconfig gpm off
[root@tmail ~]# chkconfig xfs off
[root@tmail sbin]# ntsysv   ###或使用此命令进入控制台来关闭###
7.     访问TMAIL管理后台,新增账户,并登录TMAIL看是否正常发信
[url]http://ip/tmail/[/url]  ##注意tmail后面的斜线不能少,这个后台访问##
[url]http://ip[/url]   ##这是tmail webmail登录访问
增加一个51cto.com的域名,然后增加一个用户godoha
用刚刚新建的用户来,登录webmail
8.     检查日志,确认邮件是否发出!
[root@tmail ~]# tail -f /var/log/maillog
Apr 26 23:20:34 tmail postfix/pipe[2173]: B4B811634AF: to=<[email]godoha@51cto.com[/email]>, relay=maildrop, delay=11, delays=0.48/0.26/0/11, dsn=2.0.0, status=sent (delivered via maildrop service)
Apr 26 23:20:34 tmail postfix/qmgr[1984]: B4B811634AF: removed
9.     后续添加中。。。。。。。

附件:http://down.51cto.com/data/2352476

本文转自godoha 51CTO博客,原文链接:http://blog.51cto.com/godoha/153433,如需转载请自行联系原作者

基于CentOS 5.3系统下面的TMAIL安装笔记相关推荐

  1. centos 6.5 系统下 maba服务安装与配置

    一.简介 Samba是一个能让Linux系统应用Microsoft网络通讯协议的软件,而SMB是Server Message Block的缩写,即为服务器消息块 ,SMB主要是作为Microsoft的 ...

  2. CentOS 7 系统下使用 Pyenv 安装 Python 环境

    文章目录 1. CentOS 7 系统下使用 Pyenv 安装 Python 环境 1.1. Pyenv 介绍 1.2. Linux 环境下安装 Pyenv 1.3. 使用 pyenv 编译安装 Py ...

  3. Win10系统下面的TR1008解决方案

    Win10系统下面的TR1008解决方案 最近为了体验高大上的Win10系统,于是就把本本原来的Win7旗舰版 升级 到了Win10专业版.之后又在本本上部署了cognos,但是在打开Transfor ...

  4. linux系统下源码安装mysql5.6数据库

    linux系统下源码安装mysql5.6数据库 下载mysql数据库相关软件包(百度云盘:http://pan.baidu.com/s/1bnL31c7) 从mysql 5.5版本开始,mysql源码 ...

  5. python下载opencv库_Window系统下Python如何安装OpenCV库

    关于OpenCV简介 OpenCV是一个基于BSD许可(开源)发行的跨平台计算机视觉库,可以运行在Linux.Windows.Android和Mac OS操作系统上.它轻量级而且高效--由一系列 C ...

  6. linux安装多版本php_Linux系统下为Nginx安装多版本PHP

    我们在安装配置服务器LNPM环境时应该考虑到PHP多版本并存的问题,下面是实现Linux系统下为Nginx安装多版本PHP的实现方法 linux版本:64位CentOS 6.4 Nginx版本:ngi ...

  7. arduinowin7_Win7系统下Arduino驱动安装失败的解决方法

    近日有不少win7系统用户反映说碰到这样一个现象,就是在电脑中连接Arduino单片机的时候,就会提示Arduino驱动安装失败,遇到这样的问题要如何处理呢,针对这个情况,小编就给大家分享一下Win7 ...

  8. centos6.5 rpm安装mysql_CentOS6.5系统下RPM包安装MySQL5.6(转)

    1.查看操作系统相关信息. [root@linuxidc ~]# cat /etc/issue CentOS release 6.5 (Final) Kernel \r on an \m [root@ ...

  9. python中安装opencv一直说不是内部或外部文件_Window系统下Python如何安装OpenCV库

    关于OpenCV简介 OpenCV是一个基于BSD许可(开源)发行的跨平台计算机视觉库,可以运行在Linux.Windows.Android和Mac OS操作系统上.它轻量级而且高效--由一系列 C ...

最新文章

  1. redis(3)-redis基本类型
  2. Linux内核学习总结
  3. 【linux】lsof的常用命令汇总
  4. 微软免费AI作文打分软件升级:雅思考研四六级都能用,还能查单词给替换
  5. Excel工作表密码保护的破解
  6. linux程序设计知识点整理,笔试面试中C/C++重要知识点整理
  7. Android 用MediaCodec ,MediaExtractor解码播放MP4文件
  8. Flask redirect
  9. 基于opencv的文本检测器
  10. 计算机专用英语词汇1695个词汇表
  11. Excel查找、替换与定位
  12. Selenium WebDriver 数据驱动测试框架
  13. 深度学习基础----GAE和VGAE
  14. 六款最佳、免费的网络延迟测试工具
  15. OSPF协议总结5(六种LSA)
  16. 软件工程——理论与实践(第二版)课后习题整理
  17. ASP.NET与HTML的关系理解
  18. 拒绝调包 手写实现神经网络(复习专用)
  19. linux mysql 服务停止不了_Linux服务器mysql数据库自动停止的解决方法
  20. 小说的逻辑与反逻辑_小说内部的逻辑与反逻辑

热门文章

  1. Android(java方法)上实现mp4的分割和拼接 (一)
  2. CSS浏览器兼容问题
  3. 每日英语:Do Bicycle Helmet Laws Really Make Riders Safer?
  4. 内存条引发的各类故障解析
  5. 开源软件 Nagios 曝11个漏洞,可使IT 基础设施遭接管引发供应链攻击
  6. CVE-2021-3560的漏洞说明及利用流程
  7. 云安全之虚拟机安全监控
  8. 利用lxml爬取豆瓣小组内容文档并保存
  9. Spark SQL实战
  10. 一个肉夹馍引起的思考