On Sat, Oct 18, 2008 at 2:50 PM, Giuseppe Bilotta <giuseppe.bilotta@xxxxxxxxx> wrote: > On Saturday 18 October 2008 14:08, Leo Razoumov wrote: > >> 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 yourgmailusername@xxxxxxxxx > 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 :-). > # Set a default account > account default : gmail > ========= > > And to send patches I just use something like > > git send-email --to "git@xxxxxxxxxxxxxxx" --cc "whoever" 00* -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html