Skip to contentSkip to conversation

Newbie: git send-email Fails: 5.7.3 Authentication unsuccessful

Buildroot Ernest L Williams 4 participants 5 messages Jan 1, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

I am having trouble getting the git-email to work. Any ideas why Authentication fails?

====== My configuration =========================
git config --global sendemail.smtpuser ernesto at slac.stanford.edu git config --global sendemail.smtpserver email.slac.stanford.edu git config --global sendemail.smtpencryption tls
git config --global sendemail.smtpserverport 587

== Snippets from Debug output =============================== Send this email? ([y]es|[n]o|[q]uit|[a]ll): y
Net::SMTP>>> Net::SMTP(2.31)
Net::SMTP>>> Net::Cmd(2.29)
Net::SMTP>>> Exporter(5.70)
Net::SMTP>>> IO::Socket::INET(1.33)
Net::SMTP>>> IO::Socket(1.36)
Net::SMTP>>> IO::Handle(1.34)
Net::SMTP=GLOB(0x2865cd8)<<< 220 email.slac.stanford.edu Microsoft ESMTP MAIL Service ready@Thu, 1 Jan 2015 09:32:29 -0800 Net::SMTP=GLOB(0x2865cd8)>>> EHLO localhost.net Net::SMTP=GLOB(0x2865cd8)<<< 250-email.slac.stanford.edu Hello [134.79.121.132]
Net::SMTP=GLOB(0x2865cd8)<<< 250-SIZE 36700160 Net::SMTP=GLOB(0x2865cd8)<<< 250-PIPELINING Net::SMTP=GLOB(0x2865cd8)<<< 250-DSN Net::SMTP=GLOB(0x2865cd8)<<< 250-ENHANCEDSTATUSCODES Net::SMTP=GLOB(0x2865cd8)<<< 250-STARTTLS Net::SMTP=GLOB(0x2865cd8)<<< 250-AUTH GSSAPI NTLM Net::SMTP=GLOB(0x2865cd8)<<< 250-8BITMIME Net::SMTP=GLOB(0x2865cd8)<<< 250-BINARYMIME Net::SMTP=GLOB(0x2865cd8)<<< 250 CHUNKING Net::SMTP=GLOB(0x2865cd8)>>> STARTTLS
*
*
*
Net::SMTP::SSL=GLOB(0x2865cd8)<<< 334 GSSAPI supported Net::SMTP::SSL=GLOB(0x2865cd8)>>> Net::SMTP::SSL=GLOB(0x2865cd8)<<< 535 5.7.3 Authentication unsuccessful 5.7.3 Authentication unsuccessful
========================

My Thunderbird email client works fine.

#1 lore raw

Dear Ernest L Williams,

Quoted 10 lines · Ernest L Williams

Hi,

I am having trouble getting the git-email to work. Any ideas why Authentication fails?

====== My configuration =========================
git config --global sendemail.smtpuser ernesto at slac.stanford.edu git config --global sendemail.smtpserver email.slac.stanford.edu git config --global sendemail.smtpencryption tls
git config --global sendemail.smtpserverport 587

Did you specify your password in sendemail.smtppass ?

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

Sent from my iPhone

Quoted 10 lines · Thomas Petazzoni

Dear Ernest L Williams,

Quoted 6 lines · Ernest L Williams

Hi,

I am having trouble getting the git-email to work. Any ideas why Authentication fails?

Quoted 7 lines
Quoted 5 lines

====== My configuration =========================
git config --global sendemail.smtpuser ernesto at slac.stanford.edu git config --global sendemail.smtpserver email.slac.stanford.edu git config --global sendemail.smtpencryption tls
git config --global sendemail.smtpserverport 587

Did you specify your password in sendemail.smtppass ?

No
I let it prompt me

Cheers
Ernesto

Quoted 6 lines

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw
In reply to Thomas Petazzoni

Thomas, All,

On 2015-01-01 19:30 +0100, Thomas Petazzoni spake thusly:

Quoted 6 lines · Ernest L Williams
Quoted 5 lines

Hi,

I am having trouble getting the git-email to work. Any ideas why Authentication fails?

Quoted 7 lines
Quoted 5 lines

====== My configuration =========================
git config --global sendemail.smtpuser ernesto at slac.stanford.edu git config --global sendemail.smtpserver email.slac.stanford.edu git config --global sendemail.smtpencryption tls
git config --global sendemail.smtpserverport 587

Did you specify your password in sendemail.smtppass ?

That's not required. I did not, and git is prompting me everytime it needs to send a mail.

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#4 lore raw

Hi everyone

Sent from my iPhone

Quoted 17 lines · Yann E. MORIN

Thomas, All,

On 2015-01-01 19:30 +0100, Thomas Petazzoni spake thusly:

Quoted 12 lines · Ernest L Williams
Quoted 10 lines

Hi,

I am having trouble getting the git-email to work. Any ideas why Authentication fails?

====== My configuration =========================
git config --global sendemail.smtpuser ernesto at slac.stanford.edu git config --global sendemail.smtpserver email.slac.stanford.edu git config --global sendemail.smtpencryption tls
git config --global sendemail.smtpserverport 587

Quoted 4 lines
Quoted 1 line

Did you specify your password in sendemail.smtppass ?

That's not required. I did not, and git is prompting me everytime it needs to send a mail.

Not sure what is going on
Our email server is implemented by Microsoft. Not sure why Thunderbird works fine?

Meanwhile, I decided to use my gmail account to relay the mail :) So, now I'm in business
Yeah, Google !!!

Cheers,
Ernesto

Quoted 11 lines

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'