上善若水,不浮不沉!
分类: LINUX
2013-02-28 13:44:28
1、准备压缩包
postfix-2.8.8.tar.gz
2、解压
#tar -zxvf postfix-2.8.8.tar.gz
#cd postfix-2.8.8
#make
#make install
注:根据安装提示创建一下用户和组
#groupadd postfix
#useradd -g postfix postfix
#groupadd postdrop
然后
#make install
3、交互会话,进行测试
#/usr/sbin/postfix start
#netstat -anpt //master进程是否成功开启
#telnet 192.168.10.43 25
~]# telnet 192.168.10.43 25
Trying 192.168.10.43...
Connected to 192.168.10.43 (192.168.10.43).
Escape character is '^]'.
220 localhost.localdomain ESMTP Postfix
helo
250 localhost.localdomain
mail from:<>
250 2.1.0 Ok
rcpt to:<>
250 2.1.5 Ok
data
354 End data with .
jfkdljfld
.
250 2.0.0 Ok: queued as 88B3B2A68032
quit
221 2.0.0 Bye
Connection closed by foreign host.
到接收邮箱可以收到邮件
4.问题
如果安装包库不在默认目录下
#vi /etc/ld.so.conf
/root/lib
#ldconfig