postfix转发服务器设置

標簽:postfix 转发 mailsystem   瀏覽(369)  日期:2008-08-02

postfix转发服务器(192.168.0.188):
mynetworks = 127.0.0.0/8 192.168.0.50 #填上被允许转发的主机IP

local_recipient_maps = $alias_maps hash:/etc/postfix/relay_recipients
relay_domains = photoboys.cn
relay_recipient_maps = hash:/etc/postfix/relay_recipients

[root@mail postfix]# cat relay_recipients
@photoboys.cn  mail

transport_maps = hash:/etc/postfix/transport
[root@mail postfix]# cat transport
photoboys.cn relay:[192.168.0.50]


发送服务器配置(192.168.0.50):
transport_maps = hash:/etc/postfix/transport
[root@mail postfix]# cat transport
google.com   smtp:192.168.0.188:25

要记得对那些文件进行postmap操作,生成相应的XXX.db文件。




-------------------------------------------------
上一篇:Clock skew detected. 下一篇:64位linux编译软件注意事项



  
Are you Bot? How you know that?ofcz no.