Re: [exim] exigrep on rejectlog

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Marc Sherman
Data:  
Para: exim-users
CC: wbh
Asunto: Re: [exim] exigrep on rejectlog
jean-paul natola wrote:
>
> thats what I thought, However, see below
>
> milter# grep jnatola /var/log/exim/rejectlog
> Envelope-to: <jnatola@???>
>         for jnatola@???; Fri, 05 Jan 2007 11:45:33 -0500
> T To: jnatola@???
> Envelope-to: <jnatola@???>
>         for jnatola@???; Fri, 05 Jan 2007 12:27:31 -0500
> T To: jnatola@???

>


Exigrep does not, in fact, work on rejectlog in the general case. It
only works on the lines within rejectlog that happen to look like
standard exim mainlog lines, because the way exigrep works is by finding
lines with matches, finding the messageids those lines apply to, and
then finding all log lines relating to those message ids. Since the
header dump parts of the rejectlog don't have message ids on them, it
doesn't work.

- Marc