Re: Trying to write a log parser, need some clarifications about log enteries.

2009-02-06 Thread Victor Duchovni
On Fri, Feb 06, 2009 at 05:41:33PM -0800, Chris St Denis wrote: > Noel Jones wrote: >> Victor Duchovni wrote: >>> On Fri, Feb 06, 2009 at 01:30:01PM -0800, Chris St Denis wrote: >>> >> Anyway, on to the problems. How do I deal with log entries like this. >> A queue ID is created, but noth

Re: Trying to write a log parser, need some clarifications about log enteries.

2009-02-06 Thread Chris St Denis
Noel Jones wrote: Victor Duchovni wrote: On Fri, Feb 06, 2009 at 01:30:01PM -0800, Chris St Denis wrote: 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

Re: Trying to write a log parser, need some clarifications about log enteries.

2009-02-06 Thread Noel Jones
Victor Duchovni wrote: On Fri, Feb 06, 2009 at 01:30:01PM -0800, Chris St Denis wrote: 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 w

Re: Trying to write a log parser, need some clarifications about log enteries.

2009-02-06 Thread Wietse Venema
Chris St Denis: > 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 Wietse > There was one valid recipient, but the mail transaction was not > completed. This could be a header_checks rule, or a netw

Re: Trying to write a log parser, need some clarifications about log enteries.

2009-02-06 Thread Victor Duchovni
On Fri, Feb 06, 2009 at 01:30:01PM -0800, Chris St Denis wrote: >>> 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 >

Re: Trying to write a log parser, need some clarifications about log enteries.

2009-02-06 Thread Chris St Denis
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 po

Re: Trying to write a log parser, need some clarifications about log enteries.

2009-02-05 Thread Wietse Venema
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 re

Trying to write a log parser, need some clarifications about log enteries.

2009-02-05 Thread Chris St Denis
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 t