Skip Menu |

This queue is for tickets about the libnet CPAN distribution.

Report information
The Basics
Id: 106183
Status: resolved
Priority: 0/
Queue: libnet

People
Owner: Nobody in particular
Requestors: viktorin [...] rehivetech.com
Cc: PHILIPP [...] cpan.org
AdminCc:

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



Subject: Net::SMTP force SASL AUTH mechanism selection
Date: Fri, 31 Jul 2015 21:50:18 +0200
To: bug-libnet [...] rt.cpan.org
From: Jan Viktorin <viktorin [...] rehivetech.com>
I encountered a problem with git send-email (that utilizes the Net::SMTP module). I was unable to send e-mail through my e-mail provider because of some issue in Digest-MD5 mechanism. It is not clear to me, whether the problem is in libnet or on the server. However, when I forced CRAM-MD5, I was able to send patches out. I had to temporarily rename the DIGEST_MD5.pm file so the SASL library did not find it... It seems to me (I don't understand Perl very much) that the Net::SMTP module does not allow to force using a certain mechanism or ban some of them. SASL module has this possibility in the constructor. -- Jan Viktorin E-mail: Viktorin@RehiveTech.com System Architect Web: www.RehiveTech.com RehiveTech Brno, Czech Republic
Subject: Re: [rt.cpan.org #106183] Net::SMTP force SASL AUTH mechanism selection
Date: Sat, 1 Aug 2015 20:29:46 +0200
To: bug-libnet [...] rt.cpan.org
From: Jan Viktorin <viktorin [...] rehivetech.com>
After more investigation, I've discovered, that it is possible to pass a SASL instance as username. This solves the problem below. However, it is not mentioned in the docs. I've attached a patch. Jan On Fri, 31 Jul 2015 15:53:06 -0400 "Bugs in libnet via RT" <bug-libnet@rt.cpan.org> wrote: Show quoted text
> I encountered a problem with git send-email (that utilizes the > Net::SMTP module). I was unable to send e-mail through my e-mail > provider because of some issue in Digest-MD5 mechanism. It is not > clear to me, whether the problem is in libnet or on the server. > However, when I forced CRAM-MD5, I was able to send patches out. I > had to temporarily rename the DIGEST_MD5.pm file so the SASL library > did not find it... > > It seems to me (I don't understand Perl very much) that the Net::SMTP > module does not allow to force using a certain mechanism or ban some > of them. SASL module has this possibility in the constructor. >
-- Jan Viktorin E-mail: Viktorin@RehiveTech.com System Architect Web: www.RehiveTech.com RehiveTech Phone: +420 606 201 868 Brno, Czech Republic

Message body is not shown because sender requested not to inline it.

On Sat Aug 01 14:30:22 2015, viktorin@rehivetech.com wrote: Show quoted text
> After more investigation, I've discovered, that it is possible > to pass a SASL instance as username. This solves the problem > below. However, it is not mentioned in the docs. I've attached > a patch. >
Thanks. I've committed a slight variation of your patch to the github repo: https://github.com/steve-m-hay/perl-libnet/commit/959fe156ffd08ce92beedc04433d94ade65f3259 This will be released in version 3.08 shortly.