找了很多网页,

有效的是MX可以设置不同的域名,但PTR只设置一个即可。。。

如果设置为一个IP为两个PTR,则在进行测试时,会发生DNS ROBBINS,即一次找这个,一次找那个。

切记。

。。。。

I know this is an old thread, but recently had a customer request multiple PTR names for a single IP, and they keep coming back asking, is it done, is it done? Like the kid in the back seat, are we there yet? They keep doing an nslookup on the IP and it keeps coming back with only one name. Well, duh, thats how it works.

To answer this correctly after doing hours of research and finding the correct answer, I thought I would share.

The correct method of doing a PTR record for a mail server with multiple domains using one single IP, IE a hosted mail server, use the servers host name for the PTR record. What you can do to verify my answer, send an email from each domain off that server to an account you have access to and look at the headers. You will find that the received from server name will all be the same, the servers name. When a receiving server looks at an email it will be looking at the headers, and will run a PTR check against the name found in the header, in most case, all the server needs to allow it through is for a name to come back, regardless if it matches or not. For servers that have strict anti-spam filters, it does an actual name match, PTR to server name, and if it isn't and exact match, will reject it. It gets that name from the headers. Check it out, look at the headers of some emails you have, chances are the server name matches the forward lookup for most emails, but you will find a few that don't.

這都是觀念不夠所致, 我的 sendmail 有十幾個 domain , 但因為我的 hostname 叫 twnic.net.tw 所以我反解只要設 twnic.net.tw 就可以了,至於其他的名字都不需要  因為 hostname 就是你的 ehlo/helo name

你設多個,依 DNS Round Robin 特性怎能保證這次的 ehlo 或 mail from 一定和 PTR 能 match 呢 ! 所以只要一個,就是 hostname 那一個,而 hostname 解出來的 IP 是 MTA 的 IP

最新文章

  1. Linux提权(1)-基础版~
  2. hadoop实战 -- 网站日志KPI指标分析
  3. Minifying Angular应用时产生的问题
  4. Java知多少(107)几个重要的java数据库访问类和接口
  5. unity中的欧拉角
  6. 安卓模拟器"bluestacks"在电脑上的设置.(宽,高)
  7. Linux笔记(十三) - 系统管理
  8. JMessage是让App 同时集成 Push 功能与 IM 功能最完美的方案
  9. mac php7.0~7.2 memcache安装
  10. C#设计模式之四建造者模式(Builder Pattern)【创建型】
  11. JS /javascript 解除网页屏蔽右键(无法复制)的代码
  12. 在C#中如何判断线程当前所处的状态
  13. 软件项目第一次sprint评论
  14. xor定理证明
  15. 8 -- 深入使用Spring -- 5...1 启用Spring缓存
  16. delphi正则表达式学习笔记(三)
  17. Java基础十--接口
  18. airway之workflow
  19. SNP问题大集锦
  20. linux下限制ip访问

热门文章

  1. ajax异步传输
  2. Scala函数字面量简化写法
  3. 骑士飞行棋 C#代码详解
  4. java基础语法笔记
  5. 使用 Date 和 SimpleDateFormat 类表示时间
  6. Oracle错误代码案例总结及解决方案
  7. jQuery Ajax 实例 全解析
  8. JS实现冒泡排序,插入排序和快速排序(从input中获取内容)
  9. 20160420javaweb之文件上传和下载
  10. ACM——圆柱体的表面积