Re: send-email issue
- From
Konstantin Ryabitsev <konstantin@linuxfoundation.org>
- Date
- Aug 13, 2021, 18:00 UTC
- Message-ID
- <20210813180056.ctzivmakj4bj5apa@nitro.local>
- In-Reply-To
- <b4b1dda4-6bf7-f4b1-88c5-9d579a7c56d3@benaaron.dev>
On Fri, Aug 13, 2021 at 01:57:13PM -0400, Ben Goldberg wrote:
Show 13 quoted lines
> ``` > Net::SMTP>>> Net::SMTP(3.13) > Net::SMTP>>> Net::Cmd(3.13) > Net::SMTP>>> Exporter(5.76) > Net::SMTP>>> IO::Socket::IP(0.41) > Net::SMTP>>> IO::Socket(1.46) > Net::SMTP>>> IO::Handle(1.46) > Net::SMTP: Net::Cmd::getline(): unexpected EOF on command channel: at > /usr/lib/git-core/git-send-email line 1556. > Unable to initialize SMTP properly. Check config and use --smtp-debug. > VALUES: server=smtp.migadu.com encryption=tls hello=localhost.localdomain > port=465 at /usr/lib/git-core/git-send-email line 1583. > ```
You should use:
port=465 encryption=ssl
OR
port=587 encryption=tls
I know that this is confusing terminology, but "tls" stands for "StartTLS", which works on port 587, and "ssl" starts for "smtps" on port 465.
-K