<?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: MX server in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715844#M1603</link>
    <description>hi,&lt;BR /&gt;have you used alias CNAME in the MX records ?,&lt;BR /&gt;if yes change it to real name of the secondary&lt;BR /&gt;host.&lt;BR /&gt;&lt;BR /&gt;Also try adding your domains name to Cw macro in /etc/sendmail.cf file of primary mail server and secondary mail server and restart sendmail.&lt;BR /&gt;eg:-&lt;BR /&gt;     Cw xxx.com yyy.net&lt;BR /&gt;&lt;BR /&gt;try again and get back with results.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;</description>
    <pubDate>Sat, 18 May 2002 04:04:46 GMT</pubDate>
    <dc:creator>U.SivaKumar_2</dc:creator>
    <dc:date>2002-05-18T04:04:46Z</dc:date>
    <item>
      <title>MX server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715835#M1594</link>
      <description>I'm trying to set-up my Linux server to be backup MX for my domain. I have entered records in my NS as follow:&lt;BR /&gt;&lt;BR /&gt;domain.com      preference = 100, mail exchanger = mail.domain.com&lt;BR /&gt;domain.com      preference = 200, mail exchanger = mail.domain.com&lt;BR /&gt;domain.com      preference = 300, mail exchanger = mail2.mylinuxserver.com&lt;BR /&gt;mail.domain.com internet address =x.x.x.x&lt;BR /&gt;mail.domain.com internet address =x.x.x.x&lt;BR /&gt;mail.mylinuxserver.com  internet address = x.x.x.x&lt;BR /&gt;&lt;BR /&gt;When primary mail server mail.domain.com is down, my linux server is supposed to pick messages and keep them and deliver them to my primary mail server mail.domain.com once it's up and running again, but instead senders receive bounce-back message from my linux server:&lt;BR /&gt;&lt;BR /&gt;   ----- The following addresses had permanent fatal errors -----&lt;BR /&gt;&lt;XXX&gt;&lt;BR /&gt;    (reason: system config error)&lt;BR /&gt;&lt;BR /&gt;   ----- Transcript of session follows -----&lt;BR /&gt;553 5.3.5 mail.mylinuxserver.com. config error: mail loops back to me (MX problem?)&lt;BR /&gt;554 5.3.5 &lt;XXX&gt;... Local configuration error&lt;BR /&gt;&lt;BR /&gt;What am I doing wrong?&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;/XXX&gt;&lt;/XXX&gt;</description>
      <pubDate>Thu, 02 May 2002 15:53:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715835#M1594</guid>
      <dc:creator>Kamenko</dc:creator>
      <dc:date>2002-05-02T15:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: MX server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715836#M1595</link>
      <description>Hello &lt;BR /&gt;may be just a syntax error , you specify&lt;BR /&gt;domain.com preference = 300, mail exchanger = mail2.mylinuxserver.com  &lt;BR /&gt;and after&lt;BR /&gt;mail.mylinuxserver.com internet address = x.x.x.x &lt;BR /&gt;it must be mail2.mylinuxserver.com internet address = x.x.x.x &lt;BR /&gt;</description>
      <pubDate>Fri, 03 May 2002 05:55:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715836#M1595</guid>
      <dc:creator>Gilles Salvin</dc:creator>
      <dc:date>2002-05-03T05:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: MX server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715837#M1596</link>
      <description>hi,&lt;BR /&gt;In the primary DNS server of your domain , configure as follows:-&lt;BR /&gt;yourdomain.com MX 100 mail.yourdomain.com&lt;BR /&gt;yourdomain.com MX 200 mail2.yourdomain.com&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Fri, 03 May 2002 08:29:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715837#M1596</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-05-03T08:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: MX server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715838#M1597</link>
      <description>hi,&lt;BR /&gt;put this line FEATURE(`use_cw_file')dnl in&lt;BR /&gt;sendmail.mc of both the servers.&lt;BR /&gt;#m4 sendmail.mc &amp;gt; /etc/sendmail.cf&lt;BR /&gt;&lt;BR /&gt;   In the file /etc/sendmail.cw add your domain name, your machine name and all of its aliases and restart the sendmail service. &lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 May 2002 08:36:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715838#M1597</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-05-03T08:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: MX server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715839#M1598</link>
      <description>mail2.mylinuxserver.com was my typo in the previous message. It is mail.mylinuxserver.com.</description>
      <pubDate>Fri, 03 May 2002 11:50:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715839#M1598</guid>
      <dc:creator>Kamenko</dc:creator>
      <dc:date>2002-05-03T11:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: MX server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715840#M1599</link>
      <description>You do not want to add the domain name to the sendmail.cw for both mail servers.  You only add that to the PRIMARY mailserver.  If you add that to the secondary mailserver, the secondary mailserver will accept mail and deliver to its own mailboxes, rather than forward it to the primary mailserver.&lt;BR /&gt;&lt;BR /&gt;To make your secondary mailserver handle mail for your domain, and to forward it on to the primary mailserver, you need to add this line to /etc/mail/access on your secondary mailserver:&lt;BR /&gt;&lt;BR /&gt;  domain.com  RELAY&lt;BR /&gt;&lt;BR /&gt;That tells Sendmail that it is allowed to relay mail for domain.com and forward it on to the primary mailserver.  Do not add domain.com to sendmail.cw on the secondary.</description>
      <pubDate>Thu, 16 May 2002 05:59:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715840#M1599</guid>
      <dc:creator>Msquared</dc:creator>
      <dc:date>2002-05-16T05:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: MX server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715841#M1600</link>
      <description>Thanks,&lt;BR /&gt;I made changes. How do I check if it works without bringing main mail server down?</description>
      <pubDate>Thu, 16 May 2002 13:19:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715841#M1600</guid>
      <dc:creator>Kamenko</dc:creator>
      <dc:date>2002-05-16T13:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: MX server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715842#M1601</link>
      <description>hi,&lt;BR /&gt;To test relaying without putting down primary server do this on the secondary mail server.&lt;BR /&gt;In one of the console screen ( ctrl + Alt+ F3 )&lt;BR /&gt;#tail -f /var/log/mail.log&lt;BR /&gt;On some other screen&lt;BR /&gt;#telnet backupmail.exampleyourdomain.com 25&lt;BR /&gt;ESTMP sendmail 8.11.1 &lt;BR /&gt;&amp;gt;HELO test&lt;BR /&gt;&amp;gt;MAIL FROM:sivakr@rediffmail.com&lt;BR /&gt;sender OK..&lt;BR /&gt;&amp;gt;RCPT TO:you@yourdomain.com&lt;BR /&gt;recipient ok...&lt;BR /&gt;&amp;gt;DATA&lt;BR /&gt;testmail&lt;BR /&gt;testmail&lt;BR /&gt;.           ( end the meessge with a dot . )&lt;BR /&gt;OK&lt;BR /&gt;QUIT&lt;BR /&gt;&lt;BR /&gt;Now see the screen where you are tailing the&lt;BR /&gt;mail.log online.&lt;BR /&gt;it should give log messages that it is trying the delivery to the primary server. And &lt;BR /&gt;RECEIVED OK message should come.&lt;BR /&gt;again&lt;BR /&gt;#mailq&lt;BR /&gt;should show mail queue empty. And now check the user mail box in the primary server for that test mail.  you@yourdomain.com&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;</description>
      <pubDate>Fri, 17 May 2002 04:01:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715842#M1601</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-05-17T04:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: MX server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715843#M1602</link>
      <description>May 17 10:00:38 cobalt sendmail[6359]: g4HDwBQ06359: from=sivakr@rediffmail.com, size=25, class=0, nrcpts=1, msgid=&amp;lt;200205171359.g4HDwBQ06359@cobalt.xxx.net&amp;gt;, proto=SMTP, daemon=MTA, relay=cobalt.xxx.net [xxx.xxx.xxx.xxx]&lt;BR /&gt;&lt;BR /&gt;May 17 10:00:38 cobalt sendmail[6481]: g4HDwBQ06359: to=user@xxx.org, delay=00:00:58, xdelay=00:00:00, mailer=esmtp, pri=30025, relay=mail.yyy.org. [yyy.yyy.yyy.yyy], dsn=2.0.0, stat=Sent (Ok)&lt;BR /&gt;&lt;BR /&gt;Note:&lt;BR /&gt;cobalt.xxx.net is the secondary mail server;&lt;BR /&gt;mail.yyy.org is my primary mail server&lt;BR /&gt;and I got the test e-mail in my inbox.&lt;BR /&gt;&lt;BR /&gt;It works fine while primary mail server is up. As soon as I disconect it doesn't work. Senders getting bounced messages.&lt;BR /&gt;Here is the maillog:&lt;BR /&gt;&lt;BR /&gt;May 17 10:32:13 cobalt sendmail[7886]: g4HEWCQ07886: from=&lt;VZE26XXX&gt;, size=1477, class=0, nrcpts=1, msgid=&amp;lt;000e01c1fdb0$d115e8f0$3c01a8c0@userr&amp;gt;, proto=ESMTP, daemon=MTA, relay=out019pub.verizon.net [206.46.170.98]&lt;BR /&gt;May 17 10:32:13 cobalt sendmail[7895]: g4HEWCQ07886: SYSERR(root): mail2.xxx.org. config error: mail loops back to me (MX problem?)&lt;BR /&gt;May 17 10:32:13 cobalt sendmail[7895]: g4HEWCQ07886: to=&lt;USER&gt;, delay=00:00:01, xdelay=00:00:00, mailer=esmtp, pri=31477, relay=mail2.xxx.org. [206.67.58.201], dsn=5.3.5, stat=Local configuration error&lt;BR /&gt;May 17 10:32:13 cobalt sendmail[7895]: g4HEWCQ07886: g4HEWDQ07895: DSN: Local configuration error&lt;BR /&gt;May 17 10:32:14 cobalt sendmail[7895]: g4HEWDQ07895: to=&lt;VZE26XXX&gt;, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=61577, relay=relay.verizon.net. [206.46.170.12], dsn=2.0.0, stat=Sent (Message received: 20020517143907.LONF17892.mta012.verizon.net@cobalt.xxx.net)&lt;BR /&gt;May 17 10:32:14 ucscobalt sendmail[7895]: g4HEWDQ07895: to=admin, delay=00:00:01, xdelay=00:00:00, mailer=local, pri=61577, dsn=2.0.0, stat=Sent&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/VZE26XXX&gt;&lt;/USER&gt;&lt;/VZE26XXX&gt;</description>
      <pubDate>Fri, 17 May 2002 13:50:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715843#M1602</guid>
      <dc:creator>Kamenko</dc:creator>
      <dc:date>2002-05-17T13:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: MX server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715844#M1603</link>
      <description>hi,&lt;BR /&gt;have you used alias CNAME in the MX records ?,&lt;BR /&gt;if yes change it to real name of the secondary&lt;BR /&gt;host.&lt;BR /&gt;&lt;BR /&gt;Also try adding your domains name to Cw macro in /etc/sendmail.cf file of primary mail server and secondary mail server and restart sendmail.&lt;BR /&gt;eg:-&lt;BR /&gt;     Cw xxx.com yyy.net&lt;BR /&gt;&lt;BR /&gt;try again and get back with results.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;</description>
      <pubDate>Sat, 18 May 2002 04:04:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715844#M1603</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-05-18T04:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: MX server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715845#M1604</link>
      <description>Server its self had different name so I changed it into name I have in DNS settings with my domain host and I applied all what you told me to and it finally worked. Thanks a lot.</description>
      <pubDate>Sat, 18 May 2002 18:50:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mx-server/m-p/2715845#M1604</guid>
      <dc:creator>Kamenko</dc:creator>
      <dc:date>2002-05-18T18:50:42Z</dc:date>
    </item>
  </channel>
</rss>

