Chinaunix首页 | 论坛 | 博客
  • 博客访问: 671459
  • 博文数量: 96
  • 博客积分: 2005
  • 博客等级: 上尉
  • 技术积分: 1061
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-21 13:59
文章分类

全部博文(96)

文章存档

2013年(11)

2012年(30)

2011年(55)

分类: LINUX

2012-11-26 17:38:28

Ubuntu12.04LTS安装qmail邮件服务器

1.清除其他常用邮件服务器
  1. root@vubuntu32:/home/comodo#apt-get remove postfix* -y
  2. root@vubuntu32:/home/comodo#apt-get remove exim4* -y
  3. root@vubuntu32:/home/comodo#apt-get remove sendmail* -y
2.安装ucspi-tcp,po-debconf以及qmail-src
  1. root@vubuntu32:/home/comodo#apt-get install ucspi-tcp
  2. root@vubuntu32:/home/comodo#apt-get install po-debconf -y
  3. root@vubuntu32:/home/comodo#apt-get install qmail-src -y
3.安装qmail
  1. root@vubuntu32:/home/comodo#build-qmail
  2. >Enter a directory where you would like to do this [/tmp/qmail] Enter
  3. >Press ENTER to continue...Enter
  4. >except qmail_1.03-49.2_i386.deb now? [Yn] y
  5. >Do you want to install qmail_1.03-49.2_i386.deb now? [Yn] y
  6. >Do you want to purge qmail-src now? [yN] y
  7. >
4. 配置邮件系统域名
  1. root@vubuntu32:/home/comodo# echo "vubuntu32.com">/etc/qmail/me
  2. root@vubuntu32:/home/comodo# cp /etc/qmail/me /etc/hostname
  3. root@vubuntu32:/home/comodo# cp /etc/qmail/me /etc/qmail/defaultdomain
  4. root@vubuntu32:/home/comodo# cp /etc/qmail/me /etc/qmail/locals
5. 测试qmail服务器
  1. apt-get install mailutils -y
  2. echo "abc"|mail -s "T1" user@vubuntu32.com
阅读(2254) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~