Tool for parsing smtp logs that finds bounces
- by Željko Filipin
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.