Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
send-email: auth plain/login fix
[gitweb.git]
/
git-send-email.perl
diff --git
a/git-send-email.perl
b/git-send-email.perl
index 76565de2ee517f48001ffacca32e3c08320cfe38..261200618d8002268979d92ae3462c972dad6ffd 100755
(executable)
--- a/
git-send-email.perl
+++ b/
git-send-email.perl
@@
-1095,6
+1095,12
@@
sub send_message {
}
if (defined $smtp_authuser) {
+ # Workaround AUTH PLAIN/LOGIN interaction defect
+ # with Authen::SASL::Cyrus
+ eval {
+ require Authen::SASL;
+ Authen::SASL->import(qw(Perl));
+ };
if (!defined $smtp_authpass) {