Arch Linux

Please read this before reporting a bug:

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
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Very Low
Priority Low
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


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)
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

Closed by  Doug Newgard (Scimmia)
Sunday, 02 August 2015, 16:57 GMT
Reason for closing:  No response
Comment by Jelle van der Waa (jelly) - Sunday, 03 March 2013, 12:25 GMT
perl-authen-sasl is an optdepend. But the description says the dep is only needed for TL.
Comment by Adam (adam900710) - Tuesday, 05 March 2013, 02:40 GMT
if (defined $smtp_authuser) {
# Workaround AUTH PLAIN/LOGIN interaction defect
# with Authen::SASL::Cyrus
eval {
require Authen::SASL;

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.
Comment by Dan McGee (toofishes) - Tuesday, 05 March 2013, 05:49 GMT
You'll want to send this bug report upstream if you want anyone to take a look at it.
Comment by Gerardo Exequiel Pozzi (djgera) - Sunday, 16 February 2014, 14:43 GMT
  • Field changed: Status (Assigned → Waiting on Response)
  • Field changed: Category (Packages: Extra → Upstream Bugs)
status? upstream report?
Comment by Anish Bhatt (anish) - Friday, 30 May 2014, 00:47 GMT
Still seeing this in 1.9.3, is there an upstream bug report to follow somewhere ?
Comment by Doug Newgard (Scimmia) - Monday, 06 July 2015, 05:24 GMT
Status? If nobody's going to bother going upstream, there's not much reason to keep this open.