使用其他域的发件人地址发送SMTP

问题描述:

我的目标是在服务器上创建罐装电子邮件,然后从客户端电子邮件地址发送电子邮件。为此,我知道它必须来自与发件人地址匹配的域,而不是被标记为垃圾邮件。
我需要从中发送许多用户电子邮件地址,所有这些电子邮件地址都具有相同的域。在与客户的合作下,我是否可以将其设置为使用一个SMTP凭据,还是需要为每个用户使用凭据?

My goal is to create a canned email on my server and then send the email from client email addresses. To do this and not be marked as spam I understand it must come from a domain matching the from address. There are many user email addresses I would need to send email from, all with the same domain. With cooperation from my client, could I set this up to work with one SMTP credential or would I need credentials for each and every individual user?

为了澄清,如果我得到了一个来自我的客户端的带有un / pw的SMTP服务器地址,足以发送给以下地址:

To clarify, if I get an SMTP server address with a un/pw from my client, would that be enough to send from:

george@example.com
martha@example.com
ted@example.com

george@example.com martha@example.com ted@example.com

谢谢!

问题



您要避免 joe-jobbing 在您的自动消息中。

Problem

You want to avoid joe-jobbing in your automated messages.

这取决于您如何向


  1. 如果您要为每封邮件向远程SMTP服务器进行身份验证,则需要为每个用户提供凭据。
  2. >
  3. 如果您将邮件直接注入经过授权可发送域邮件的MTA中(例如,使用 sendmail 命令),则只需要特权访问权限。

  1. If you're authenticating to a remote SMTP server for each message, then you need credentials for each user.
  2. If you're injecting messages directly into an MTA (e.g. with the sendmail command) that is authorized to send mail for the domain, then you only need privileged access.