> -----Original Message-----
> From: owner-postfix-us...@postfix.org [mailto:owner-postfix-
> us...@postfix.org] On Behalf Of Jeroen Geilman
> Sent: Saturday, July 31, 2010 3:16 PM
> To: postfix-users@postfix.org
> Subject: Re: Log file checking
> 
> On 07/31/2010 02:15 PM, Mark Scholten wrote:
> > Hello,
> >
> > I am looking for a solution to get the following information from
> postfix:
> > - Ignore connections from 127.0.0.1 or process only connections from
> > 127.0.0.1 (with another flag/option set)
> > - What is done with the connection (mail accepted/mail rejected (if
> rejected
> > what was the reason, for example helo check
> failed/greylisted/recipient
> > doesn't exist/blacklisted))
> >
> > Or if the above isn't available something that outputs the following
> to a
> > file or the commandline (so I can grep at it and use wc -l):
> > - Create a single line with information about a message
> > (time/sender/recipient/helo/sending server/action (including error
> > code/error information if available)
> >
> > I did check and didn't find it here (or I didn't look good enough)
> > http://www.postfix.org/addon.html#logfile
> >
> > Is something like that available for postfix or should I create
> something
> > for it?
> >
> 
> 
> I have no idea what you're talking about - do you want to make postfix
> DO something, or do you want to analyze log files ?
> 
> In the former case, you can restrict pretty much anything.
> 
> In the latter case, there are no limitations, since they're presumably
> your log files - go wild.

I am looking at analyzing the log files. I want to get certain information
from the log files and I want to know if there is something available to
limit it to a single line per email (as that is easier to process and to
find the last action).

Any ideas if there are ready to use scripts for this part?

Regards, Mark

> 
> J.


Reply via email to