[exim] generating a message id earlier in ACLs, or using a c…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Ian P. Christian
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] generating a message id earlier in ACLs, or using a connection ID
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=<andy@???> temporarily rejected RCPT
<localuser@???>: [GREYLISTED] 89.125.24.165 from
<andy@???>.

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