Re: unable to submit patch with git send email

Alison Schofield <[email protected]>
Newsgroups dev.linux.lists.outreachy
Message-ID <ZgskPa8w3Wzf/LwO@aschofie-mobl2>
On Tue, Apr 02, 2024 at 01:21:21AM +0530, Saasha Gupta wrote:
> I used gmail to send and reply to this email, using plain text.
> 
> Saasha

Take a look at First Patch tutorial 'Email Software' section:
https://kernelnewbies.org/OutreachyfirstpatchSetup#:~:text=your%20new%20kernel.-,Email%20software,-The%20following%20instructions

It has mutt setup directions and also some special instructions for
Arch users of git send-email.


> 
> On Tue, Apr 2, 2024 at 12:59 AM Alison Schofield
> <[email protected]> wrote:
> >
> >
> >
> >
> > On Tue, Apr 02, 2024 at 12:56:06AM +0530, Saasha Gupta wrote:
> > > Dear Alison,
> > >
> > > Thanks for the advice. I do indeed have a format-patch available,
> > > which I tried sending via "mutt -H pkgname.patch"
> > >
> > > Mutt throwed error 70.
> >
> > How did you send this email?  Are you using mutt?
> >
> > (please don't trim recipients in an in progress thread)
> >
> > --Alison
> >
> > >
> > > Saasha
> > >
> > > On Mon, Apr 1, 2024 at 11:15 PM Alison Schofield
> > > <[email protected]> wrote:
> > > >
> > > > On Mon, Apr 01, 2024 at 10:43:53PM +0530, Saasha Gupta wrote:
> > > > > Dear maintainers of the outreachy team,
> > > > >
> > > > > I am trying to submit a patch using `git send-email --to
> > > > > [email protected]` with a few other emails cc'd.
> > > > >
> > > > > My SSL version is: 2.085
> > > > >
> > > > > When I am send the mail, I get the following error:
> > > > > > DEBUG: .../IO/Socket/SSL.pm:851: local error: SSL connect attempt failed error:0A00010B:SSL routines::wrong version number
> > > > > > DEBUG: .../IO/Socket/SSL.pm:854: fatal SSL error: SSL connect attempt failed error:0A00010B:SSL routines::wrong version number
> > > > >
> > > > > I am on Arch Linux, and I have installed the correct version with:
> > > > > cpan Authen::SASL, and installed the correct perl package:
> > > > > perl-io-socket-ssl 2.085-1
> > > > >
> > > > > My .gitconfig looks like this:
> > > > > [sendemail]
> > > > >     smtpencryption = ssl
> > > > >     smtpserver = smtp.gmail.com
> > > > >     smtpuser = [email protected]
> > > > >     smtpserverport = 587
> > > > >     confirm = auto
> > > > >     supresscc = self
> > > > >
> > > > > [user]
> > > > >     name = Saasha Gupta
> > > > >     email = [email protected]
> > > > > [core]
> > > > >     editor = vim
> > > > >     compression = 0
> > > > >
> > > > > I am not exactly sure why this issue is popping up, as all the
> > > > > required dependencies are installed. Can you please point me to where
> > > > > I might be going wrong?
> > > > >
> > > > > PS: Regarding the previous mail, I have solved all the problems, and
> > > > > created a patch.
> > > >
> > > > Hi Saasha,
> > > >
> > > > A couple of thoughts here. I'm not familiar w your SSL version issue,
> > > > maybe google that specifically.
> > > >
> > > > - https://man.archlinux.org/man/git-send-email.1.en  suggests using tls
> > > >
> > > > - And as a work-around, if you have used git format-patch and have the
> > > > patch file ready to mail...you can simply do "mutt -H yourpatchname.patch"
> > > > When it opens in mutt you can edit the To/Cc if needed.
> > > > Send to yourself first to test.
> > > >
> > > > --Alison
> > > >
> > > >
> > > > >
> > > > > Thanks, Saasha
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.