最近一段时间结合同学给我发的posftix文档,配置了下postfix邮件系统,感觉安装这个东西都是相当的麻烦,要安装好多包以及perl的模块,自己也遇见了N多问题,艰辛万苦的完成了postfix的安装和基本配置,把我相关的文档整理一下发布到博客,方便以后的参考.

 

1Postfix        邮件服务器系统的smtp服务器,在邮件服务器系统中充当MTA角色.

4php              extmanextmail需要使用php解析

7courier-imap      用于实现pop3,imap收邮件功能

10DBD-mysql        用于解决依赖关系,extmail将会用到

13openssl          提供安全的邮件服务器连接

16SpamAssassin      反垃圾邮件过滤器

 

amavisd-new-2.6.1.tar

courier-0.63.0.tar

db-4.5.20.tar

extmail-1.0.9.tar

Mail-SpamAssassin-3.0.5.tar

postfix-2.6.0.tar

#./configure --prefix=/usr/local/mysql --with-extra-charsets=all   --with-plugins=all

#cp support-files/my-medium.cnf /etc/my.cnf

#cd /usr/local/mysql/

#cd ..

#chkconfig --levels 35 mysqld  on

#echo "/usr/local/mysql/lib/mysql" >> /etc/ld.so.conf

#

安装配置Apache

#make

#cp apachectl /etc/init.d/httpd

#

 

#service httpd start

安装配置 PHP

#make

 

cd /usr/local/apache/conf/

 

AddType application/x-httpd-php-source .phps

DirectoryIndex index.html index.html.var index.php

测试

添加如下代码

?>

<span style="font-family: 宋体; mso-ascii-theme-font: minor-fareast; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-bidi-font-family: "Arial Unicode MS'; mso-bidi-font-size: 10.5pt">在浏览器输入http://192.168.10.199,确定apache是否以支持php.