Edgewall Software

Ticket #2619 (reopened defect)

Opened 3 years ago

Last modified 4 weeks ago

Message-IDs generation should be a little more randomized

Reported by: jeremie.corbier@… Owned by: jonas
Priority: low Milestone: 1.0
Component: ticket system Version: 0.10.3
Severity: minor Keywords: notification email
Cc:

Description

The way message-ids of notification emails are generated is a little too simple to my mind. Maybe, you could add a little more randomness with the random module ?

Attachments

Change History

  Changed 3 years ago by mgood

  • status changed from new to closed
  • resolution set to wontfix
  • milestone 0.10 deleted

Message ids cannot be random since they need to be reproducable for the "In-Reply-To" and "References" headers for further emails related to the ticket.

  Changed 3 years ago by anonymous

  • summary changed from Message-IDs generation should be a little more randomized to Message-IDs generation should be a little more randomized1

  Changed 3 years ago by anonymous

  • summary changed from Message-IDs generation should be a little more randomized1 to Message-IDs generation should be a little more randomized

follow-up: ↓ 5   Changed 10 months ago by Ulrich Eckhardt <eckhardt@…>

  • status changed from closed to reopened
  • version changed from 0.9.3 to 0.10.3
  • resolution wontfix deleted

I have the concrete case that different tickets generate notifications with the same message ID, which breaks the association between related and unrelated messages and is obviously not the idea of an "ID". I took a look at the code, and I think it would help if you mangled the project into the ID, too.

in reply to: ↑ 4   Changed 10 months ago by eblot

Replying to Ulrich Eckhardt <eckhardt@satorlaser.com>:

I have the concrete case that different tickets generate notifications with the same message ID, which breaks the association between related and unrelated messages and is obviously not the idea of an "ID". I took a look at the code, and I think it would help if you mangled the project into the ID, too.

The project URL is already mangled into the message ID, however as this setting is not mandatory, it may be left blank... You're right here.

  Changed 10 months ago by Ulrich Eckhardt <eckhardt@…>

Under 'project' in the configfile, I have different 'name' entries but equal 'url' entries (both point to the server running tracd). So, just using different 'url' entries I should be able to get this working, but I would also break existing relations, right?

Just one suggestion how I would do it: create a UID for every environment when it is initialised (trac-admin ... initenv) and document that it is used to identify messages originating from this environment. That way, if a user changes or duplicates it, they are at least warned.

Cheers & thanks!

  Changed 4 weeks ago by rblank

  • type changed from enhancement to defect
  • milestone set to 1.0

I'm not sure this is still an issue. At any rate, it would be a defect, not an enhancement.

Add/Change #2619 (Message-IDs generation should be a little more randomized)

Author



Change Properties
<Author field>
Action
as reopened
as The resolution will be set. Next status will be 'closed'
to The owner will change from jonas. Next status will be 'new'
 
Note: See TracTickets for help on using tickets.