Connecting with git send-email
Completed
I'm trying to send a patch with `git send-email` with the following config:
```
smtpserver = smtp.mailbox.org
smtpencryption = STARTTLS
smtpserverport = 587
smtpAuth = login
smtpuser = email@domain
```
I also tried many variations on the values, but always get output similar to the following:
Net::SMTP>>> Net::SMTP(3.14) Net::SMTP>>> Net::Cmd(3.14) Net::SMTP>>> Exporter(5.77) Net::SMTP>>> IO::Socket::IP(0.41) Net::SMTP>>> IO::Socket(1.49) Net::SMTP>>> IO::Handle(1.48) Net::SMTP=GLOB(0x55cfef92cc58)<<< 220 smtp1.mailbox.org ESMTP Postfix Net::SMTP=GLOB(0x55cfef92cc58)>>> EHLO visrez.visrez.test Net::SMTP=GLOB(0x55cfef92cc58)<<< 250-smtp1.mailbox.org Net::SMTP=GLOB(0x55cfef92cc58)<<< 250-PIPELINING Net::SMTP=GLOB(0x55cfef92cc58)<<< 250-SIZE 143699726 Net::SMTP=GLOB(0x55cfef92cc58)<<< 250-ETRN Net::SMTP=GLOB(0x55cfef92cc58)<<< 250-STARTTLS Net::SMTP=GLOB(0x55cfef92cc58)<<< 250-ENHANCEDSTATUSCODES Net::SMTP=GLOB(0x55cfef92cc58)<<< 250-8BITMIME Net::SMTP=GLOB(0x55cfef92cc58)<<< 250-DSN Net::SMTP=GLOB(0x55cfef92cc58)<<< 250 CHUNKING invalid smtp auth: 'login' at /usr/lib/git-core/git-send-email line 1425.
Any ideas? Support sent me here
Try to replace "STARTTLS" with tls in smtpEqncryption.
From git-send-email(1):
--smtp-encryption=<encryption> Specify in what way encrypting begins for the SMTP connection. Valid values are ssl and tls. Any other value reverts to plain (unencrypted) SMTP, which defaults to port 25.
[...]
Try to replace "STARTTLS" with tls in smtpEqncryption.
From git-send-email(1):
--smtp-encryption=<encryption> Specify in what way encrypting begins for the SMTP connection. Valid values are ssl and tls. Any other value reverts to plain (unencrypted) SMTP, which defaults to port 25.
[...]
Replies have been locked on this page!