Re: gmail smtp server and git-send-mail. Is this combination working?
- From
Baz <brian.ewins@gmail.com>
- Date
- Jan 11, 2008, 12:19 UTC
- Message-ID
- <2faad3050801110419h20acbda8me1cbdb4c6e06a086@mail.gmail.com>
- In-Reply-To
- <4d8e3fd30801101449u11aabd73mba233301df157160@mail.gmail.com>
On Jan 10, 2008 10:49 PM, Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com> wrote:
Show 23 quoted lines
> On Jan 10, 2008 4:45 AM, Douglas Stockwell <doug@11011.net> wrote: > > Paolo Ciarrocchi wrote: > > > > > Well, it would be nice to add this information to the wiki, it's still > > > mentioning > > > that you require an external program for supporting the TLS connection. > > > I'll do that when I'll get my box working with the configuration you suggested, > > > > > > What I'm getting at the moment is: > > > paolo@paolo-desktop:~/git$ git-send-email -compose -to > > > paolo.ciarrocchi@gmail.com /home/paolo/Desktop/patch/ > > > snip > > > snip > > > Can't locate Net/SMTP/SSL.pm in @INC (@INC contains: > > > > As indicated, the module you need is Net::SMTP::SSL, if there is no > > package for ubuntu, you can install it using CPAN: > > > > perl -MCPAN -e 'install Net::SMTP::SSL' > > I'm now getting: > Unable to initialize SMTP properly. Is there something wrong with > your config? at /home/paolo/bin/git-send-email line 638.
You also need to have Authen::SASL installed. Do you have that? As I recall I needed to edit the code to even see that error.
With Authen::SASL and Net::SMTP::SSL, you can get 1 patch at a time in via gmail. The alternative connection mode which git-send-email doesn't support yet is to connect over smtp then negotiate TLS using 'STARTTLS'. If you do this then you can send multiple patches via gmail with a single call to git-send-email.
There was a patch offered a while back from Simon Sasburg to add starttls support to git-send-email. At the time I questioned it but I hadn't seen the 1-patch-at-a-time limit then. Thread: http://kerneltrap.org/mailarchive/git/2007/10/31/373400 (nb the key thing added by this patch is starttls, not tls)
> > I tried to get help on #git but I failed, it looks like other people > are getting the same error.
Hope this helps, Baz
Show 11 quoted lines
> > Ciao, > -- > Paolo > http://paolo.ciarrocchi.googlepages.com/ > - > > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >