Bug 1588263

Summary: [RFE] Beaker mail notifications should have suitable headers to prevent vacation auto-replies
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: generalAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: Roman Joost <rjoost>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: dcallagh, jmckenzi, mtyson, rjoost
Target Milestone: 25.5Keywords: FutureFeature, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-23 06:40:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Callaghan 2018-06-07 02:14:18 UTC
The email address which we use as the From: address for notifications in our internal Beaker deployment regularly receives a large number of vacation auto-replies. Beaker sends out a job completion notification (or other type of notification) and the user's mail server replies back to say they are on vacation.

This produces a large amount of noise which can obscure real errors from cron and the like, so we would like to eliminate it.

RFC 3834 <https://tools.ietf.org/search/rfc3834> says that mails produced by an automatic process (rather than a human) should have:

    Auto-Submitted: auto-generated

and that vacation auto-responders should not reply to them. The RFC also notes that earlier implementations would also not respond to mails having:

    Precedence: bulk

so we should probably set that too.

Comment 1 Dan Callaghan 2018-06-07 02:16:55 UTC
https://gerrit.beaker-project.org/6129

Note that we shouldn't set these headers on the system loan requests and system problem reports, because those *are* actually triggered directly by a human. And they will be sent with the From: address of the human who sent them. So auto-replies in that case make sense.

Comment 4 Roman Joost 2018-07-23 06:40:53 UTC
Released with Beaker 25.5: https://beaker-project.org/docs/whats-new/release-25.html#beaker-25-5