Como configura sendmail para usar con smarhost sin resolucion DNS
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
