【问题标题】:How can I un-spam my domain while testing mailgun webhooks?如何在测试 mailgun webhook 时取消我的域的垃圾邮件?
【发布时间】:2021-02-21 09:04:11
【问题描述】:

我设法创建了所有用于创建 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 设置的另一个域,我检查可传递性,因为我没有点击从该域登陆的电子邮件的垃圾邮件按钮

【问题讨论】:

  • 如果有一个简单的方法可以遵循,垃圾邮件发送者会使用它。我想唯一的建议是:停止这样做并等待?
  • 如果我将这种情况投射到现实世界的场景中,这意味着列表的发件人无法联系到他在雅虎的任何订阅者,因为一个人只是按下了垃圾邮件按钮?
  • hmmmm 很有趣...我也明白电子邮件的内容起到“有退订按钮吗?”之类的作用。以及 100 多个影响域声誉的其他因素...
  • 我投票结束这个问题,因为关于电子邮件送达率的问题在这里是题外话。另请参阅meta.stackoverflow.com/questions/302903/…

标签: mailgun email spam-prevention


【解决方案1】:

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

【讨论】:

  • 首先尝试使用 Mailgun 提供的适配工具测试网络挂钩,这可能是向刚刚回答您的人提出任何建议之前的第一步。还要尝试理解它的条件方面:“看起来”清楚地意味着我在说什么。
  • 我的 webhook 工作正常,我的代码没有问题;您的回答(欢迎)验证这是 ip 阻塞并且与我无关,因为到目前为止我还没有批量发送任何东西;最终,如果他们现在或将来遇到类似问题,这篇文章可能会对其他人有所帮助
猜你喜欢
  • 2018-06-15
  • 1970-01-01
  • 2011-02-22
  • 2017-09-02
  • 2012-04-17
  • 1970-01-01
  • 2011-01-24
  • 1970-01-01
  • 2019-11-28
相关资源
最近更新 更多