message sent by detector has duplicate Message-Id header, rejected by SMTP server

Dan Tenenbaum <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
Hi,

(First of all, is this list still up? I saw some discussion of moving it, and very little traffic. If the list is elsewhere, please let me know where to go.)

OK, I am trying to switch to a new SMTP email server, one provided by Amazon Simple Email Service (SES).

Messages sent by roundup to this server bounce back to me with the error:

DetectorError: Error: couldn't send email: (554, "Transaction failed: Duplicate header 'Message-ID'.")

If I instead arrange to have the same email sent to a mailcatcher app so I can inspect the email, it does indeed have two (identical) Message-Id headers (note the difference in case between the actual headers and the error message (Message-Id vs. Message-ID); not sure if it is significant).

Here is an example of the kind of email (with headers) that causes this error, in between dashed lines. I've lightly edited some of the identifying information.

You can see that the Message-Id header, with identical value, appears twice.

This message is sent by the detector called nosyreaction.py which I guess is a detector that is supplied with roundup. It may have been modified slightly since we started using it.

I notice that the detector code has references to 'msgid' so I wonder if this gets translated to a Message-Id header at some point. This is the code for the unmodified version:

http://sourceforge.net/p/roundup/code/ci/default/tree/website/issues/detectors/nosyreaction.py

Any ideas for suppressing these duplicate headers?

This is with roundup 1.5.0.

Thanks,
Dan


---- 

MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Reply-To: Someone at Somewhere <[email protected]>
Message-Id: <[email protected]>
X-Roundup-issue-files: spbtest_0.99.0.tar.gz
X-Roundup-issue-priority: software package
Content-Transfer-Encoding: quoted-printable
Subject: [issue1] spbtest
To: [email protected]
From: a sender <[email protected]>
Date: Fri, 21 Aug 2015 05:10:06 +0700
Precedence: bulk
X-Roundup-Name: the name of this tracker
X-Roundup-Loop: hello
X-Roundup-Version: 1.5.0
Message-Id: <[email protected]>
Reply-To: Our file submit tracker <[email protected]>

here is the message body

-----

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.