LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 812|回复: 1

关于postfix虚拟域的helo信息

[复制链接]
发表于 2005-8-18 11:24:07 | 显示全部楼层 |阅读模式
环境:RHEL3_U4  postfix-2.2.2
内网ip 192.168.0.1
外网vip1:218.108.50.1  邮件域:mx1.mail.com
      vip2:218.108.50.2  邮件域:mx2.mail.com

main.cf的相关配置:
  1.   myhostname = mx1.mail.com
  2.    mydomain =  mail.com
  3.    myorigin = $myhostname
  4.    mydestination = $myhostname, localhost, $mydomain, mx2.$mydomain
  5.    smtp_helo_name = $mydestination
  6.    smtpd_helo_required = yes
复制代码


看postfix.org上说可以用mydestination实现最简单的虚拟域,不知道那样配置对不对

但我从其他server直接
  1. telnet mx1.mail.com 25
  2. Trying 218.108.50.1...
  3. Connected to mx1.mail.com (218.108.50.1).
  4. Escape character is '^]'.
  5. 220 mx1.mail.com ESMTP Postfix
  6. helo  xxx
  7. 250 mx1.mail.com
复制代码


  1. telnet mx2.mail.com 25
  2. Trying 218.108.50.2...
  3. Connected to mx2.mail.com (218.108.50.2).
  4. Escape character is '^]'.
  5. 220 mx1.mail.com ESMTP Postfix
  6. helo  xxx
  7. 250 mx1.mail.com
复制代码


不知道为何两个的helo信息都是mx1.mail.com,
我是想telnet哪个域名,helo信息就是哪个域名,哎
我没用mysql等什么的,不知道大家还有其他方法实现么?
 楼主| 发表于 2005-8-19 10:20:44 | 显示全部楼层
有人知道么?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表