设置SPF记录以允许从Google Apps和Bluehost发送电子邮件 [英] Setup SPF Record to allow sending email from Google Apps and Bluehost

查看:287
本文介绍了设置SPF记录以允许从Google Apps和Bluehost发送电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要能够从Google Apps(我的Gmail帐户)和我的网站上发送电子邮件,这些网站是托管在Bluehost上的。如何创建一个SPF记录,让我从这些位置发送电子邮件,但会限制从其他位置发送电子邮件?

I need to be able to send emails from Google Apps (my gmail account) and from my website which is hosted on Bluehost. How do I create an SPF record that will allow me to send emails from those locations but will restrict sending emails from other locations?

推荐答案

像这样:

v = spf1 include:_spf.google.com aa:abc.example.org a:xyz.example.org - 所有

这表示,包括Google的SPF记录(这将允许所有邮件服务器代表您的域发送邮件),并允许该域中具有A记录的任何内容,并通过验证其A记录特别允许其他2台主机。失败一切。

This says, include Google's SPF record (which will allow all their mail servers to send mail on behalf of your domain), and allow anything in this domain which has an A record, and specifically allow 2 other hosts by verifying their A records. Fail everything else.

为了使这个工作,您将需要知道哪些邮件服务器出站邮件将通过Bluehost来。我不太了解他们,但这可能是您自己的服务器或其出站服务器。如果是后者,那么你也可以使用另外一个include子句来包含他们的记录,所以你不必随时随地保持更新。

For this to work, you will need to know exactly which mail servers outbound mail will come from via Bluehost. I don't know much about them, but that might be your own server, or their outbound servers. If the latter, you might also be able to use another 'include' clause to include their record so you don't have to keep up-to-date with any changes they make.

这个网站是一个有用的工具。 Google提供其他人 http://tools.bevhost.com/spf/

This site is a useful tool. Google offers others. http://tools.bevhost.com/spf/

这篇关于设置SPF记录以允许从Google Apps和Bluehost发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆