指定电子邮件的反弹地址 [英] Specifying the bounce-back address for email

查看:160
本文介绍了指定电子邮件的反弹地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题,可以让电子邮件反弹到特定的电子邮件地址,不同于 From 地址。



特定客户要求我们从特定的电子邮件地址发送电子邮件(称为 contact@clientcompany.com )。我们的Exchange管理员已在Exchange框中创建了一个帐户,以便我们可以从该地址登录并发送。我们的Exchange服务器正在欺骗地址/域。



不幸的是,从 contact@clientcompany.com 发送的电子邮件不会弹回我们。他们可能会弹回到联系人帐户,位于 clientcompany.com (可能或可能不存在)。 p>

我已经插入了一个标题 Return-Path=kirk.broadhurst@mycompany.com ,假设此字段确定bouncebacks的发送位置。其他文档表明此字段不应由始发SMTP系统填充。其他网站再次谈论一个名为的字段错误到 这显然是非标准的。



所以 - 哪个字段是正确的,它取决于什么?

任何想法为什么我的返回路径不工作?



我真的希望让Exchange正确地弹出一封发送到无效服务器的邮件!



更新:



继续挖掘,而我的返回路径工作只是添加扩展属性在标头块的末尾,但Exchange似乎仍然在顶部添加自己的返回路径值。

 交付到:test@test.com 
收到:通过1.1.1.1与SMTP ...
返回路径:< contact @ clientcomapny.com>
收到:从... ...
...
主题:测试
消息ID:...
返回路径:kirk.broadhurst @ mycompany.com

根据Microsoft.com,我无法设置返回路径,因为MAIL FROM - 这与我以前读过的看起来一致。但现在我被卡住了 - 如何在Exchange 2007中以编程方式更改MAIL FROM值?

解决方案

您可能想要检查标题是否正确设置。检查您的电子邮件的标题并寻找:

 返回路径:kirk.broadhurst@mycompany.com 

返回路径是根据RFC(IIRC)的正确字段,但并不是所有邮件服务器都正确实现。


I'm having a problem getting emails to bounce to a specific email address, different to the From address.

A particular client requires that we send emails from a specific email address (call it contact@clientcompany.com). Our Exchange admins have created an account on the Exchange box so that we can log in and send from that address. Our Exchange server is spoofing that address / domain. This works fine.

Unfortunately the emails sent from contact@clientcompany.com are not bouncing back to us. They are presumably bouncing back to the contact account at clientcompany.com (which may or may not exist).

I've inserted a header Return-Path=kirk.broadhurst@mycompany.com with the assumption that this field determines where bouncebacks are sent. Other documents indicate that this field should never be populated by the originating SMTP system. Other websites again talk about a field called Errors-To which is apparently non-standard.

So - which field is the correct one, and what does it depend on?
Any ideas why my Return-Path is not working?

I'd really like to get Exchange to correctly bounce a message addressed to an invalid server!

update:

Continuing to dig, and my Return-Path work was only adding an extended property at the end of the header block, but Exchange appears to be still adding its own Return-Path value at the top.

Delivered-To: test@test.com 
Received: by 1.1.1.1 with SMTP ... 
Return-Path: <contact@clientcomapny.com> 
Received: from ... ... 
...
Subject: Test 
Message-ID: ... 
Return-Path: kirk.broadhurst@mycompany.com

According to the Microsoft.com, I cannot set the Return-Path as it is determined by the MAIL FROM - which seems consistent with what I've previously read. But now I'm stuck - how do I change this MAIL FROM value programmatically within Exchange 2007?

解决方案

You might want to check if the header is correctly set. Check the headers of your email and look for:

Return-Path: kirk.broadhurst@mycompany.com

Return-Path is the correct field according to RFC (IIRC) but not all Mail Servers implement that correctly.

这篇关于指定电子邮件的反弹地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆