根据退回邮件从邮件列表中删除用户

发布于 2024-11-14 07:05:30 字数 306 浏览 5 评论 0原文

确定可以从退回邮件中删除哪些电子邮件用户的最佳方法是什么?
示例是退回邮件错误代码 5.1.1,其中邮箱不再存在。
我正在使用 Thunderbird 的 mbox 文件格式。

我的想法包括搜索 Status: 5.1.1 然后向下查找大约 2 行以查看 X-Display-Name: [电子邮件受保护]
有谁知道该怎么做?

What is the best way to figure out which email users can be removed from their bounce mail message?
Example being a bounce mail error code of 5.1.1, where the mailbox no longer exists.
I'm using the mbox file format from Thunderbird.

My ideas include searching for Status: 5.1.1 then looking ~2 lines down to see the X-Display-Name: [email protected].
Does anyone know how to do this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

夜夜流光相皎洁 2024-11-21 07:05:30

处理退回邮件的一种方法是使用 ezmlm 退回邮件处理程序。它会向退回的地址发送一系列退回消息,以测试退回是暂时的还是永久的。他们在他们的弹跳和自动弹跳中详细描述了他们的技术处理帮助页面

Jason Rowe 在 发送电子邮件和退回邮件处理规则。

另请查看 这些退回邮件处理最佳实践

或者,您可以根据退回邮件代码手动编码要退回的邮件。您可以获取 RFC 3463 中所有代码的列表,其中解释了每个代码的含义以及他们是什么类型的失败。

决定什么是硬弹跳或软弹跳并不是一门科学。这是一门艺术。我自己研究并考虑过对此进行编程,但发现它正在打开一罐蠕虫。然后我将使用 phpList 并找出 其反弹处理程序如何工作。这并不容易。

我最终做的是采取简单的方法,使用 LuxSci 进行批量电子邮件发送 并简单地使用他们的退回分析告诉我哪些电子邮件是任何类型的“永久递送失败”。

One way you handle bounces is the way the ezmlm bounce handler does it. It sends a series of bounce messages to the address that bounced to test whether the bounce was temporary or permanent. They describe their technique in a fair bit of detail on their Bounces and Automated Bounce Handling help page.

There is Jason Rowe's excellent blog post on Sending Email and Bounce Handling Rules.

Also check out these Bounce Handling Best Practices.

Or you can manually code which messages you want to bounce based on the bounce mail code. You can get the list of all codes in RFC 3463 which explains what each one means and what type of failure they are.

Deciding what is a hard or soft bounce isn't a science. It's an art. I've researched and thought of programming this myself, but found it was opening a can of worms. Then I was going to use phpList and figure out how its bounce handler worked. That was no easier.

What I ended up doing was taking the easy way out and using LuxSci for my bulk emailing and simply using their Bounce Analysis to inform me which emails are "permanent delivery failures" of any kind.

忆梦 2024-11-21 07:05:30

遗憾的是,没有一种标准方法可以捕获所有退回的消息。对于一堆现有消息,您必须分析这堆消息并尝试提取最常见的格式。您可能可以使用适量的模式匹配方案来处理大部分退回检测。

Sadly, there is not a standard way to catch all bounced messages. For a pile of existing messages, you'll have to analyze the pile and try to extract the most common formats. You could probably handle the majority of the bounced detecting with a moderate number of pattern-match schemes.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文