Translated message

A translation of this page exists in English.

Como configura sendmail para usar con smarhost sin resolucion DNS

Solution Verified - Updated -

Issue

-He configurado sendmail para hacer relay del correo a otro servidor pero en /var/log/maillog muestra que en vez de mandarlo al otro servidor se queda en el localhost.

#sendmail[4150]: example.com: from=root, size=991, class=0, nrcpts=1, msgid <201305192002.r4JK22o0004150@localhost.localdomain>, relay=root@localhost
#sendmail[4155]: example.com: from=<root@localhost.localdomain>, size=1271, class=0, nrcpts=1, msgid=<201305192002.r4JK22o0004150@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=remotemail.com [127.0.0.1]
#sendmail[4150]: example.com: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30991, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r4JK222J004155 Message accepted for delivery)
#sendmail[4156]: example.com: to=<root@localhost.localdomain>, ctladdr=<root@localhost.localdomain> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31491, dsn=2.0.0, stat=Sent
#sendmail[6109]: example.com: from=mail@example.com, size=59, class=0, nrcpts=1, msgid=<201305200239.r4K2dNMo006109@localhost.localdomain>, relay=root@localhost
May 20 10:39:23 localhost sendmail[6109]: r4K2dNMo006109: to=user@remotemail.com, delay=00:00:00, mailer=esmtp, pri=30059, dsn=4.4.3, stat=queued

Environment

  • Red Hat Enterprise Linux

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