Bug 13201

Summary: Generates bogus "From" email addresses
Product: [Retired] Red Hat Linux Reporter: gward
Component: up2dateAssignee: Preston Brown <pbrown>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: reddh
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-06-28 23:16:36 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:

Description gward 2000-06-28 23:16:35 UTC
The email generated by up2date has bogus "From" addresses -- either
"up2date@localhost" or "root@localhost" (client.py, lines 88 and 105).
Paranoid MTAs will reject this, even as a local message: after all,
"root@localhost" is not a valid email address.  Probably a slightly more
general solution would be to put the FQDN ("hostname -f") as the
domain of the address -- eg. replace 'localhost' with "os.uname()[1]" -- of
course, that assumes that the machine is configured so uname() returns the
FQDN, but even so it's better than hard-coding "localhost" (IMHO).

Comment 1 Preston Brown 2000-12-21 19:27:04 UTC
fixed in errata being released shortly.