satellite-sync does not honour MTA setting mentioned in /etc/rhn/rhn.conf using web.smtp_server parameter

Solution Verified - Updated -

Issue

  • satellite-sync does not honour MTA settings mentioned using parameter web.smtp_server in /etc/rhn/rhn.conf and fails with,
error: [Errno 111] Connection refused
Local variables in innermost frame af 2 canonname '' proto 6 sock <socket._socketobject object at 0x14c3c90> 
msg error(111, 'Connection refused') host 'localhost' timeout <object object at 0x7f60db0b80c0> res (2, 1, 6, '', ('127.0.0.1',25)) socktype 1 sa ('127.0.0.1', 25) port 25 address ('localhost', 25)

Environment

  • Red Hat Satellite 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