解析发现跳动的SMTP日志的工具 [英] Tool for parsing SMTP logs that finds bounces

查看:183
本文介绍了解析发现跳动的SMTP日志的工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的Web应用程序发送电子邮件.我们有很多用户,而且跳动很多.例如,用户更改公司,而他的公司电子邮件不再有效.

Our web application sends e-mails. We have lots of users, and we get lots of bounces. For example, user changes company and his company e-mail is no longer valid.

要查找跳动,我用日志解析器解析SMTP日志文件.日志来自Microsoft SMTP服务器.

To find bounces, I parse SMTP log file with log parser. The logs come from Microsoft SMTP server.

有些弹跳效果很好,例如550+#5.1.0+Address+rejected+user@domain.com.弹跳中有user@domain.com.

Some bounces are great, like 550+#5.1.0+Address+rejected+user@domain.com. There is user@domain.com in bounce.

但是有些错误消息中没有电子邮件,例如550+No+such+recipient.

But some do not have e-mail in error message, like 550+No+such+recipient.

我创建了一个简单的Ruby脚本,用于分析日志(使用日志分析器),以查找导致550+No+such+recipient之类的邮件.

I have created simple Ruby script that parses logs (uses log parser) to find which mail caused something like 550+No+such+recipient.

我只是惊讶地发现找不到能做到这一点的工具.我已经找到了Zabbix和Splunk之类的工具来进行日志分析,但是对于这样简单的任务,它们看起来像是过分杀伤了.

I am just surprised that I could not find a tool that does it. I have found tools like Zabbix and Splunk for log analysis, but they look like overkill for such simple task.

有人知道有一种工具可以解析SMTP日志,查找导致它们的退回邮件和电子邮件吗?

Anybody knows a tool that would parse SMTP logs, find bounces and e-mails that cause them?

推荐答案

article 正是您想要的.它基于出色的工具日志解析器.

This article is exactly what you are looking for. It is based on the great tool log parser.

日志解析器功能强大,用途广泛 提供通用查询的工具 访问基于文本的数据(例如日志) 文件,XML文件和CSV文件,以及 以及 Windows®操作系统,例如 事件日志,注册表,文件 系统和ActiveDirectory®.你 告诉Log Parser您需要什么信息 需要以及您希望如何处理. 您的查询结果可以是 在基于文本的输出中自定义格式, 或者它们可以坚持到更多 特殊目标,例如SQL,SYSLOG或 图表.大多数软件旨在 完成有限的 具体任务.日志解析器为 不同的...可以的方式数量 使用仅受需求限制 和用户的想象力.这 世界是您的Log数据库 解析器.

Log parser is a powerful, versatile tool that provides universal query access to text-based data such as log files, XML files and CSV files, as well as key data sources on the Windows® operating system such as the Event Log, the Registry, the file system, and Active Directory®. You tell Log Parser what information you need and how you want it processed. The results of your query can be custom-formatted in text based output, or they can be persisted to more specialty targets like SQL, SYSLOG, or a chart. Most software is designed to accomplish a limited number of specific tasks. Log Parser is different... the number of ways it can be used is limited only by the needs and imagination of the user. The world is your database with Log Parser.

这篇关于解析发现跳动的SMTP日志的工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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