linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: leon.woestenberg@gmail.com
To: linux-rt-users@vger.kernel.org
Subject: [test - ignore] kernel patch submission script using msmtp/gmail
Date: Sat, 05 Jul 2008 05:22:21 -0700 (PDT)	[thread overview]
Message-ID: <486f677d.07ac420a.22e2.1c4c@mx.google.com> (raw)

#!/bin/sh

# Submits a single kernel patch using GMail SMTP
# During tests, this script emails itself (nothing secret in here)

smtpemailfrom="leon.woestenberg@gmail.com"
smtpdomain=sidebranch.com
smtpserver=smtp.gmail.com
smtplogin=leon.woestenberg@gmail.com

recipients="linux-rt-users@vger.kernel.org"

patchemail=/tmp/patch.eml

echo -n "Subject: " > $patchemail
echo "[test - ignore] kernel patch submission script using msmtp/gmail" >> $patchemail
echo "To: $recipients" >> $patchemail
echo "" >> $patchemail

cat $0 >> $patchemail

msmtp --host=$smtpserver --auth=on --tls=on --port=587 \
--tls-certcheck=off -f $smtpemailfrom --user $smtplogin \
--maildomain $smtpdomain \
$recipients < $patchemail



             reply	other threads:[~2008-07-05 12:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-05 12:22 leon.woestenberg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-07-05 12:15 [test - ignore] kernel patch submission script using msmtp/gmail leon.woestenberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=486f677d.07ac420a.22e2.1c4c@mx.google.com \
    --to=leon.woestenberg@gmail.com \
    --cc=linux-rt-users@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).