如何将域路由到我的专用服务器以便使用电子邮件

时间:2022-04-26 14:43:45

I think what I need is some general explanation as to how this works, but here is my problem.

我认为我需要的是关于它是如何工作的一些一般性解释,但这是我的问题。

I have a dedicated server with 1&1, everything is working perfect, I have several clients' websites on the dedicated server all running through different domains that I have purchased through 1&1.

我有一个1&1的专用服务器,一切都很完美,我在专用服务器上有几个客户的网站,所有这些网站都运行在我通过1和1购买的不同域中。

The server is running ZPanel (Not for long, so please spare me the "risky choice" speech), and I have setup some mailboxes that RECEIVE e-mail perfectly!!! When it comes to sending e-mail, it doesn't for some recipients, and for others it goes straight to SPAM/JUNK.

服务器正在运行ZPanel(不是很长时间,所以请为我免费提供“冒险选择”演讲),我已经设置了一些RECEIVE电子邮件的邮箱!当涉及到发送电子邮件时,它不适用于某些收件人,而对于其他收件人则直接发送给垃圾邮件/垃圾邮件。

What could be happening here? I understand it is a vague question, I can only assume the domain DNS settings are correct otherwise e-mails wouldn't be received at all right? Is this a mail server problem?

这可能会发生什么?我理解这是一个模糊的问题,我只能假设域DNS设置是正确的,否则不会收到电子邮件吗?这是邮件服务器问题吗?

The dedicated server is running Linux 12.04-ish.

专用服务器正在运行Linux 12.04-ish。

Any questions to help I am more than pleased to answer.

有任何问题可以帮助我非常乐意回答。

Thanks

2 个解决方案

#1


0  

From the top of my head, in order to avoid being flagged as spammer you will need a pointer record PTR mapping your domain to your ip address and a SPF record.

从我的头脑中,为了避免被标记为垃圾邮件发送者,您将需要一个指针记录PTR将您的域映射到您的IP地址和SPF记录。

How it works:

这个怎么运作:

Spam filters will check if your ip address belongs to the domain you're claiming it does. So it will do a reverse DNS lookup and if you don't have a PTR record it will flag the email as possible spam.

垃圾邮件过滤器将检查您的IP地址是否属于您声称的域名。因此它将进行反向DNS查找,如果您没有PTR记录,它会将该电子邮件标记为可能的垃圾邮件。

In addition to reverse dns lookup, some spam filters will also check the SPF Sender Policy Framework rules, if your ip address is not included in that rule it will flag the email as possible spam.

除了反向DNS查找,一些垃圾邮件过滤器还将检查SPF发件人策略框架规则,如果您的IP地址未包含在该规则中,它将标记该电子邮件作为可能的垃圾邮件。

Take a look at rackspace email server:

看看rackspace电子邮件服务器:

tiago@dell:/tmp/test$ dig mx1.emailsrvr.com +short
108.166.43.1

Reverse DNS:

tiago@dell:/tmp/test$ dig -x 108.166.43.1 +short
mx1.emailsrvr.com.

SPF:

tiago@dell:/tmp/test$ dig txt emailsrvr.com +short
"v=spf1 ip4:67.192.241.0/24 ip4:98.129.184.0/23 ip4:173.203.2.0/25 ip4:173.203.6.0/23 ip4:50.57.0.0/27 ip4:108.166.43.0/24 ip4:173.203.187.0/25 ip4:204.232.172.40 ~all"

http://en.wikipedia.org/wiki/List_of_DNS_record_types#PTR

http://en.wikipedia.org/wiki/Sender_Policy_Framework

#2


0  

Thanks for the answer.

谢谢你的回答。

It turns out my Dedicated Server IP address was blacklisted which made Hotmail throw a hissy fit. Here is a tool you can use to check if your IP has been blacklisted: http://www.anti-abuse.org/multi-rbl-check/

事实证明我的专用服务器IP地址被列入黑名单,这使得Hotmail非常适合。您可以使用以下工具检查您的IP是否已被列入黑名单:http://www.anti-abuse.org/multi-rbl-check/

It turns out, to be more specific about this issue, that I was using ZPanel which pretty much automatically blacklists IPs running ZPanel due to the obvious security flaws.

事实证明,更具体地说是这个问题,我使用ZPanel,由于明显的安全漏洞,它几乎自动将运行ZPanel的IP列入黑名单。

Thanks very much for the original answer and it did help me eventually track this problem down.

非常感谢原始答案,它确实帮助我最终追踪这个问题。

#1


0  

From the top of my head, in order to avoid being flagged as spammer you will need a pointer record PTR mapping your domain to your ip address and a SPF record.

从我的头脑中,为了避免被标记为垃圾邮件发送者,您将需要一个指针记录PTR将您的域映射到您的IP地址和SPF记录。

How it works:

这个怎么运作:

Spam filters will check if your ip address belongs to the domain you're claiming it does. So it will do a reverse DNS lookup and if you don't have a PTR record it will flag the email as possible spam.

垃圾邮件过滤器将检查您的IP地址是否属于您声称的域名。因此它将进行反向DNS查找,如果您没有PTR记录,它会将该电子邮件标记为可能的垃圾邮件。

In addition to reverse dns lookup, some spam filters will also check the SPF Sender Policy Framework rules, if your ip address is not included in that rule it will flag the email as possible spam.

除了反向DNS查找,一些垃圾邮件过滤器还将检查SPF发件人策略框架规则,如果您的IP地址未包含在该规则中,它将标记该电子邮件作为可能的垃圾邮件。

Take a look at rackspace email server:

看看rackspace电子邮件服务器:

tiago@dell:/tmp/test$ dig mx1.emailsrvr.com +short
108.166.43.1

Reverse DNS:

tiago@dell:/tmp/test$ dig -x 108.166.43.1 +short
mx1.emailsrvr.com.

SPF:

tiago@dell:/tmp/test$ dig txt emailsrvr.com +short
"v=spf1 ip4:67.192.241.0/24 ip4:98.129.184.0/23 ip4:173.203.2.0/25 ip4:173.203.6.0/23 ip4:50.57.0.0/27 ip4:108.166.43.0/24 ip4:173.203.187.0/25 ip4:204.232.172.40 ~all"

http://en.wikipedia.org/wiki/List_of_DNS_record_types#PTR

http://en.wikipedia.org/wiki/Sender_Policy_Framework

#2


0  

Thanks for the answer.

谢谢你的回答。

It turns out my Dedicated Server IP address was blacklisted which made Hotmail throw a hissy fit. Here is a tool you can use to check if your IP has been blacklisted: http://www.anti-abuse.org/multi-rbl-check/

事实证明我的专用服务器IP地址被列入黑名单,这使得Hotmail非常适合。您可以使用以下工具检查您的IP是否已被列入黑名单:http://www.anti-abuse.org/multi-rbl-check/

It turns out, to be more specific about this issue, that I was using ZPanel which pretty much automatically blacklists IPs running ZPanel due to the obvious security flaws.

事实证明,更具体地说是这个问题,我使用ZPanel,由于明显的安全漏洞,它几乎自动将运行ZPanel的IP列入黑名单。

Thanks very much for the original answer and it did help me eventually track this problem down.

非常感谢原始答案,它确实帮助我最终追踪这个问题。