最新帖子 精华区 社区服务 会员列表 统计排行 银行 广告管理
主题 : postfix转发服务器设置
jack 离线
级别: 管理员
显示用户信息 
0  发表于: 2008-07-07 01:09

postfix转发服务器设置

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文件。
From:江苏省 顶端
快速回复 顶端
内容
HTML 代码不可用
使用签名
Wind Code自动转换

按"Ctrl+Enter"直接提交