Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#34013 - [git] git sendemail needs perl-authen-sasl even smtpencryption is set to plain
Attached to Project:
Arch Linux
Opened by Adam (adam900710) - Monday, 25 February 2013, 08:54 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 02 August 2015, 16:57 GMT
Opened by Adam (adam900710) - Monday, 25 February 2013, 08:54 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 02 August 2015, 16:57 GMT
|
DetailsDescription:
Even "sendemail.smtpencryption" is set to plain( other than sasl/stl is enough), when using git sendemail will fail like the following: ------ Need MIME::Base64 and Authen::SASL todo auth at /usr/lib/git-core/git-send-email line 1212. ------ If perl-authen-sasl is installed, the mail will be send fine. Additional info: * package version(s) git 1.8.1.4-1 perl-authen-sasl 2.16-1 * config and/or log files etc. Steps to reproduce: [1] remove perl-authen-sasl package [2] set "sendemail.smtpencryption" to things other than "ssl" or "tls". [3] use "git sendemail" commands |
This task depends upon
# Workaround AUTH PLAIN/LOGIN interaction defect
# with Authen::SASL::Cyrus
eval {
require Authen::SASL;
Authen::SASL->import(qw(Perl));
};
It seems that "eval" should be replace by a if statement.
So the optdepend should be used for all the smtp authentication even PLAIN is used.