AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-10967

Chris Adams's questions

Martin Hope
Chris Adams
Asked: 2010-03-08 15:10:27 +0800 CST

谷歌应用邮件和普通的 ol' me@domain.com 转发到 gmail 帐户有什么区别?

  • 2

我目前有一个电子邮件地址 me@domain.com,我目前用它来转发到我使用多年的 gmail 帐户。我目前已经设置好了,所以我可以从我的 me@domain.com 而不是 old_user_name@gmail.com 发送电子邮件。

这是通过我当前域名、提供商、gandi.net 上的 web ui 完成的。

这种安排和设置设置之间的主要区别是什么Google Apps for your domain,我在 dns 记录中明确列出指向记录以指向 Google 的应用程序邮件服务器?

email mx-record gmail g-suite
  • 3 个回答
  • 444 Views
Martin Hope
Chris Adams
Asked: 2010-03-07 14:44:11 +0800 CST

如何将大量区域记录从基于 Web 的系统移动到基于文本的系统?[复制]

  • 1
这个问题在这里已经有了答案:
如何从 DNS 请求/获取所有记录? (3 个回答)
6年前关闭。

我有几个 Dreamhost 域,我使用他们基于 Web 的域名系统设置了大量记录,我想将它们移动到另一个提供商,让我直接输入信息作为他们的名称服务器的文本文件,绑定9 使用。(如果您有兴趣,我会将它们移至 Gandi.net)。

以前,当我使用基于 cpanel 的系统来做类似的事情时,有一个工具让我只需输入一个域名,任何可用的域都会自动输入到系统中,省去了我自己输入的麻烦(并且用愚蠢的拼写错误关闭网站进行中)。

我可以使用什么开源工具来查询域中的所有相关子域和记录,并以区域文件等格式列出它们,以便与其他名称服务器一起使用?

subdomain bind domain domain-transferring
  • 1 个回答
  • 660 Views
Martin Hope
Chris Adams
Asked: 2010-02-28 05:56:14 +0800 CST

为什么 rhel/centos 以这种方式存储 apache conf 文件?

  • 3

我已经开始在一份新工作中管理一组基于 CentOS 的网络服务器,并且在使用基于 debian 的 linux 服务器几年后,我对 apache 文件结构非常熟悉,如下所示:

    /etc/apache2
        apache2.conf
        conf.d/
        envvars
        mods-available
        mods-enabled
        ports.conf
        sites-available
        sites-enabled

这对我来说是有意义的,我可以使用但不一定要使用的模块是 in mod-available,而用户中的模块是 in mods-enabled,同样sites直接使用。当然,这些主要是符号链接,但我可以理解为什么会这样;*enabled全新进入系统 通过查看相关目录,我大致了解了系统上的情况。

相比之下,CentOS 的设置是这样的:

    /etc/httpd
        conf
        conf.d
        logs -> ../../var/log/httpd
        modules -> ../../usr/lib64/httpd/modules
        run -> ../../var/run

我可以理解,我可以通过调用来查看启用了哪些主机apachectl -S,并apachectl -M查看模块,重命名/conf.d/example.conf为conf.d/example.conf.disabled也可以让我相当简单地禁用站点,但我不明白为什么这些首先是不同的,对现在,我不确定以一种或另一种方式这样做的好处。

是否有任何页面、博客文章或网站可以帮助解释两者之间的差异,以及可能围绕它们为何设置这样的一些思考?

现在我盲目地遵循我在标准 CentOS 文件系统中看到的约定而不理解为什么,当我最不期望它时,我不禁感到它会咬我,比如当我在 selinux 的权限层上犯错时,或者相似的东西。

centos debian apache-2.2 httpd
  • 2 个回答
  • 2223 Views
Martin Hope
Chris Adams
Asked: 2009-09-30 02:17:10 +0800 CST

修复了 Rails/Mysql 应用程序的一个问题,如何防止它再次发生?

  • 0

我在运行 Ubuntu Intrepid 的 VPS 上维护一个运行 Passenger 和 MySQL 的 rails 应用程序,今天早上早些时候,网络服务器停止连接到服务器。我的异常通知程序向我发送了一条带有此错误的消息:

ActionView::TemplateError: Mysql::Error: MySQL server has gone away: SELECT * FROM `table_name` WHERE (`table_name`.`id` = 70)

炮击试图打开 mysql 的 vps 给了我这个:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

我通过停止 apache、重新启动数据库服务器和重新启动乘客来清除此错误,这似乎让一切都再次正常运行,但这并没有解决首先解决为什么会发生这种情况的问题。

我应该在哪些地方寻找导致此错误的原因?(除了 production.log 或 /var/log ),所以我以后可以避免这种情况,并且看到这很容易修复,如果这些情况再次发生,是否值得自动重启两台服务器未来?

mysql
  • 1 个回答
  • 851 Views
Martin Hope
Chris Adams
Asked: 2009-09-03 21:46:34 +0800 CST

如何设置 spf 记录以将邮件从谷歌托管的应用程序发送到 gmail 地址

  • 3

我试图弄清楚为什么我从我拥有的一个域发送的电子邮件被我拥有的另一个域拒绝,虽然我认为这可能与我设置 spf 记录的方式有关,但我不确定我需要哪些步骤采取修复它。

这是我收到的错误消息:

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550-Verification failed for <chris@stemcel.co.uk>
550-No Such User Here
550 Sender verify failed (state 14).

这是来自 check-auth@port25.com 的回复

Delivered-To: chris@stemcel.co.uk
Received: by 10.86.92.9 with SMTP id p9cs85371fgb;
        Wed, 2 Sep 2009 22:33:32 -0700 (PDT)
Received: by 10.90.205.4 with SMTP id c4mr2406190agg.29.1251956007562;
        Wed, 02 Sep 2009 22:33:27 -0700 (PDT)
Return-Path: <auth-results@verifier.port25.com>
Received: from verifier.port25.com (207-36-201-235.ptr.primarydns.com [207.36.201.235])
        by mx.google.com with ESMTP id 26si831174aga.24.2009.09.02.22.33.25;
        Wed, 02 Sep 2009 22:33:26 -0700 (PDT)
Received-SPF: pass (google.com: domain of auth-results@verifier.port25.com designates 207.36.201.235 as permitted sender) client-ip=207.36.201.235;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of auth-results@verifier.port25.com designates 207.36.201.235 as permitted sender) smtp.mail=auth-results@verifier.port25.com; dkim=pass header.i=auth-results@port25.com
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=auth; d=port25.com;
 h=Date:From:To:Subject:Message-Id:In-Reply-To; i=auth-results@verifier.port25.com;
 bh=GRMrcnoucTl4upzqJYTG5sOZMLU=;
 b=uk6TjADEyZVRkceQGjH94ZzfVeRTsiZPzbXuhlqDt1m+kh1zmdUEoiTOzd89ryCHMbVcnG1JajBj
   5vOMKYtA3g==
DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=auth; d=port25.com;
 b=NqKCPK00Xt49lbeO009xy4ZRgMGpghvcgfhjNy7+qI89XKTzi6IUW0hYqCQyHkd2p5a1Zjez2ZMC
   l0u9CpZD3Q==;
Received: from verifier.port25.com (127.0.0.1) by verifier.port25.com (PowerMTA(TM) v3.6a1) id hjt9pq0hse8u for <chris@stemcel.co.uk>; Thu, 3 Sep 2009 01:26:52 -0400 (envelope-from <auth-results@verifier.port25.com>)
Date: Thu, 3 Sep 2009 01:26:52 -0400
From: auth-results@verifier.port25.com
To: chris@stemcel.co.uk
Subject: Authentication Report
Message-Id: <1251955604-546582@verifier.port25.com>
Precedence: junk (auto_reply)
In-Reply-To: <4120a220909022232s345f2a1ag4c497d9c20c8810d@mail.gmail.com>

This message is an automatic response from Port25's authentication verifier
service at verifier.port25.com.  The service allows email senders to perform
a simple check of various sender authentication mechanisms.  It is provided
free of charge, in the hope that it is useful to the email community.  While
it is not officially supported, we welcome any feedback you may have at
<verifier-feedback@port25.com>.

Thank you for using the verifier,

The Port25 Solutions, Inc. team

==========================================================
Summary of Results
==========================================================
SPF check:          pass
DomainKeys check:   neutral
DKIM check:         neutral
Sender-ID check:    pass
SpamAssassin check: ham

==========================================================
Details:
==========================================================

HELO hostname:  fg-out-1718.google.com
Source IP:      72.14.220.158
mail-from:      chris@stemcel.co.uk

----------------------------------------------------------
SPF check details:
----------------------------------------------------------
Result:         pass 
ID(s) verified: smtp.mail=chris@stemcel.co.uk
DNS record(s):
    stemcel.co.uk. 14400 IN TXT "v=spf1 include:aspmx.googlemail.com ~all"
    aspmx.googlemail.com. 7200 IN TXT "v=spf1 redirect=_spf.google.com"
    _spf.google.com. 300 IN TXT "v=spf1 ip4:216.239.32.0/19 ip4:64.233.160.0/19 ip4:66.249.80.0/20 ip4:72.14.192.0/18 ip4:209.85.128.0/17 ip4:66.102.0.0/20 ip4:74.125.0.0/16 ip4:64.18.0.0/20 ip4:207.126.144.0/20 ?all"

----------------------------------------------------------
DomainKeys check details:
----------------------------------------------------------
Result:         neutral (message not signed)
ID(s) verified: header.From=chris@stemcel.co.uk
DNS record(s):

----------------------------------------------------------
DKIM check details:
----------------------------------------------------------
Result:         neutral (message not signed)
ID(s) verified: 

NOTE: DKIM checking has been performed based on the latest DKIM specs
(RFC 4871 or draft-ietf-dkim-base-10) and verification may fail for
older versions.  If you are using Port25's PowerMTA, you need to use
version 3.2r11 or later to get a compatible version of DKIM.

----------------------------------------------------------
Sender-ID check details:
----------------------------------------------------------
Result:         pass 
ID(s) verified: header.From=chris@stemcel.co.uk
DNS record(s):
    stemcel.co.uk. 14400 IN TXT "v=spf1 include:aspmx.googlemail.com ~all"
    aspmx.googlemail.com. 7200 IN TXT "v=spf1 redirect=_spf.google.com"
    _spf.google.com. 300 IN TXT "v=spf1 ip4:216.239.32.0/19 ip4:64.233.160.0/19 ip4:66.249.80.0/20 ip4:72.14.192.0/18 ip4:209.85.128.0/17 ip4:66.102.0.0/20 ip4:74.125.0.0/16 ip4:64.18.0.0/20 ip4:207.126.144.0/20 ?all"

----------------------------------------------------------
SpamAssassin check details:
----------------------------------------------------------
SpamAssassin v3.2.5 (2008-06-10)

Result:         ham  (-2.6 points, 5.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
-0.0 SPF_PASS               SPF: sender matches SPF record
-2.6 BAYES_00               BODY: Bayesian spam probability is 0 to 1%
                            [score: 0.0000]
 0.0 HTML_MESSAGE           BODY: HTML included in message

按照此处的建议,我已经为我的域注册了 spf 记录

根据Kitterman 的 spf 记录测试工具,这两个域都通过了验证,所以我对此有些困惑。

我还在这里的 stemcel.co.uk 域上设置了包罗万象的地址,但我没有为 chrisadams.me.uk 设置一个设置。

相反,我们有以下转发器设置

chris@chrisadams.me.uk  to  mail@chrisadams.me.uk   
hello@chrisadams.me.uk  to  mail@chrisadams.me.uk   
wave@chrisadams.me.uk     to    mail@chrisadams.me.uk   
mail@chrisadams.me.uk     to    chrisdaggimoh@gmail.com

任何想法如何让这个工作?我不确定我应该在这里寻找什么。

email spf gmail
  • 5 个回答
  • 10755 Views
Martin Hope
Chris Adams
Asked: 2009-08-17 15:18:42 +0800 CST

我应该如何为子域设置单独的 MX 记录?

  • 57

假设我有一个运行 Web 应用程序的域,例如cranketywidgets.com,并且我正在使用Google Apps为在该域上工作的人处理电子邮件,例如support@ cranketywidgets.com、jane@cranketywidgets.com等joe@cranketywidgets.com。

Google 自己的邮件服务并不总是最适合发送自动提醒电子邮件、评论通知等,所以我计划追求的当前解决方案是创建一个名为 的单独子域mailer.cranketywidgets.com,在其上运行一个邮件服务器,并创建几个帐户专门用于发送此类电子邮件。

MX为此,这里的记录和记录应该是什么A样子?

我对MX记录可以是名称这一事实感到有些困惑,但它们最终必须解析为A记录。这里的记录应该是什么样子?

曲柄小部件.com -A记录到实际服务器,如 10.24.233.214

crunchetywidgets.com - MXGoogle 电子邮件应用程序的记录

mailer.cranketywidgets.com -MX指向服务器 IP 地址的名称

我会非常感谢一些帮助 - 答案似乎很明显,但电子邮件垃圾邮件是一个难以解决的问题。

email
  • 3 个回答
  • 137748 Views
Martin Hope
Chris Adams
Asked: 2009-07-08 04:49:34 +0800 CST

是否有 bash 等效于 ruby​​ 的“一些内容#{foo}”?

  • 3

我习惯于能够在 ruby​​ 的字符串中传递变量,就像这样

"message in double quotes #{expression_or_variable_to_run}"

对于真正快速的脚本编写,bash 中的等价物是什么?

bash ruby
  • 2 个回答
  • 233 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve