<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sendmail configured to use a relay node in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configured-to-use-a-relay-node/m-p/5262718#M52718</link>
    <description>Another possiblity is that you aren't using sendmail, but another MTA on the box.&lt;BR /&gt;&lt;BR /&gt;Use 'alternatives --display mta' to confirm that sendmail is the configured MTA.</description>
    <pubDate>Mon, 15 Nov 2010 20:16:54 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2010-11-15T20:16:54Z</dc:date>
    <item>
      <title>sendmail configured to use a relay node</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configured-to-use-a-relay-node/m-p/5262716#M52716</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;The sendmail daemon in my node (redhat 5.3 64-bit) is configured to use a relay server (other node), i.e., any e-mail message sent (to a non-local recipient) from my node is re-sent to the relay node in order to be successfully delivered --- This behaviour is the required...&lt;BR /&gt;&lt;BR /&gt;my problem is that I cannot find the sendmail config file where this feature is found, i.e., the DS directive in the /etc/mail/sendmail.cf is empty...&lt;BR /&gt;&lt;BR /&gt;Are there other files where relay may be configured?&lt;BR /&gt;&lt;BR /&gt;Thanx in advance</description>
      <pubDate>Mon, 15 Nov 2010 09:32:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configured-to-use-a-relay-node/m-p/5262716#M52716</guid>
      <dc:creator>Jdamian</dc:creator>
      <dc:date>2010-11-15T09:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configured to use a relay node</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configured-to-use-a-relay-node/m-p/5262717#M52717</link>
      <description>There are many ways to do this; some of them could have been done even "outside the box".&lt;BR /&gt;&lt;BR /&gt;It might be configured using /etc/mail/mailertable. (If it's done this way, then the previous admin probably did not know about the DS setting of sendmail.)&lt;BR /&gt;&lt;BR /&gt;Or your server might have iptables redirection rules to force all outgoing connections to port TCP/25 to the relay server.&lt;BR /&gt;&lt;BR /&gt;Run:&lt;BR /&gt;iptables -L -v -t nat&lt;BR /&gt;&lt;BR /&gt;If you see rules with target "DNAT" and destination is something like "anywhere tcp dpt:smtp --to-destination &lt;RELAY node=""&gt;", then mail is probably redirected this way.&lt;BR /&gt;&lt;BR /&gt;The cause might even be external to your server: your site's DNS server might be configured to respond to all requests for remote domains' MX records with the address of the relay server.&lt;BR /&gt;&lt;BR /&gt;Test using "dig" and the domain name of a non-local email recipient. For example, if the recipient was "someone@nonlocal.com.example", you might run:&lt;BR /&gt;&lt;BR /&gt;dig nonlocal.com.example mx&lt;BR /&gt;&lt;BR /&gt;If this returns records pointing to your relay node, then the DNS server is causing the redirection.&lt;BR /&gt;&lt;BR /&gt;Another way to enforce such a redirection externally would be to use transparent proxying technology in your site's outgoing router.&lt;BR /&gt;&lt;BR /&gt;MK&lt;/RELAY&gt;</description>
      <pubDate>Mon, 15 Nov 2010 15:43:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configured-to-use-a-relay-node/m-p/5262717#M52717</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-11-15T15:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configured to use a relay node</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configured-to-use-a-relay-node/m-p/5262718#M52718</link>
      <description>Another possiblity is that you aren't using sendmail, but another MTA on the box.&lt;BR /&gt;&lt;BR /&gt;Use 'alternatives --display mta' to confirm that sendmail is the configured MTA.</description>
      <pubDate>Mon, 15 Nov 2010 20:16:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configured-to-use-a-relay-node/m-p/5262718#M52718</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2010-11-15T20:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configured to use a relay node</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configured-to-use-a-relay-node/m-p/5262719#M52719</link>
      <description>&lt;!--!*#--&gt;Hi&lt;BR /&gt;&lt;BR /&gt;# ll /etc/mail/mailertable&lt;BR /&gt;-rw-r--r-- 1 root root 0 Nov 28  2006 /etc/mail/mailertable&lt;BR /&gt;&lt;BR /&gt;# iptables -L -v -t nat&lt;BR /&gt;Chain PREROUTING (policy ACCEPT 29952 packets, 4128K bytes)&lt;BR /&gt; pkts bytes target     prot opt in     out     source               destination         &lt;BR /&gt;&lt;BR /&gt;Chain POSTROUTING (policy ACCEPT 1022 packets, 88837 bytes)&lt;BR /&gt; pkts bytes target     prot opt in     out     source               destination         &lt;BR /&gt;&lt;BR /&gt;Chain OUTPUT (policy ACCEPT 1022 packets, 88837 bytes)&lt;BR /&gt; pkts bytes target     prot opt in     out     source               destination&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# dig nonlocal.com.example mx&lt;BR /&gt;&lt;BR /&gt;; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.3.4-P1 &amp;lt;&amp;lt;&amp;gt;&amp;gt; nonlocal.com.example mx&lt;BR /&gt;;; global options:  printcmd&lt;BR /&gt;;; Got answer:&lt;BR /&gt;;; -&amp;gt;&amp;gt;HEADER&amp;lt;&amp;lt;- opcode: QUERY, status: NXDOMAIN, id: 63476&lt;BR /&gt;;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0&lt;BR /&gt;&lt;BR /&gt;;; QUESTION SECTION:&lt;BR /&gt;;nonlocal.com.example.          IN      MX&lt;BR /&gt;&lt;BR /&gt;;; AUTHORITY SECTION:&lt;BR /&gt;.                       10800   IN      SOA     a.root-servers.net. nstld.verisign-grs.com. 2010111500 1800 900 604800 86400&lt;BR /&gt;&lt;BR /&gt;;; Query time: 32 msec&lt;BR /&gt;;; SERVER: 10.9.236.7#53(10.9.236.7)&lt;BR /&gt;;; WHEN: Tue Nov 16 07:51:07 2010&lt;BR /&gt;;; MSG SIZE  rcvd: 113&lt;BR /&gt;&lt;BR /&gt;# alternatives --display mta&lt;BR /&gt;mta - status is auto.&lt;BR /&gt; link currently points to /usr/sbin/sendmail.sendmail&lt;BR /&gt;/usr/sbin/sendmail.sendmail - priority 90&lt;BR /&gt; slave mta-mailq: /usr/bin/mailq.sendmail&lt;BR /&gt; slave mta-newaliases: /usr/bin/newaliases.sendmail&lt;BR /&gt; slave mta-rmail: /usr/bin/rmail.sendmail&lt;BR /&gt; slave mta-sendmail: /usr/lib/sendmail.sendmail&lt;BR /&gt; slave mta-pam: /etc/pam.d/smtp.sendmail&lt;BR /&gt; slave mta-sendmailman: /usr/share/man/man8/sendmail.sendmail.8.gz&lt;BR /&gt; slave mta-mailqman: /usr/share/man/man1/mailq.sendmail.1.gz&lt;BR /&gt; slave mta-newaliasesman: /usr/share/man/man1/newaliases.sendmail.1.gz&lt;BR /&gt; slave mta-aliasesman: /usr/share/man/man5/aliases.sendmail.5.gz&lt;BR /&gt;Current `best' version is /usr/sbin/sendmail.sendmail.</description>
      <pubDate>Tue, 16 Nov 2010 06:54:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configured-to-use-a-relay-node/m-p/5262719#M52719</guid>
      <dc:creator>Jdamian</dc:creator>
      <dc:date>2010-11-16T06:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configured to use a relay node</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configured-to-use-a-relay-node/m-p/5262720#M52720</link>
      <description>Huh, fun.&lt;BR /&gt;&lt;BR /&gt;Double check the virtusertable (makemap -u hash /etc/mail/virtusertable.db), see if that has any mappings.&lt;BR /&gt;&lt;BR /&gt;If that doesn't show anything, then you're down to manual runnings of sendmail with high levels of logging or debugging to find out where it's coming from :(</description>
      <pubDate>Tue, 16 Nov 2010 12:16:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configured-to-use-a-relay-node/m-p/5262720#M52720</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2010-11-16T12:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configured to use a relay node</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configured-to-use-a-relay-node/m-p/5262721#M52721</link>
      <description>Matti suggested an issue about MX records from DNS... he is right.&lt;BR /&gt;&lt;BR /&gt;My DNS provides a MX record:&lt;BR /&gt;&lt;BR /&gt;mydomain.com    mail exchanger = 10 myrelay.mydomain.com.&lt;BR /&gt;&lt;BR /&gt;Thank everyone</description>
      <pubDate>Tue, 16 Nov 2010 12:31:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configured-to-use-a-relay-node/m-p/5262721#M52721</guid>
      <dc:creator>Jdamian</dc:creator>
      <dc:date>2010-11-16T12:31:43Z</dc:date>
    </item>
  </channel>
</rss>

