ExtMail服务器社区's Archiver

fengyong 发表于 2008-9-1 07:55

在centos/redhat 上安装邮件系统(extmail) V0.1

本文以最简单,最方便的方法在centos 5.2 上安装一个全功能的邮件系统,此文适合REDHAT所有系列,在文中,能用RPM 安装的,我们将采用rpm 安装,如果rpm没有的,我们将创建自己的rpm。部分软件简介:
1、AMP ---apache(web服务) 、mysql(数据库)、php(非必需) 的简称
2、postfix --mta 邮件系统核心
3、courier-authlib--一个为courier-imap,maildrop,sasl2 提供用户信息的后台进程序
4、courier-imap --提供pop3,pop3s,imap,imaps 服务的程序
5、amavisd-new --提供内容过滤
6、clamav -- 著名的杀毒软件
7、extmail --一个著名的webmail程序
8、extman --与extmail集成的后台管理程序
9、slockd --一个基于smtp阶段的反垃圾邮件程序
10、vhmgr --由本文作者编写,用于管理apache,ftp,mysql 的虚拟主机管理程序。

阅读地址:
[url]http://www.yiyou.org/docs/centos_extmail_01/[/url]

[[i] 本帖最后由 fengyong 于 2008-9-1 07:57 编辑 [/i]]

fengyong 发表于 2008-9-1 07:55

申请精华

hzqbbc 发表于 2008-9-1 08:21

已加精~:lol

bian_yuan45 发表于 2008-9-1 11:34

feng老大高人 ,谢谢,收藏了

liushaobo 发表于 2008-9-1 15:01

:handshake :handshake 好东西,fengyong兄,谢谢

feiwupiaoxue 发表于 2008-9-1 15:28

啊,好文!谢谢!:lol

ejzhang 发表于 2008-9-1 20:17

精品收藏,多谢feng老大!:handshake

michelle 发表于 2008-9-2 14:03

哈哈,基于5.X版本的出来了。参考参考,比老头的有用
该死的老头,把关键的几个配置文件没有上传
真小气

laixi781211 发表于 2008-9-11 13:06

rpmbuild -bb postfix.spec 提示cyrus-sasl-devel is needed by postfix-2.5.4-2.rhel4.i386

laixi781211 发表于 2008-9-11 13:39

没问题了.装上就可以了.

ctxcom 发表于 2008-9-11 17:14

感谢我们的Fengyong 老大,可是我们这些人的福音

fengyong 发表于 2008-9-12 10:06

[quote]原帖由 [i]laixi781211[/i] 于 2008-9-11 13:06 发表 [url=http://www.extmail.org/forum/redirect.php?goto=findpost&pid=49101&ptid=8651][img]http://www.extmail.org/forum/images/common/back.gif[/img][/url]
rpmbuild -bb postfix.spec 提示cyrus-sasl-devel is needed by postfix-2.5.4-2.rhel4.i386 [/quote]
把cyrus-sasl-devel 装上就行了。记得是自己编译那个。

laixi781211 发表于 2008-9-18 08:16

安装好了.但是过滤不起作用.
maildroprc文件在哪里呀

w7374520 发表于 2008-9-22 10:28

feng老大谢谢了

feng老大谢谢了,是精华,收了

edwardxie 发表于 2008-9-25 11:31

其实不同版本上安装都大同小易

xblang 发表于 2008-9-26 18:30

学习一下。

amx02 发表于 2008-10-8 16:00

[root@ituser SPECS]# ls
Chinput.spec  courier-authlib.spec  wine.spec
[root@ituser SPECS]# rpmbuild -bb courier-authlib.spec
bash: rpmbuild: command not found
[root@ituser SPECS]# rpm
rpm        rpm2cpio   rpmdb      rpmquery   rpmsign    rpmverify  
[root@ituser SPECS]# rpm

想问一下,我的机子为什么没有rpmbuild命令?

amx02 发表于 2008-10-8 16:35

[quote]原帖由 [i]amx02[/i] 于 2008-10-8 16:00 发表 [url=http://www.extmail.org/forum/redirect.php?goto=findpost&pid=49944&ptid=8651][img]http://www.extmail.org/forum/images/common/back.gif[/img][/url]
[root@ituser SPECS]# ls
Chinput.spec  courier-authlib.spec  wine.spec
[root@ituser SPECS]# rpmbuild -bb courier-authlib.spec
bash: rpmbuild: command not found
[root@ituser SPECS]# rpm
rpm        rpm2 ... [/quote]
刚好找到了解决方法:
[root@ituser SPECS]# yum install rpm-build
Repository dag is listed more than once in the configuration
Repository dag is listed more than once in the configuration
Repository dag is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository update is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
openwebmail               100% |=========================|  951 B    00:00     
fasttrack                 100% |=========================|  951 B    00:00     
update                    100% |=========================|  951 B    00:00     
rpmforge                  100% |=========================| 1.1 kB    00:00     
primary.xml.gz            100% |=========================| 2.8 MB    00:19     
rpmforge  : ################################################## 7747/7747
base                      100% |=========================| 1.1 kB    00:00     
addons                    100% |=========================|  951 B    00:00     
os                        100% |=========================| 1.1 kB    00:00     
extras                    100% |=========================| 1.1 kB    00:00     
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package rpm-build.i386 0:4.4.2-48.el5 set to be updated
--> Processing Dependency: elfutils for package: rpm-build
--> Running transaction check
---> Package elfutils.i386 0:0.125-3.el5 set to be updated
--> Processing Dependency: libdw.so.1 for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.122) for package: elfutils
--> Processing Dependency: elfutils-libs = 0.125-3.el5 for package: elfutils
--> Running transaction check
---> Package elfutils-libs.i386 0:0.125-3.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
rpm-build               i386       4.4.2-48.el5     base              553 k
Installing for dependencies:
elfutils                i386       0.125-3.el5      base              163 k
elfutils-libs           i386       0.125-3.el5      base              105 k

Transaction Summary
=============================================================================
Install      3 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 822 k
Is this ok [y/N]: y
Downloading Packages:
(1/3): elfutils-libs-0.12 100% |=========================| 105 kB    00:02     
(2/3): rpm-build-4.4.2-48 100% |=========================| 553 kB    00:08     
(3/3): elfutils-0.125-3.e 100% |=========================| 163 kB    00:03     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: elfutils-libs                ######################### [1/3]
  Installing: elfutils                     ######################### [2/3]
  Installing: rpm-build                    ######################### [3/3]

Installed: rpm-build.i386 0:4.4.2-48.el5
Dependency Installed: elfutils.i386 0:0.125-3.el5 elfutils-libs.i386 0:0.125-3.el5
Complete!
[root@ituser SPECS]# rpm
rpm        rpm2cpio   rpmbuild   rpmdb      rpmquery   rpmsign    rpmverify
[color=SandyBrown][root@ituser SPECS]# rpmbuild -bb courier-authlib.spec
error: Failed build dependencies:
        libtool is needed by courier-authlib-0.61.0-1.i386
        gdbm-devel is needed by courier-authlib-0.61.0-1.i386
        pam-devel is needed by courier-authlib-0.61.0-1.i386
        redhat-rpm-config is needed by courier-authlib-0.61.0-1.i386[/color]
但新问题又来了!还是要请各位帮忙!谢谢!

adam_chenzh 发表于 2008-12-1 22:25

yiyou的东西值得顶一下

nt5 发表于 2009-4-7 15:54

回复 18# amx02 的帖子

yum search一下,缺少什么装什么就好了。。。

fengyong 发表于 2009-4-7 16:53

[quote]原帖由 [i]adam_chenzh[/i] 于 2008-12-1 22:25 发表 [url=http://www.extmail.org/forum/redirect.php?goto=findpost&pid=52518&ptid=8651][img]http://www.extmail.org/forum/images/common/back.gif[/img][/url]
yiyou的东西值得顶一下 [/quote]
:P 感谢支持

54chai 发表于 2009-6-19 15:09

郁闷

rpmbuil -bb courier-authlib.spec

error: failed build dependencies:
   expect is needed by courier-authlib-0.61.0-1.i386

hzqbbc 发表于 2009-6-19 15:14

楼上的:
yum install expect

riceshell 发表于 2009-10-21 16:07

rpmbuild -bb courier-authlib.spec                 
error: Failed build dependencies:
        /usr/include/ltdl.h is needed by courier-authlib-0.62.4-1.i386

riceshell 发表于 2009-10-21 16:38

我把 cp /usr/share/libtool/libltdl/ltdl.h /usr/include/
还是不行,谁知道是什么原因 的 。谢谢了!

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.