mailgun - 如何在测试 mailgun webhook 时取消我的域的垃圾邮件?
问题描述
我设法创建了创建 mailgun webhook 的所有代码以及许多其他内容,例如记录对本地数据库的响应。
在我的测试过程中,我向 yahoo 和 gmail 发送了电子邮件,当然 - 正如你所料 - 我在平板电脑的 yahoo 应用程序上按了几次垃圾邮件按钮,以测试和验证用我的代码记录的事件。
我的问题是,现在当我从被测域发送到该雅虎地址时,电子邮件永远不会到达我的收件箱,并且在我阅读的日志中:
4.7.0 [TSS04] Messages from 159.135.140.82 temporarily deferred due to user complaints - 4.16.55.1; see https://postmaster.verizonmedia.com/error-codes
查看 mailgun 报告的内容:
{
"severity": "temporary",
"tags": [
"issue 1",
"newsletter",
"2020"
],
"mailing-list": {
"list-id": "xyz101.mail.mysite.com",
"sid": "1634752",
"address": "xyz101@mail.mysite.com"
},
"storage": {
"url": "https://storage.eu.mailgun.net/v3/domains/mail.mysite.com/messages/AgEFucSTB0eaifXAHzlNKbRoSH0IddfpZA==",
"key": "AgEFucSTB0eaifXAHzlNKbRoSH0IddfpZA=="
},
"delivery-status": {
"tls": true,
"mx-host": "mx-eu.mail.am0.yahoodns.net",
"attempt-no": 1,
"description": "",
"session-seconds": 0.39575695991516113,
"retry-seconds": 600,
"code": 421,
"message": "4.7.0 [TSS04] Messages from 159.135.140.82 temporarily deferred due to user complaints - 4.16.55.1; see https://postmaster.verizonmedia.com/error-codes",
"certificate-verified": true
},
"recipient-domain": "yahoo.co.uk",
"id": "D5IqK77PRA29RvULyzXLsw",
"campaigns": [],
"reason": "generic",
"user-variables": {
"id": "15"
},
"flags": {
"is-routed": false,
"is-authenticated": true,
"is-system-test": false,
"is-test-mode": false
},
"log-level": "warn",
"timestamp": 1604915932.781863,
"envelope": {
"transport": "smtp",
"sender": "sales@mail.mysite.com",
"sending-ip": "159.135.140.82",
"targets": "blah-blah-blah@yahoo.co.uk"
},
"message": {
"headers": {
"to": "cent C. <blah-blah-blah@yahoo.co.uk>",
"message-id": "20201109095852.1.8EC4631A16DA1C10@mail.mysite.com",
"from": "mysite <sales@mail.mysite.com>",
"subject": "test_MailGunHttpClient_send_from_real_domain_with_tags_with_tracking_opens_and_clicks_with_unsubscribe_enabled_and_with_recipient_variables_visible_to_webhooks_to_mailing_list_of_access_type_readonly"
},
"attachments": [],
"size": 2130
},
"recipient": "blah-blah-blah@yahoo.co.uk",
"event": "failed"
}
这个消息最终会变成severity: "permanent"
。
知道如何在不接受我的电子邮件(*)的雅虎服务器上扭转这种行为吗?
(*) 对于我在 Mailgun 设置的另一个域,我检查可传递性,因为我没有点击从该域登陆的电子邮件的垃圾邮件按钮
解决方案
推荐阅读
- api - Salesforce 流 API 握手被拒绝
- bash - 如何使用bash反转表格数据中的列顺序
- orientdb - Gremlin:文本搜索谓词不适用于 OrientDB
- swift - 在结构上使用 UISearchbar
- javascript - 如何遍历所有属性并将值作为对象返回
- node.js - 使用 Lambda 下载所有 AWS Lambda 函数
- sql-server - 内存泄漏sql server 2016
- django - Django 中间件扩展社交媒体应用程序的 self.request
- macos - Gcc:内部编译器错误:中止陷阱:6 信号终止程序 cc1
- matlab - 在 Matlab 中查找文本并将其替换为一个值