I'm using qpsmtpd-forkserver 4.0 and am trying to figure out how to use hook_quit in a plugin.
I've distilled my test plugin down to almost nothing and get this error message: "FATAL PLUGIN ERROR: Can't call method "log" without a package or object reference at ./plugins/check_quit line 4, <STDIN> line 74." sub hook_quit { my $self = @_; $self->log(LOGDEBUG, "test"); $self->qp->connection->notes( 'check_quit', 1 ); return DECLINED; } Any suggestions on how this should work? A working example would be great. Nedry