git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: gmail smtp server and git-send-mail. Is this combination working?

From
PCPaolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
Date
Jan 9, 2008, 23:09 UTC
Message-ID
<4d8e3fd30801091509q49c02e1dua4ca42805ba891d6@mail.gmail.com>
In-Reply-To
<fm1h7t$nnr$1@ger.gmane.org>
On Jan 9, 2008 5:06 AM, Douglas Stockwell <doug@11011.net> wrote:
Show 24 quoted lines
> Paolo Ciarrocchi wrote:
> > " Mailing off a set of patches to a mailing list can be quite neatly
> > done by git-send-email.
> > One of the problems you may encounter there is figuring out which machine
> > is going to send your mail.
> > I tried smtp.gmail.com, but that one requires tls and a password,
> > and git-send-email could not handle that "
> >
> > From http://git.or.cz/gitwiki/GitTips.
> >
> > Is this statemant still correct ?
> > Is msmtp the only solution for using git-send-mail with gmail? (tls +
> > autentication).
>
> No, as of 34cc60ce2b48f6037997543ddbab1ed9903df4a8 you can use SSL and
> SMTP-Auth.
>
> [sendemail]
>          smtpserver = smtp.gmail.com
>          smtpuser = <user>@gmail.com
>          smtppass = <password>
>          smtpssl = true
>
> Can you suggest changes to the documentation if these options are unclear?

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: /home/paolo/share/perl/5.8.8 /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /home/paolo/bin/git-send-email line 627.

Tv on #git helped me in finding an Ubuntu package which includes SSL.pm : http://packages.ubuntu.com/cgi-bin/search_contents.pl?word=SSL.pm&searchmode=searchfiles&case=insensitive&version=gutsy&arch=i386 which repors: usr/lib/perl5/Net/SSL.pm perl/libcrypt-ssleay-perl [universe] usr/share/perl5/HTTP/Daemon/SSL.pm perl/libhttp-daemon-ssl-perl [universe] usr/share/perl5/IO/Socket/SSL.pm perl/libio-socket-ssl-perl usr/share/perl5/Net/IMAP/Simple/SSL.pm perl/libnet-imap-simple-ssl-perl [universe] usr/share/perl5/Net/Server/Proto/SSL.pm perl/libnet-server-perl [universe] usr/share/perl5/POE/Component/Client/HTTP/SSL.pm perl/libpoe-component-client-http-perl [universe]

I installed libcrypt-ssleay-perl but still no luck.
Regards,
-- 
Paolo
http://paolo.ciarrocchi.googlepages.com/
Previous: Douglas StockwellNext: Douglas Stockwell
Message 6 of 14 in “gmail smtp server and git-send-mail. Is this combination working?”
  1. Paolo CiarrocchiJan 8, 2008
  2. Jason SewallJan 8, 2008
  3. Pascal ObryJan 8, 2008
  4. Imran M YousufJan 9, 2008
  5. Douglas StockwellJan 9, 2008
  6. Paolo CiarrocchiJan 9, 2008
  7. Douglas StockwellJan 10, 2008
  8. Paolo CiarrocchiJan 10, 2008
  9. Paolo CiarrocchiJan 10, 2008
  10. BazJan 11, 2008
  11. Douglas StockwellJan 11, 2008
  12. BazJan 11, 2008
  13. Paolo CiarrocchiFeb 24, 2008
  14. Paolo CiarrocchiJan 10, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.