Hi,

just a proposal for the current trunk: logging/generic_log

-------------------------------------------------------------
#!perl

sub register {
    my ( $self, $qp, %args ) = @_;

}

sub hook_deny {
    my ( $self, $transaction, $prev_hook, $return, $return_text ) = @_;

    $self->log(LOGINFO, "DENIED by $prev_hook");
}
-------------------------------------------------------------

This plugins makes creating statistics [1] a lot easier ;)


[1] http://wiki.qpsmtpd.org/resources:statistics

-- 
Jens


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to