草庐IT

email - spamassassin rdns 反向 DNS

coder 2024-04-13 原文

Spamassasin 在我的电子邮件中给出以下标记:

*

0.8 RDNS_NONE Delivered to internal network by a host with no rDNS

"This test checks to see if there is a reverse DNS entry for the last untrusted relay. Note that this may be done by interpreting information in the relevant Received header - if reverse DNS checks are not performed by the first trusted relay, or if they are not recorded in the Received header, this test will be triggered (regardless of the actual rDNS status)."

*

我能在我的电子邮件中看到的唯一 ip 是 94.143.11.2 -> 你可以将 dns 反向到 trophymanager.com。 Google 和 hotmail 对此没有问题 - 但 Spamassassin 给了它一个标志 - 我在这里错过了什么?

最佳答案

不确定 spamassassin,但许多邮件过滤器/MTA(例如后缀)只接受 rDNS 条目,如果它是 Forward-confirmed .在您的情况下,前向确认不起作用:

dig -x 94.143.11.2 +short
man01.trophymanager.com.

但是man01.trophymanager.com没有A记录。

创建 DNS 记录:

man01.trophymanager.com A 94.143.11.2

Spamassassin 可能不会再提示了。

关于email - spamassassin rdns 反向 DNS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12297861/

有关email - spamassassin rdns 反向 DNS的更多相关文章

  1. ruby-on-rails - Rails 设计 : "You need to sign in or sign up before continuing" instead of "You will receive an email with instructions.." - 2

    我已经安装了DeviseonRails4.2.0,一切似乎都在工作,我使用了以下指南:http://sourcey.com/rails-4-omniauth-using-devise-with-twitter-facebook-and-linkedin/我的设计模块是:devise:database_authenticatable,:registerable,:confirmable,:recoverable,:rememberable,:trackable,:validatable,:omniauthable唯一的问题是,如果我尝试通过转到注册页面创建一个新帐户,然后在输入我的电子邮

  2. ruby - 如何在 Ruby 中创建数字列表并将其反向附加到它 - 2

    给定一个最小整数和最大整数,我想创建一个数组,它从最小值到最大值以二为单位计数,然后倒退(再次以二为单位,重复最大数)。例如,如果最小数是1,最大数是9,我想要[1,3,5,7,9,9,7,5,3,1].我试图尽可能简洁,这就是我使用单行代码的原因。在Python中,我会这样做:range(1,10,2)+range(9,0,-2)在我刚刚开始学习的Ruby中,到目前为止我所想到的是:(1..9).inject([]){|r,num|num%2==1?r这行得通,但我知道必须有更好的方法。这是什么? 最佳答案 (1..9).step

  3. ruby-on-rails - "554 Please activate your Mailgun account. Check your inbox or log in to your control panel to resend the activation email."错误 Ruby on Rails - 2

    我正在使用RubyonRails构建网络应用程序。我正在使用Mailgun作为这个应用程序的邮件程序。当我使用Facebook注册时它工作正常但是当我尝试使用电子邮件和密码注册时,我不断收到此错误“554请激活您的Mailgun帐户。检查您的收件箱或登录到您的控制面板以重新发送激活电子邮件。“我已经在mailgun仪表板中将eamil授权给授权收件人。这是我的代码:Registrations_controller.rbclassRegistrationsControllerconfig/environments/development.rbRails.application.confi

  4. ruby-on-rails - FactoryGirl错误: "Email has already been taken." - 2

    使用下面的工厂时出现错误(如下所示)。它可以通过运行rakedb:test:prepare暂时修复,但是,这只会修复一次运行的测试。我可以做些什么来获得更永久的修复?我应该使用database_cleaner吗?如果是这样,任何人都可以提供有关设置的任何见解(我正在使用RSpec、Capybara、Rails4、Ruby2)吗?谢谢!我正在使用以下工厂:FactoryGirl.definedofactory:userdosequence(:username){|n|"Person#{n}"}sequence(:email){|n|"person_#{n}@example.com"}pa

  5. ruby - Redmine邮箱配置: "undefined method ` email_delivery =' for ActionMailer::Base:Class" - 2

    我在第一次安装Redmine后为Redmine配置电子邮件通知。我创建了/etc/redmine/default/email.yml并添加了:#Outgoingemailsettingsproduction:email_delivery:delivery_method::smtpsmtp_settings:address:smtp.example.comport:25domain:example.comauthentication::loginuser_name:examplepassword:example访问时http://redmine/我遇到一个应用程序异常:“ActionMa

  6. 没有正则表达式反向引用的 Ruby 字符串子 - 2

    我正在尝试用Ruby做一个简单的字符串子。sub()的第二个参数是一长段精简的JavaScript,其中包含正则表达式。此字符串中正则表达式中的反向引用似乎影响了sub的结果,因为被替换的字符串(即第一个参数)出现在输出字符串中。例子:input="stringishere"output=input.sub("","\&")我希望输出为:"string\&ishere"不是:"string&ishere"或者如果转义正则表达式"stringishere"基本上,我想要一些方法来做一个完全没有正则表达式结果的字符串子-只是一个简单的字符串替换。 最佳答案

  7. Ruby 可枚举反向检测 - 2

    假设我有以下数组:views=[{:user_id=>1,:viewed_at=>'2012-06-2917:03:28-0400'},{:user_id=>1,:viewed_at=>'2012-06-2917:04:28-0400'},{:user_id=>2,:viewed_at=>'2012-06-2917:05:28-0400'},{:user_id=>3,:viewed_at=>'2012-06-2917:06:28-0400'},{:user_id=>1,:viewed_at=>'2012-06-2917:07:28-0400'},{:user_id=>1,:viewed

  8. ruby - 在 Ruby 中获取 DNS TXT 记录 - 2

    我需要从DNS记录中获取txt字段。是否有任何ruby​​api可以做这样的事情?nslookup-q=txtxxxx.com 最佳答案 尝试安装dnsrubygem。代码得到积极维护,并在一些重要的生产系统中使用。require'rubygems'require'dnsruby'includeDnsruby#Usethesystemconfigurednameserverstorunaqueryres=Dnsruby::Resolver.newret=res.query("google.com",Types.TXT)printre

  9. ruby - 如何使用 Ruby 中的特定步骤迭代反向范围? - 2

    我可以这样迭代(0..10).step(2){|v|putsv}但是,由于反向范围等于空范围,我不能这样迭代(10..0).step(2){|v|putsv}它不会给我带来任何好处。当然,我可以像这样向后迭代10.downto(0){|v|putsv}但downto方法不允许我设置除默认1之外的其他步骤。这是非常基本的东西,所以我想应该有一个内置的方法来做到这一点,我不知道。 最佳答案 你为什么不使用Numeric#step:来自文档:Invokesblockwiththesequenceofnumbersstartingatnum

  10. ruby - 在 Ruby 中反向 DNS? - 2

    我处在一个有很多计算机的环境中适当盘点。基本上,没有人知道哪个IP对应哪个mac地址和哪个主机名。所以我写了以下内容:#ThisscriptgoesdowntheentireIPrangeandattemptsto#retrievetheHostnameandmacaddressandoutputsthem#intoafile.Yay!require"socket"TwoOctets="10.26"defcomputer_exists?(computerip)system("ping-c1-W1#{computerip}")enddefappend_to_file(line)file=

随机推荐