traceback_mail with multiple email addresses failing with 'smtplib.SMTPSenderRefused' error on Satellite 5.5

Solution Verified - Updated -

Issue

When specifying multiple email addresses for traceback_mail in /etc/rhn.conf, a satellite-sync is failing after an update to the satellite.

In /etc/rhn.conf, the traceback_mail is defined as the following:

traceback_mail = user1@example.com, user2@example.com

Or

traceback_mail = user1@example.com,user2@example.com

With either of these definitions, the satellite-sync fails with the following error:


12:35:32 Imported kickstartable trees (11) Import complete: Begin time: Mon Dec 17 12:21:48 2012 End time: Mon Dec 17 12:35:32 2012 Elapsed: 0 hours, 13 minutes, 44 seconds +++ sending log as an email +++ +++ sending log as an email +++ +++ sending log as an email +++ Traceback (most recent call last): File "/usr/bin/satellite-sync", line 176, in ? systemExit_exception(7, "SYNC ERROR: attempting to display as much information as possible:", e) File "/usr/bin/satellite-sync", line 126, in systemExit_exception satsync.sendMail(forceEmail=1) File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/satsync.py", line 363, in sendMail rhnMail.send(headers, body, sender=sndr) File "/usr/lib/python2.4/site-packages/spacewalk/common/rhnMail.py", line 56, in send server.sendmail(sender, toaddrs, msg.encode('utf-8')) File "/usr/lib64/python2.4/smtplib.py", line 680, in sendmail raise SMTPSenderRefused(code, resp, from_addr) smtplib.SMTPSenderRefused: (553, '5.1.3 <user1@example.comuser2@example.com>... Invalid route address', ['user1@example.com', 'user2@example.com'])

Environment

  • Red Hat Network Satellite 5.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content