Discussion:
[Q] submitting patches from gmail
Leo Razoumov
2008-10-18 12:08:47 UTC
Permalink
Hi Everyone,
I wonder what is the preferred way to submit patches from a gmail account.
Google mail auto wraps long lines and there is no way to change this setting.
Safe way would be to use attachments. Are they allowed on git mailing list?

Thanks,
--Leo--
Tuncer Ayaz
2008-10-18 12:16:43 UTC
Permalink
Post by Leo Razoumov
Hi Everyone,
I wonder what is the preferred way to submit patches from a gmail account.
Google mail auto wraps long lines and there is no way to change this setting.
Safe way would be to use attachments. Are they allowed on git mailing list?
I do use git send-mail with msmtp as the SMTP client and smtp.gmail.com as
the host. If you are able to go that route it would solve your problem.
Giuseppe Bilotta
2008-10-18 12:50:51 UTC
Permalink
Post by Leo Razoumov
Hi Everyone,
I wonder what is the preferred way to submit patches from a gmail account.
Google mail auto wraps long lines and there is no way to change this setting.
Safe way would be to use attachments. Are they allowed on git mailing list?
I've been sending patches from gmail for a while without problems. It took me
a while to find a working configruation, but I finally managed to do it using
msmtp. I have

[sendemail]
smtpserver = /usr/bin/msmtp

in my ~/.gitconfig

and the following ~/.msmtprc

======
# Example for a user configuration file

# Set default values for all following accounts.
defaults
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile ~/.msmtp.log

# My email service
account gmail
host smtp.gmail.com
from ***@gmail.com
auth on
user yourgmailusername
password yourgmailpassword

# Set a default account
account default : gmail
=========

And to send patches I just use something like

git send-email --to "***@vger.kernel.org" --cc "whoever" 00*
--
Giuseppe "Oblomov" Bilotta
Tuncer Ayaz
2008-10-18 13:00:37 UTC
Permalink
On Sat, Oct 18, 2008 at 2:50 PM, Giuseppe Bilotta
Post by Giuseppe Bilotta
Post by Leo Razoumov
Hi Everyone,
I wonder what is the preferred way to submit patches from a gmail account.
Google mail auto wraps long lines and there is no way to change this setting.
Safe way would be to use attachments. Are they allowed on git mailing list?
I've been sending patches from gmail for a while without problems. It took me
a while to find a working configruation, but I finally managed to do it using
msmtp. I have
[sendemail]
smtpserver = /usr/bin/msmtp
in my ~/.gitconfig
and the following ~/.msmtprc
======
# Example for a user configuration file
# Set default values for all following accounts.
defaults
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile ~/.msmtp.log
# My email service
account gmail
host smtp.gmail.com
auth on
user yourgmailusername
password yourgmailpassword
as the password is stored in plaintext I prefer
to leave it out and get asked every time I
use mstmp :-).
Post by Giuseppe Bilotta
# Set a default account
account default : gmail
=========
And to send patches I just use something like
Leo Razoumov
2008-10-18 14:12:06 UTC
Permalink
Giuseppe,
Thanks for the help!

BTW, what is /etc/ssl/certs/ca-certificates.crt and how to generate it?

--Leo--
Post by Giuseppe Bilotta
Post by Leo Razoumov
Hi Everyone,
I wonder what is the preferred way to submit patches from a gmail account.
Google mail auto wraps long lines and there is no way to change this setting.
Safe way would be to use attachments. Are they allowed on git mailing list?
I've been sending patches from gmail for a while without problems. It took me
a while to find a working configruation, but I finally managed to do it using
msmtp. I have
[sendemail]
smtpserver = /usr/bin/msmtp
in my ~/.gitconfig
and the following ~/.msmtprc
======
# Example for a user configuration file
# Set default values for all following accounts.
defaults
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile ~/.msmtp.log
# My email service
account gmail
host smtp.gmail.com
auth on
user yourgmailusername
password yourgmailpassword
# Set a default account
account default : gmail
=========
And to send patches I just use something like
--
Giuseppe "Oblomov" Bilotta
--
To unsubscribe from this list: send the line "unsubscribe git" in
More majordomo info at http://vger.kernel.org/majordomo-info.html
Felipe Contreras
2008-10-18 14:20:57 UTC
Permalink
Post by Leo Razoumov
Giuseppe,
Thanks for the help!
BTW, what is /etc/ssl/certs/ca-certificates.crt and how to generate it?
Your distro should provide that along with openssl.
--
Felipe Contreras
Loading...