Re: Perl Module: libnet-smtp-server-perl

Joerg Delker <[email protected]> Sun, 28 May 2006 10:13:49 +0200
Newsgroups gmane.comp.isp.ispman.devel
Message-ID <[email protected]>
Andreas John wrote:
> The ISPMan agent droped it's work with an error:
> 
> Can't call method "mail" on an undefined value at
> /opt/ispman/bin/../lib/ISPMan/MailMan.pm line 21, <DATA> line 424.
> 
> I apt-get install-ed "libnet-smtp-server-perl", this seems to fix the
> problem (read: The error vanished). If my assumption is right, then it
> should be added to the debian-package list.

Hi Andreas,

that's odd, because Net::SMTP (required at that point) is in the bundled 
libnet-1.19.tar.gz.
Regarding Debian, that's provided by "perl-modules".

The package "libnet-smtp-server-perl" on the other hand provides 
Net::Server::Mail, which isn't used here.

 From your reported error message above, I rather get the impression 
that you provided a bogus/empty mailhost, that led to a undefined $smtp 
variable, which would explain that error.

Joerg
smime.p7s (application/x-pkcs7-signature, 3.2 KB) - not displayed