首页 > 解决方案 > 如何在测试 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 设置的另一个域,我检查可传递性,因为我没有点击从该域登陆的电子邮件的垃圾邮件按钮

标签: mailgunemailspam-prevention

解决方案


看起来你的行为已经产生了一些影响,来自我们一个帐户使用相同 IP 的电子邮件被 Yahoo、Aol 等阻止。它开始时无缘无故与我们、收件人或电子邮件的内容有关(这是付费的通讯)。

在此处输入图像描述


推荐阅读