Tag Archive for 'regular expression'

A thing or two about Postfix log analysis

In the last couple of days I had to work on a parser for our email server which uses Postfix; and while it was my first time when I had anything to do with Postfix logs there are a couple of things I’d like to share to the ones that are starting just now with them.

As with often encountered log parsing necessities, the requirements for my task where so distinctive that I couldn’t use any of the Postfix logfile analysis tools it has to offer.

If you are reading this article because you need to parse Postfix log files (and most certainly that is the case), than I would highly recommend to analyze the provided list of tools before moving forward. While parsing logs is not a trivial task, it does take some time before getting it right.
Continue reading ‘A thing or two about Postfix log analysis’