Bug#549524: libnet-smtp-ssl-perl should depend on libauthen-sasl-perl

gregor herrmann gregoa at debian.org
Sun Oct 4 15:10:30 UTC 2009


On Sun, 04 Oct 2009 00:26:42 +0200, Alex Schröder wrote:

> libnet-smtp-ssl-perl should depend on libauthen-sasl-perl. I wanted to
> use Net::SMTP::SSL to send mail; I think the most common reason is
> that the mail server requires authentication. Thus you will be using
> the auth method. If you check it out, you'll find the following:
> 
> sub auth {
>   my ($self, $username, $password) = @_;
> 
>   eval {
>     require MIME::Base64;
>     require Authen::SASL;
>   } or $self->set_status(500, ["Need MIME::Base64 and Authen::SASL
> todo auth"]), return 0;
> 
> There is therefore a dependency on Authen::SASL. If you don't have
> that module, sending your email will fail in a non-obvious way:

Ehrm, no, this code is from Net::SMTP, Net::SMTP::SSL just uses
Net::SMTP and IO::Socket::SSL and doesn't mention/require/use
Authen::SASL anywhere.

But I can imagine that a Recommends or Suggests on
libauthen-sasl-perl might be helpful.

Cheers,
gregor

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
   `-    NP: Eric Clapton: Layla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20091004/9e1ba86c/attachment.pgp>


More information about the pkg-perl-maintainers mailing list