backend/satellite_tools/satsync.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8155ff2fb6a0a981166ecc77d9208997b17926df
Author: Mark Huth <mhuth(a)redhat.com>
Date: Mon Dec 31 15:10:39 2012 +1000
890910 - set satsync email sender to root@<satfqdn>
diff --git a/backend/satellite_tools/satsync.py b/backend/satellite_tools/satsync.py
index c032e62..f98defc 100644
--- a/backend/satellite_tools/satsync.py
+++ b/backend/satellite_tools/satsync.py
@@ -359,7 +359,7 @@ def sendMail(forceEmail=0):
headers = {
'Subject' : _('RHN Management Satellite sync. report from
%s') % idn_pune_to_unicode(os.uname()[1]),
}
- sndr = CFG.get('traceback_mail', 'root@localhost')
+ sndr = "root@%s" % idn_pune_to_unicode(os.uname()[1])
rhnMail.send(headers, body, sender=sndr)
else:
print _("+++ email requested, but there is nothing to send +++")
Show replies by date