Re: RFC: logcompact

2008-03-13 Thread Juerd Waalboer
New features: - keeps track of mailfrom/rcptto so they're included when mail/rcpt hooks return DENY (No address here by that name => now you know which name). - can send log lines (without timestamp, intentional) over UDP; we're using this for central logging (with cronolog). Scripts attache

Re: RFC: logcompact

2008-03-12 Thread Juerd Waalboer
diff --git a/logcompact b/logcompact index 217d25a..ccd517d 100644 --- a/logcompact +++ b/logcompact @@ -167,6 +167,14 @@ sub hook_queue { return DECLINED; } +sub hook_post_connection { +my ($self) = @_; +return DECLINED if $self->qp->connection->notes("logcompact"); + +$self->_