在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]] 申请精华 已加精~:lol feng老大高人 ,谢谢,收藏了 :handshake :handshake 好东西,fengyong兄,谢谢 啊,好文!谢谢!:lol 精品收藏,多谢feng老大!:handshake 哈哈,基于5.X版本的出来了。参考参考,比老头的有用
该死的老头,把关键的几个配置文件没有上传
真小气 rpmbuild -bb postfix.spec 提示cyrus-sasl-devel is needed by postfix-2.5.4-2.rhel4.i386 没问题了.装上就可以了. 感谢我们的Fengyong 老大,可是我们这些人的福音 [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 装上就行了。记得是自己编译那个。 安装好了.但是过滤不起作用.
maildroprc文件在哪里呀
feng老大谢谢了
feng老大谢谢了,是精华,收了 其实不同版本上安装都大同小易 学习一下。 [root@ituser SPECS]# lsChinput.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命令? [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]
但新问题又来了!还是要请各位帮忙!谢谢! yiyou的东西值得顶一下
回复 18# amx02 的帖子
yum search一下,缺少什么装什么就好了。。。 [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 感谢支持
郁闷
rpmbuil -bb courier-authlib.specerror: failed build dependencies:
expect is needed by courier-authlib-0.61.0-1.i386 楼上的:
yum install expect rpmbuild -bb courier-authlib.spec
error: Failed build dependencies:
/usr/include/ltdl.h is needed by courier-authlib-0.62.4-1.i386 我把 cp /usr/share/libtool/libltdl/ltdl.h /usr/include/
还是不行,谁知道是什么原因 的 。谢谢了!
页:
[1]