public inbox for
help / color / mirror / Atom feed
From: Jon TURNEY <>
Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20200401-12-gd047fed
Date: Wed, 15 Apr 2020 17:00:39 +0000 (GMT)	[thread overview]
Message-ID: <> (raw);h=d047fed3d38af7a0307f46d74b0bf7e78eaaeda6

commit d047fed3d38af7a0307f46d74b0bf7e78eaaeda6
Author: Jon Turney <>
Date:   Wed Apr 15 17:11:54 2020 +0100

    Change From: address to cygwin-apps
    Change From: address to cygwin-apps list, so bounces and replies go

commit 241c7f410e624774156aec82add9962875d3d038
Author: Jon Turney <>
Date:   Wed Apr 15 14:57:39 2020 +0100

    Also set the envelope-from for mails we send
    This should avoid mails being sent out with an envelope-from of, which leads to bounces arriving on our main mailing
    (Sending bounces to cygwin-no-reply is suboptimal, as it means we don't
    know when somethings going wrong with our mail delivery)

 calm/ | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/calm/ b/calm/
index 9d347df..a590b8b 100644
--- a/calm/
+++ b/calm/
@@ -35,7 +35,7 @@ class BufferingSMTPHandler(logging.handlers.BufferingHandler):
-                 fromaddr='',
+                 fromaddr='',
                  logging_format='%(levelname)s: %(message)s'):
         logging.handlers.BufferingHandler.__init__(self, capacity=0)
         self.mailhost = mailhost
@@ -85,7 +85,7 @@ class BufferingSMTPHandler(logging.handlers.BufferingHandler):
                 print('-' * 40)
             elif len(self.toaddrs) > 0:
-                with subprocess.Popen(['/usr/sbin/sendmail', '-t', '-oi'], stdin=subprocess.PIPE) as p:
+                with subprocess.Popen(['/usr/sbin/sendmail', '-t', '-oi', '-f', self.fromaddr], stdin=subprocess.PIPE) as p:
             self.buffer = []

                 reply	other threads:[~2020-04-15 17:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

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

  git send-email \ \ \ \

* 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 read-only IMAP folder(s) and NNTP newsgroup(s).