Ticket #386 (closed enhancement: fixed)
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:2 Changed 3 years ago by perrinjerome
Something similar has been implemented in http://github.com/djmitche/buildbot/commit/fd2ed117457bca374b23a7232c7cf40f1761b15a
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)