Translated message

A translation of this page exists in English.

DNS 解決を使用しないスマートホストを使用するように sendmail を設定する

Solution Verified - Updated -

Issue

smtp サーバーにメールを中継するように sendmail を設定していますが、ローカルホストが代わりに使用されています。

#sendmail[4150]: r4JK22o0004150: from=root, size=991, class=0, nrcpts=1, msgid <201305192002.r4JK22o0004150@localhost.localdomain>, relay=root@localhost
#sendmail[4155]: r4JK222J004155: 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]: r4JK22o0004150: 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]: r4JK222J004155: 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]: r4K2dNMo006109: 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