Bug 115005
Summary: | Web Traceback forges From: dev-null@rhn.redhat.com | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Chris Kloiber <ckloiber> |
Component: | Server | Assignee: | Nick Hansen <nhansen> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fanny Augustin <fmoquete> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | crunge, pgraner, rhn-bugs, tao |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-06-17 21:06:01 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 119091 |
Description
Chris Kloiber
2004-02-05 14:23:29 UTC
Defer to rhn330 I'll make this a configurable variable for the rhn340sat release. The From: email address can now be configured via the /etc/rhn/rhn.conf file by setting the 'web.default_mail_from' parameter. If this parameter is not set, a default of 'Red Hat Network <dev-null.com>' will be used. Test plan: After installing a satellite, edit /etc/rhn/rhn.conf with something like: web.default_mail_from = booga or web.default_mail_from = booga <booga> Save the file and then restart httpd. After that, do something that generates an email (tickle code to cause a traceback, create a new user or other such event) and verify that the email received has a From: header equal to what you put in rhn.conf. If that is not the case, this bug fails qa. Looks good. Put the following in /etc/rhn/rhn.conf web.default_mail_from = Red Hat (Vienna, VA) Satellite<admin.redhat.com> Restarted httpd & taskomatic and now the From: looks like: From: Red Hat Satellite <admin> It looks like it stripped out everything between the () . It also changed the domain name (dropped the hostname and the first part of the domainname). The () strippage is your email client I believe. The domain munging is our "corporate rewrite rules in the corporate email exchanger" (according to nhansen). I see the same behavior. As I'm sure this bug is working in production, I'm going to move it to closed. |