in reply to Malformed UTF-8 character Error

Sorry if my questioning is a bit off-topic, but have you looked at possible solutions for what you're after in the first place in the 'qmail-world' ?

A short google search after 'qmail log' brings a lot of links; one of the first ones is Working with qmail's log files which points to a few useful scripts, like mtrack, strack or convert-multilog.

There might be others too; might be that one of those it as least a good starting point ?

Just an idea, maybe it helps too.


Krambambuli
---

Replies are listed 'Best First'.
Re^2: Malformed UTF-8 character Error
by walkingthecow (Friar) on Jun 18, 2010 at 18:10 UTC
    It's a good suggestion, but of course I looked before deciding to write my own script. The problem with qmail, and other software by Daniel Bernstein, is that it relies so heavily on patches to do anything. So, mtrack/strack are built to work with core qmail logs, but we have 50+ patches to this qmail server and so the logs are completely different than the logs mtrack expects. I used mtrack/strack as a basis for my script, but had to heavily modify it to work in our environment.