Bug 105852

Summary: buggy mailFrom setting
Product: [Retired] Red Hat Linux Reporter: Adam Spiers <redhat>
Component: diskcheckAssignee: Harald Hoyer <harald>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: medium    
Version: 9CC: dkelson
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: 2003-10-13 10:14:18 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 Adam Spiers 2003-09-28 12:50:46 UTC
The default From: header in mails sent out by diskcheck
("Disk Usage Monitor - diskcheck") confuses the MDA (Postfix
in this case), so that the header arrives at its destination
like this:

From: Disk.com, Usage.com,
        Monitor.com, -@my.domain.com,
        diskcheck.com

(I have postfix forwarding root mail to a remote machine,
which also runs postfix.)

Version-Release number of selected component (if applicable):
diskcheck-1.4-2 and diskcheck-1.4-4.1

Suggested fix:

Change line in diskcheck to read:

    set_default(conf, 'mailFrom', '"Disk Usage Monitor" <root>')

and change lines in diskcheck.conf to read:

    # Who to identify the mail as coming from.
    #mailFrom = '"Disk Usage Monitor - diskcheck"'

Comment 1 Harald Hoyer 2003-12-05 11:54:39 UTC
*** Bug 109527 has been marked as a duplicate of this bug. ***