Wietse Venema wrote:
Chris St Denis:
[ Charset ISO-8859-1 unsupported, converting... ]
First some background. What I am trying to do is write a script that syslog can be piped into that will parse the maillog in real time and insert the items into the database -- one row per queue ID (and possibly one per recipient in another related table).

If there is any program that can do this (or close to this) let me know and save me continue to try to write this.


Anyway, on to the problems. How do I deal with log entries like this. A queue ID is created, but nothing ever happens to it. There is no reject

There was one valid recipient, but the mail transaction was not
completed.  This could be a header_checks rule, or a network failure
or the client crashing.  Any logfile processor will have to deal
sessions that do not go from start to end.

        Wietse
Thanks, but those particular causes doesn't seem to explain it.

This system does not have any header checks (the server it's receiving the mail from does all the spam/etc. filtering) and if it was a network failure or client crashing there should be an additional error message like /^timeout after ([A-Z-]+) (.*)$/ or ^/lost connection after ([A-Z-]+).*from (.*)$/

Reply via email to