Re: hook_quit

2008-10-20 Thread Steve Kemp
On Mon Oct 20, 2008 at 18:01:43 -0500, Larry Nedry wrote: > sub hook_quit { > my $self = @_; > Any suggestions on how this should work? A working example would be great. For a working example see the "quit_fortune" plugin included in qpsmtpd release. Here it

hook_quit

2008-10-20 Thread Larry Nedry
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