Fixing git send-email issues on Arch Linux
- No fluff — it’s hard to configure.
- Edit
~/.gitconfig:
[sendemail]
smtpserver = <smtp.gmail.com>
confirm = auto
smtpencryption=tls
smtpserver=smtp.gmail.com
smtpuser=adlternative@gmail.com
smtpserverport=587
- In Gmail settings, enable access for less secure apps and turn on POP and IMAP, here.
- Fix bug1 and bug2: they require installing
perl-io-socket-ssl,perl-mime-tools, andperl-authen-saslwith pacman. - When running
git send-emailin the terminal, use a proxy:proxychains4 git send-email --smtp-debug=1 --to=adlternative@gmail.com adl/*.patch - Enter your password when prompted, and the email should be sent successfully!
- 不说废话,难配置
- 修改~/.gitconfig
[sendemail]
smtpserver = <smtp.gmail.com>
confirm = auto
smtpencryption=tls
smtpserver=smtp.gmail.com
smtpuser=adlternative@gmail.com
smtpserverport=587
$ ls posts --tag git ← explore more in terminal