I would like some kind of connection ID that can be used to sticht 
together log entries when output is generated before a message ID is 
created.

For example....


 # exigrep something /var/log/exim/exim_main.log

2007-12-06 17:48:40 H=test.host.net [89.125.24.165] 
F=<[EMAIL PROTECTED]> temporarily rejected RCPT 
<[EMAIL PROTECTED]>: [GREYLISTED] 89.125.24.165 from 
<[EMAIL PROTECTED]>.

To see why this was greylisted, I then need to grep for that IP, and see 
this...

 # exigrep 89.125.24.165 /var/log/exim/exim_main.log

2007-12-06 17:48:40 H=test.host.net [89.125.24.165] Warning: [CALLOUT] 
Postmaster Callout failed: Sender verify failed

2007-12-06 17:48:40 H=test.host.net [89.125.24.165] Warning: [GREYLIST] 
Greylisting due to previous problems  (ACL score: 1, greylist result: 2)


There's no way to match these events to a single connection, other then 
that the times match.  Ideally I'd like to do something like

log_selector = +connection_id

or... for message IDs to be generated at the time of connection.

Any ideas?

Thanks,

Ian




-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to