Skip Menu |
 

This queue is for tickets about the IO-Socket-SSL CPAN distribution.

Report information
The Basics
Id: 24030
Status: resolved
Priority: 0/
Queue: IO-Socket-SSL

People
Owner: Nobody in particular
Requestors: RaviBS.Gowda [...] citrix.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Defect on NET::SMTP module
Date: Thu, 21 Dec 2006 15:13:31 +0530
To: <bug-IO-Socket-SSL [...] rt.cpan.org>
From: "Ravi Gowda" <RaviBS.Gowda [...] citrix.com>
Download (untitled) / with headers
text/plain 1.2k
Hi, When we try to connect to a secure SMTP server using NET::SMTP module, I am getting an error saying configuration failederror:00000000:lib(0):func(0):reason(0) I have the following modules installed in my system Algorithm::GenerateSequence -- 0.02 Array::Compare -- 1.12 Array::FileReader -- 0.01 Authen::NTLM -- 1.02 Compress::Zlib -- 1.33 Convert::ASN1 -- 0.19 Crypt-DES_PP -- ??? Crypt::SSLeay -- 0.51 Digest -- 1.00 Digest::Perl::MD4 -- 1.4 Digest::Perl::MD5 -- 1.8 Email::Simple -- 1.92 Expect -- 1.15 HTML::Parser -- 3.48 IO -- 1.23 IO::Socket::SSL -- 1.01 IO::Tty -- 1.02 LWP -- 5.805 LWP::UserAgent::ProxyAny -- 1.01 Mail::POP3Client -- 2.16 Module::Build -- 0.2611 Mymodule -- 0.01 Net::HTTPTunnel -- 0.4 Net::IMAP::Simple -- 0.99 Net::IMAP::Simple::SSL -- 1.3 Net::LDAP -- 0.33 Net::LDAP::Express -- 0.10 Net::MySQL -- 0.08 Net::Pcap -- 0.05 Net::Ping -- 2.31 Net::RawIP -- 0.2 Net::SMTP::SSL -- 1.01 Net::SSLeay -- 1.30 Net::TcpDumpLog -- 0.11 Net::Telnet -- 3.03 NetPacket -- 0.04 News::Article -- 1.27 NewsLib -- ??? Perl -- 5.8.0 SOAP::Lite -- 0.60 SOAP::WSDL -- 1.20 String::Compare -- undef Syntax::Highlight::Perl -- 1.00 Term::ReadKey -- 2.30 XML::XPath -- 1.13 connect-tunnel -- ??? libwww-perl -- ??? mod_perl -- 1.29
From: Steffen_Ullrich [...] genua.de
From what I see is that Net::SMTP itself has no support for SSL while Net::SMTP::SSL has limited support, e.g. it can talk to an SMTP server which works as a SSL server, but not with an SMTP server which listens for plain text and later switches to SSL after the STARTTLS command. Please verify what kind of server you have, the usual way is SSL with STARTTLS, e.g the case not supported by Net::SMTP. If you are sure that your server talks SSL directly please provide me with an example program so that I can recreate the problem myself. Right now I have no SSL-enabled SMTP server so it would be helpful if I could use the one you use. Regards, Steffen On Thu Dec 21 04:44:04 2006, RaviBS.Gowda@citrix.com wrote: Show quoted text
> Hi, > > When we try to connect to a secure SMTP server using NET::SMTP module, I > am getting an error saying > > configuration failederror:00000000:lib(0):func(0):reason(0) > > I have the following modules installed in my system > > Algorithm::GenerateSequence -- 0.02 > Array::Compare -- 1.12 > Array::FileReader -- 0.01 > Authen::NTLM -- 1.02 > Compress::Zlib -- 1.33 > Convert::ASN1 -- 0.19 > Crypt-DES_PP -- ??? > Crypt::SSLeay -- 0.51 > Digest -- 1.00 > Digest::Perl::MD4 -- 1.4 > Digest::Perl::MD5 -- 1.8 > Email::Simple -- 1.92 > Expect -- 1.15 > HTML::Parser -- 3.48 > IO -- 1.23 > IO::Socket::SSL -- 1.01 > IO::Tty -- 1.02 > LWP -- 5.805 > LWP::UserAgent::ProxyAny -- 1.01 > Mail::POP3Client -- 2.16 > Module::Build -- 0.2611 > Mymodule -- 0.01 > Net::HTTPTunnel -- 0.4 > Net::IMAP::Simple -- 0.99 > Net::IMAP::Simple::SSL -- 1.3 > Net::LDAP -- 0.33 > Net::LDAP::Express -- 0.10 > Net::MySQL -- 0.08 > Net::Pcap -- 0.05 > Net::Ping -- 2.31 > Net::RawIP -- 0.2 > Net::SMTP::SSL -- 1.01 > Net::SSLeay -- 1.30 > Net::TcpDumpLog -- 0.11 > Net::Telnet -- 3.03 > NetPacket -- 0.04 > News::Article -- 1.27 > NewsLib -- ??? > Perl -- 5.8.0 > SOAP::Lite -- 0.60 > SOAP::WSDL -- 1.20 > String::Compare -- undef > Syntax::Highlight::Perl -- 1.00 > Term::ReadKey -- 2.30 > XML::XPath -- 1.13 > connect-tunnel -- ??? > libwww-perl -- ??? > mod_perl -- 1.29 > > >
Download (untitled) / with headers
text/plain 342b
No feedback to my query received, therefore I assume that user tried to talk to SMTP server which switches with STARTTLS into TLS mode, because this is the most common case and explains the error message. So it looks not like a problem of IO::Socket::SSL but a design limitation of Net::SMTP/Net::SMTP::SSL, therefore the bug will be closed.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.