public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jturney@sourceware.org>
To: cygwin-apps-cvs@sourceware.org
Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20200401-14-gc169890
Date: Sun, 17 May 2020 18:09:26 +0000 (GMT)	[thread overview]
Message-ID: <20200517180926.31ED8386F81E@sourceware.org> (raw)




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=c16989024207a8acb298e17382e93fa8ef1dc48b

commit c16989024207a8acb298e17382e93fa8ef1dc48b
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Sun May 17 18:59:27 2020 +0100

    Log the msgid of sent mails to help investigation


Diff:
---
 calm/buffering_smtp_handler.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/calm/buffering_smtp_handler.py b/calm/buffering_smtp_handler.py
index a590b8b..fcc5290 100644
--- a/calm/buffering_smtp_handler.py
+++ b/calm/buffering_smtp_handler.py
@@ -89,6 +89,7 @@ class BufferingSMTPHandler(logging.handlers.BufferingHandler):
                     p.communicate(m.as_bytes())
 
             self.buffer = []
+            logging.debug('sent mail with msgid %s' % (m['Message-Id']))
 
     def shouldFlush(self, record):
         # the capacity we pass to BufferingHandler is irrelevant since we



                 reply	other threads:[~2020-05-17 18:09 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:
  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=20200517180926.31ED8386F81E@sourceware.org \
    --to=jturney@sourceware.org \
    --cc=cygwin-apps-cvs@sourceware.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 read-only IMAP folder(s) and NNTP newsgroup(s).