Tool for parsing smtp logs that finds bounces
Posted
by Željko Filipin
on Stack Overflow
See other posts from Stack Overflow
or by Željko Filipin
Published on 2008-10-15T14:24:30Z
Indexed on
2010/05/09
2:58 UTC
Read the original article
Hit count: 359
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.
To find bounces, I parse smtp log file with log parser.
Some bounces are great, like 550+#[email protected]
. There is [email protected]
in bounce.
But some do not have e-mail in error message, like 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
.
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.
Anybody knows a tool that would parse smtp logs, find bounces and e-mails that cause them?
Edit: smtp server is microsoft smtp server.
© Stack Overflow or respective owner