Bug 469086

Summary: Add email option to sosreport
Product: Red Hat Enterprise Linux 5 Reporter: Jim Wildman <jim>
Component: sosAssignee: Bryn M. Reeves <bmr>
Status: CLOSED NOTABUG QA Contact: BaseOS QE <qe-baseos-auto>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6CC: agk, azelinka, bmr, duck, herrold, jim, linux-sid, prc, tao
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-06 13:57:00 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 Jim Wildman 2008-10-29 20:03:28 UTC
+++ This bug was initially created as a clone of Bug #463257 +++

An option to automatically mail the report somewhere would be useful as well.

We often do the following

run sosreport
scp to our desktop
email to destination

better would be

sosreport -t someone@somewhere

Comment 4 Pierre Carrier 2010-11-18 15:13:52 UTC
Hello Jim,


You can avoid using a desktop mailer with mutt:
mutt -s "sosreport" -a /tmp/sosreport-details.tar.bz2 someone@somewhere < sosreport_message

The 'mail' command from RHEL6 also provides support for attachments using the -a switch.


Best regards,

-- 
Pierre Carrier