Ticket #386 (closed enhancement: fixed)

Opened 5 years ago

Last modified 3 years ago

support for extra mail headers (like Reply-To) in MailNotifier

Reported by: smadness Owned by:
Priority: minor Milestone: 0.8.+
Version: 0.7.9 Keywords:
Cc:

Description (last modified by dustin) (diff)

It would be nice to have ability to specify extra headers in buildbot.status.mail's MailNotifier?. Such as, the Reply-To: would be extremely handy to set to a group email address so people don't try and respond directly to the master.

A workaround is to override the fromaddr to be the group address desired, but this would break email filters that have rules set to "From: buildbot", etc.

An example of what I'd like:

c['status'].append(
   mail.MailNotifier(
      fromaddr="buildbot@blah.com",
      replytoaddr="buildbot-group@blah.com",
...

or

c['status'].append(
   mail.MailNotifier(
      fromaddr="buildbot@blah.com",
      extraHeaders=["Reply-To: buildbot-group@blah.com", "List-Id: buildbot-status-group@blah.com"],
...

Change History

comment:1 Changed 4 years ago by dustin

  • Milestone changed from undecided to 0.7.+

comment:2 Changed 3 years ago by perrinjerome

comment:3 Changed 3 years ago by dustin

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)
Note: See TracTickets for help on using tickets.