服务器 Gind.cn

服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器

使用一个IP在一台电子邮件服务器上托pipe多个域

我有一个电子邮件服务器(邮件),目前承载一个域example1.com。 服务器在NAT后面,我在局域网上configuration了split-dns。 现在已经到了在同一个电子邮件服务器上托pipe额外域名的时间了,经过数小时的search,我已经读到了有关如何创build公共(外部)和内部DNSlogging的冲突信息。 似乎有两种方法来configuration我将在下面演示的MX和Alogging。 方法1 example1.com的外部DNS example1.com 7200 MX 10 mail.example1.com. mail.example1.com 3600 A 213.xx.xx.xx example2.com的外部DNS example2.com 7200 MX 10 mail.example1.com. mail.example1.com 3600 A 213.xx.xx.xx 在第一种方法中,example2.com的MXlogging指向第一个域,例如example.com。 这似乎是Google Apps和ISP等电子邮件托pipe公司的工作原理。 这种方法对于我的情况的问题是,我不希望来自example2.com的电子邮件显示它们来自example1.com。 这个“解决scheme”是我购买第三个域,比如mail.myemailserver.com,它将被用作电子邮件服务器的默认域(或第一个域)。 方法2 example1.com的外部DNS example1.com 7200 MX 10 mail.example1.com. mail.example1.com 3600 A 213.xx.xx.xx example2.com的外部DNS example2.com 7200 MX 10 mail.example2.com. mail.example2.com 3600 A 213.xx.xx.xx 在第二种方法中,第二个域的MXlogging指向它自己的域,例如example2.com。 我所要求的是我了解在单个服务器上托pipe的多个域的configuration,并且在我自己的环境中应该采用哪种方法实施最佳实践或build议。