[git-users] Re: Authentication credentials invalid when git send-email

2015-07-31 Thread Jan Viktorin
Well, I can confirm that forcing to CRAM-MD5 works. However, the only way
I could do it was to delete 
/usr/share/perl5/vendor_perl/Authen/SASL/Perl/DIGEST-MD5.pm file.

It seems, DIGEST-MD5 is the more secure one (is it?), so that's the reason 
why it is
preferred. I hope so. However, either SASL/Perl or the smtp server has 
wrong implementation, probably.
I guess, it is the server...

Regards
Jan

Dne pátek 31. července 2015 21:04:08 UTC+2 Jan Viktorin napsal(a):
>
> Hello all,
>
> I have a strange problem with git send-email with one certain SMTP server. 
> I can however send e-mails by
> my e-mail client without any problems. However, git send-email always dies 
> with Authentication credentials
> invalid.
>
> I think, the reason is related to those lines (this is by git send-email):
>
> Net::SMTP::SSL=GLOB(0x188a8e0)<<< 250-AUTH PLAIN LOGIN DIGEST-MD5 CRAM-MD5
> Net::SMTP::SSL=GLOB(0x188a8e0)<<< 250 HELP
> ...
> Net::SMTP::SSL=GLOB(0x188a8e0)>>> AUTH DIGEST-MD5
> ...
> Net::SMTP::SSL=GLOB(0x188a8e0)<<< 535 5.7.8 Authentication credentials 
> invalid
>
> because my e-mail client uses AUTH CRAM-MD5:
>
> [20:53:31] ESMTP< 250-AUTH PLAIN LOGIN DIGEST-MD5 CRAM-MD5
> [20:53:31] ESMTP< 250 HELP
> [20:53:31] ESMTP> AUTH CRAM-MD5
> ...
> [20:53:31] ESMTP< 235 2.0.0 Authentication successful
>
> Is it possible to force git send-email to use CRAM-MD5? Or is my 
> understanding of the problem wrong?
>
> Thanks
> Jan
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[git-users] Authentication credentials invalid when git send-email

2015-07-31 Thread Jan Viktorin
Hello all,

I have a strange problem with git send-email with one certain SMTP server. 
I can however send e-mails by
my e-mail client without any problems. However, git send-email always dies 
with Authentication credentials
invalid.

I think, the reason is related to those lines (this is by git send-email):

Net::SMTP::SSL=GLOB(0x188a8e0)<<< 250-AUTH PLAIN LOGIN DIGEST-MD5 CRAM-MD5
Net::SMTP::SSL=GLOB(0x188a8e0)<<< 250 HELP
...
Net::SMTP::SSL=GLOB(0x188a8e0)>>> AUTH DIGEST-MD5
...
Net::SMTP::SSL=GLOB(0x188a8e0)<<< 535 5.7.8 Authentication credentials 
invalid

because my e-mail client uses AUTH CRAM-MD5:

[20:53:31] ESMTP< 250-AUTH PLAIN LOGIN DIGEST-MD5 CRAM-MD5
[20:53:31] ESMTP< 250 HELP
[20:53:31] ESMTP> AUTH CRAM-MD5
...
[20:53:31] ESMTP< 235 2.0.0 Authentication successful

Is it possible to force git send-email to use CRAM-MD5? Or is my 
understanding of the problem wrong?

Thanks
Jan

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.