Issue Details (XML | Word | Printable)

Key: INFRA-370
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Minor Minor
Assignee: Unassigned
Reporter: Jeff Turner
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Infrastructure

Mailing list digest shows wrong Senders in summary

Created: 06/Jun/05 08:23 AM   Updated: 25/Sep/06 03:49 AM
Return to search
Component/s: JIRA, Mail (qmail)
Security Level: public (Regular issues)

Time Tracking:
Not Specified

File Attachments:
  Size
File derby-dev.eml 2005-06-06 08:24 AM Jeff Turner 84 kB


 Description  « Hide
It looks like the digest emails are being sent out with incorrect summaries, showing wrong senders. For example, see attached derby-dev digest. The summary says:

derby-dev Digest 2 Jun 2005 20:52:25 -0000 Issue 322
                                                                                                                        
Topics (messages 5063 through 5089):
.....
[jira] Updated: (DERBY-318) SYS.SYSCOLUMN problem with "GENERATED BY DEFAULT" column w/ Network Server
        5078 by: Philip Wilder (JIRA)


But Philip Wilder did not make that particular update, nor most of the others the summary claims. The body of that email in the digest is:

Date: Thu, 2 Jun 2005 22:19:02 +0200 (CEST)
From: "Samuel Andrew McIntyre (JIRA)" <derby-dev@db.apache.org>
Subject: [jira] Updated: (DERBY-318) SYS.SYSCOLUMN problem with "GENERATED BY DEFAULT" column w/ Network Server
To: derby-dev@db.apache.org
Message-ID: <380093409.1117743542496.JavaMail.jira@ajax.apache.org>


It looks like the digest software may be being confused by JIRA's From format, which is "Joe Bloggs (JIRA) <derby-dev@db.apache.org>", where "Joe Bloggs" varies, but "derby-dev@db.apache.org" is always the same. Perhaps it caches the "Joe Bloggs" part.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Roy T. Fielding added a comment - 20/Oct/05 06:39 AM
Digest messages are generated by ezmlm-get (part of the ezmlm-idx package).

ezmlm-idx assumes that the address part of the From field is unique, as required by Internet e-mail. It uses a hash of that address for author comparisons while building the summary table in memory, saving only the first "author" seen for each unique address.

The code that does this is in ezmlm-idx-0.40/idxthread.c and the line

          res = str_diffn(pautht->auth,auth,HASHLEN);

could possibly be "fixed" by replacing it with

          res = str_diffn(pautht->auth,auth,authlen);

OTOH, it might also cause ezmlm to puke and die, and we currently rely on freebsd ports for the ezmlm-idx install.

Since a better solution is to use the poster's real address in the From header field of messages sent by JIRA, rather than a generic jira address, I see no reason to fix this in ezmlm.

Noel J. Bergman added a comment - 23/Jul/06 12:33 AM
I agree with Roy that the fix should be in JIRA. Perhaps as simple as using the proper From: header, and adding a Reply-To: header, e.g.,

   From: Joe Bloggs (JIRA) <joe@bloggs.tld>"
   Reply-To: <derby-dev@db.apache.org>

Sender: would not be right, in this case, because the mailing list is not the sender. We just want to control the reply.