Gavin Carr wrote on 31.08.2007 04:29:
Hi Ernesto,

On Fri, Aug 31, 2007 at 04:10:30AM +0200, Ernesto wrote:
trying to inherit from a plugin I ran into a problem:

Plugin: /usr/share/qpsmtpd/plugins/extended_rcpt_to

sub init
{
        my $self = shift;
        print STDERR __PACKAGE__, "::init...\n";
        $self->isa_plugin ( "rcpt_to" );
}
[...]
dienstleistung-kultur:~# invoke-rc.d qpsmtpd restart
Qpsmtpd::Plugin::extended_rcpt_to::init...
could not open plugins/rcpt_to: No such file or directory at
        /usr/share/perl5/Qpsmtpd/Plugin.pm line 121.
invoke-rc.d: initscript qpsmtpd, action "restart" failed.
dienstleistung-kultur:~#


I think I've seen something similar, which turned out to be a bug
in the 0.40 isa_plugin code not handling multiple plugin_dirs properly. Patch attached. Not sure if it's your problem but it smells similar.


Hi Gavin,

*XANX*, dat wossit!

There was no change in sub isa_plugin from Qpsmtpd 0.32 to 0.40, so I
could apply the patch easy (some lines above the line in 0.40).

BTW: It was a double fault: The parent must read 'rcpt_ok' and not
'rcpt_to' as above, but at last it only worked with your patch.
It's time for bed now...

Regards to Australia! Happy Lunch ;-)

        Ernesto






Reply via email to