88171.net

perl-IO-Socket-SSL (of RHEL5) is buggy

Especially in using Net::SMTP::SSL, IO::Socket::INET returns errors like these:

IO::Socket::INET configuration failederror:00000000:lib(0):func(0):reason(0)
Net::SMTP::SSL: Bad service ''

It's because perl-IO-Socket-SSL-1.01-* of RHEL5 is BUGGY.

Problem is fixed with IO::Socket::SSL version 1.06 which I just uploaded to CPAN. Problem was, that IO::Socket::SSL "sanitized" the Arguments it gets by setting undef stuff to ''. This way it gave a LocalPort of '' to IO::Socket::INET which did not like it.

IO::Socket::INET configuration failed

If argument for constructor LocalPort is defined, works fine. Otherwise, IO::Socket::SSL should be upgraded to 1.06 or newer.