Open
Bug 625781
Opened 14 years ago
Updated 6 years ago
Sending email with SMTP Auth fails due to missing Auth::SASL dependencies
Categories
(Bugzilla :: Installation & Upgrading, defect)
Bugzilla
Installation & Upgrading
Tracking
()
UNCONFIRMED
People
(Reporter: frank, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
Build Identifier:
Software error:
No SASL mechanism found
at C:/Perl/site/lib/Authen/SASL.pm line 75
I am using Exchange 2007. I do not know to fix this.
Reproducible: Always
Steps to Reproduce:
1. Create Bug
2. Send bug details to users
3. Error
Comment 1•14 years ago
|
||
This is really a support question, but we should probably modify checksetup to make it clearer how to deal with this, since it happens so often.
What version of Bugzilla are you using, and how did you install Authen::SASL?
Comment 2•14 years ago
|
||
Could someone explain what the problem is? I never heard about it.
Severity: major → normal
Comment 3•14 years ago
|
||
The problem is that many of Authen::SASL's dependencies are optional. They enable different forms of SMTP Auth. Sometimes servers require a particular form of SMTP Auth. When that form doesn't have its required module installed, Authen::SASL dies with the cryptic error from comment 0.
install-module is supposed to install all optional dependencies, as of 3.6 or 4.0 (I forget which one), so that's why I want to know how the reporter installed Authen::SASL and what version of Bugzilla he's using.
OS: Windows XP → All
Hardware: x86 → All
Summary: Cannot send email → Sending email with SMTP Auth fails due to missing Auth::SASL dependencies
From what can be gathered from my debugged installation, this problem probably happens just on Windows.
1. Net::SMTP determines the supported authentication from the server and calls on Authen::SASL for the authenticated connection. Net::SMTP dies around line 146, since Authen::SASL croaks in client_new
my $client = $sasl->client_new('smtp', ${*$self}{'net_smtp_host'}, 0);
Authen::SASL attempts to try 3 versions ::XS, ::Cyprus and ::Perl
On my Windows system, only Perl exists, and the requested mechanism NTLM is missing *shocked*
Resolution: ppm/cpan Authen::SASL::Perl::NTLM
Would be nice if Authen::SASL::Perl can be fixed to say more clearly and accurately, "Module for NTLM mechanism not found. Have you installed .."
Hope this helps. Good work, guys. Much appreciative.
Updated•10 years ago
|
Assignee: general → installation
Component: Bugzilla-General → Installation & Upgrading
You need to log in
before you can comment on or make changes to this bug.
Description
•