大网数据广告活动
服务器运维问答

Can my MX record and SMTP relay host differ?

· 52CE 我爱测

I have set up SMTP relay using postfix on number of VPS instances we manage. Relay is used for sending errors and reports (duplicity, httpok, zope, crons ...) from services on those VPSs. They are sent to our dreamhost maintenanc…

问题原文

原帖链接 · kamenjan · CC BY-SA 3.0

I have set up SMTP relay using postfix on number of VPS instances we manage. Relay is used for sending errors and reports (duplicity, httpok, zope, crons ...) from services on those VPSs. They are sent to our dreamhost maintenance mail.

SMTP host to relay to is on dreamhost, which we manage. I've created a individual mailbox (e.g. [email omitted]) for every project/VPS instance where we also have control over SMTP server.

But the problem is not all of those VPS instances have dreamhost set in MX record. Some of them use google and others use our local ISP's SMTP server, to which I do not have access.

Is there any issue if I use dreamhost as relay host on VPS instances that do not have dreamhost SMTP server under their MX record?

I've done a lot of reading on the subject, but as you've probably noticed, I'm not a sys admin, so if there are any misconceptions above, please do tell.

已采纳解答

原帖链接 · slass100 · CC BY-SA 3.0

Ok, so:

  • MX records: tell the outside world how to deliver e-mail to you.
  • SMTP relay/smarthost: act as relay for e-mail you send.

The question is "will dreamhost relay e-mail from unknown domains"?

... Maybe

In general, SMTP relays do not forward from unknown senders (SPAM/security/etc.), but dreamhost may have a policy that "trusts" the dreamhost VPS instances.

Because the dreamhost relay's policy controls this behavior, you can test and verify, or open a query/ticket with dreamhost to find out their policy.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-09-30)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。