Sendmail is not working and getting "connection refused" for 127.0.0.1.

Solution Unverified - Updated -

Issue

  • Getting following error in maillog for sendmail:

    Apr 23 14:14:49 hostname sm-msp-queue[13859]: t3LMF2ZO0069: to=localuser, ctladdr=root (0/513), delay=1+19:59:47, xdelay=00:00:00, mailer=relay, pri=3990502, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host
    
  • Mails aren't working for local users also.

Environment

  • Red Hat Enterprise Linux 6
  • Sendmail
  • Iptables

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