git send-email says AUTH is unknown command?
git send-email prompts for my SMTP password then says:
Command unknown: 'AUTH' at /usr/lib/git-core/git-send-email line 1573.
That line reads:
smtp_auth_maybe or die $smtp->message;
Why is it complaining that it does not know what AUTH means? It is connecting to port 25 and /should/ be using STARTTLS.
Quoted 9 lines · Phillip Susi
git send-email prompts for my SMTP password then says:
Command unknown: 'AUTH' at/usr/lib/git-core/git-send-emailline 1573.That line reads:
smtp_auth_maybeor die $smtp->message;Why is it complaining that it does not know what AUTH means? It is connecting to port 25 and /should/ be using STARTTLS.
This message is from your server indirectly, i.e. there is no AUTH verb supported by it.
I'm almost certain that you'll find that you cannot in fact auth on port 25 on this server, and must use another port to do SSL from the start, i.e. not STARTSSL[1].
We should probably intercept this in particular and emit a better error, patches welcome :)
1. https://metacpan.org/release/libnet/source/lib/Net/SMTP.pm#L169
Quoted 13 lines · Ævar Arnfjörð Bjarmason
Quoted 9 lines · Phillip Susi
git send-email prompts for my SMTP password then says:
Command unknown: 'AUTH' at/usr/lib/git-core/git-send-emailline 1573.That line reads:
smtp_auth_maybeor die $smtp->message;Why is it complaining that it does not know what AUTH means? It is connecting to port 25 and /should/ be using STARTTLS.
Quoted 6 lines
This message is from your server indirectly, i.e. there is no AUTH verb supported by it.
I'm almost certain that you'll find that you cannot in fact auth on port 25 on this server, and must use another port to do SSL from the start, i.e. not STARTSSL[1].
Alternatively, it may be that the server would prefer port 587 (with STARTTLS), which is typically used for "submission" (i.e., originating new messages from authenticated users, versus the normal port 25 for MTA's routing messages between them).
-Peff