大网数据广告活动
网站运营与故障问答

How can we use same domain for employee email and system emails?

· 52CE 我爱测

Suppose we have a website www.abc.com. We want to send (one way) system emails to users (for email verification, password reset etc) which may be sent from [email omitted] and [email omitted]. We also want our employees to have e…

问题原文

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

Suppose we have a website www.abc.com. We want to send (one way) system emails to users (for email verification, password reset etc) which may be sent from [email omitted] and [email omitted]. We also want our employees to have email addresses (two way) like [email omitted] (HR guys, customer-support guys etc), using which they can send and receive emails.

I am planning to look into sendGrid (system mails) and google (employee mails).

What I don't understand is that how the mappings are done? Like, when a mail is sent by some customer to [email omitted], how will it be sent to an employee's mail rather that being listened by sendGrid? And while sending mails from our side, how sendGrid is able to map to our domain? I want to know where and how all these mappings exist.

已采纳解答

原帖链接 · Stephen Ostermiller · CC BY-SA 3.0

One server needs to be configured to receive the emails for your domain. It sounds like you are choosing Google for this. To make this happen you need to change your DNS MX records to the values that Google gives you when you sign up for their system.

You need to then configure it so multiple servers can send mail on behalf of your domain. Traditionally any server could send email from your domain and no configuration was needed to make this happen. These days, mail sent from random places will likely get marked as spam and discarded. You will have to configure DKIM and/or SPF records for each server that you are allowing to send email from your domain. Both Google and sendGrid should give you instructions for configuring one or both of those. There is no limit to the number of servers you can configure to send email from your domain.

I have this set up for my domain. I have the mailboxes hosted with RackSpace email and I use Amazon SES to send email from the website. RackSpace is set up as the MX records, but both places that send have DKIM or SPF set up.

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

资料来源与适用范围

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

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

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