1.一个sendmail 的替代品
2.计划目标:
Postfix是一个可造的Unix和Linux上的mail服务软件。它有计划的改建sendmail在几个关键区域:
⑴ Fast
一个桌面级的系统运行Postfix能每天接收和发送几百万一样多的不同信息。Postfix技术使用在web服务器中可减少进程创造的开销,并用其他技巧去减少文件系统的开销。
⑵ Easy Administrator
不像复杂和难懂的sendmail.cf ,Postfix配置文件是精心构思的,是易读的指令。
⑶ Secure
Postfix建立于许多小程序之上,各个程序仅执行一特定的任务。从网络到敏感安全的本地投递程序没有直接的连接。几乎修理每个程序Postfix能在一个chroot“jail”中用最小特权运行。Postfix的部分不用set-uid。
⑷ 完全兼容于sendmail
Postfix是有计划的与sendmail兼容,而且能使用/var/spool/mail、/etc/aliases,NIS映射和forword文件。服务器从sendmail迁移到Postfix比较简单。
更多信息查看:http://www.postfix.org.
5.25 Postfix服务简介
1、服务类型:系统V -launched服务
2、所需软件包: postfix
3、守护进程:master 、 nqmgr 、 smtpd 、 pickup、(其它)
Postfix使用几个独立的守护进程和程序去处理mail,通过一个管理员守护进程调用master来管理。文件/etc/postfix/master.cf用于配置怎样运行辅助进程。master 守护进程不直接处理mail,它仅启动其他进程去处理。
其他守护进程有:
smtpd :监听25端口传入的信息并提交他们到“传入”队列。
pickup :通过本地posftix sendmail程序从“maildrop”队列到“jncoming”队列,发送移动的信息。
nqmgr :发送来自“incoming”队列到不同的进程的为了传送,转播或本地投递的信息。
4、脚本 :postfix
5、端口 :25(smtp)
6、配置文件:/etc/postfix/main.cf
/etc/postfix/master.cf
7、相关的服务:procmail
Postfix发送系统的图表,在/usr/share/doc/postfix-*/html/big-picture.html.中可看到。
5.26 使用Postfix
1.用alternatives命令激活
一旦Postfix被安装,它可用alternatives激活
#alternatives -set mat /usr /sbin/sendmail.postfix
2.设置最小配置指令
当Postfix有几百个配置参数可在main.cf中使用时,大多数选择默认是明智的。在最小限度内,你将需要配置以下值:
# The domain to use in outgoing email
myorigin = redhat.com
# A space-separated list of domains to receive mail for
mydestination = redhat.com mingfoo.redhat.com
# Which clients, if any, to relay mail for
mynetworks = 192.168.0.0/24,127.0.0.1
# Which networks to listen on
inet_interfaces = all
3.用service命令启动
一旦Postfix被配置完毕,用service 启动mail系统:service postfix start
本文暂时没有评论,来添加一个吧(●'◡'●)