<?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 on RedHat 8 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sendmail-on-redhat-8/m-p/2875785#M77982</link>
    <description>You still have some issues.&lt;BR /&gt;&lt;BR /&gt;If you want to actually accept outside mail on the Linux box, you need to edit /etc/mail/sendmail.mc and authorize that with the following entry.&lt;BR /&gt;&lt;BR /&gt;DAEMON_OPTIONS(`Port=smtp,Addr=66.92.143.101, Name=MTA')&lt;BR /&gt;&lt;BR /&gt;You also need to make sure the firewall on the Linux box allows traffic on port 25.&lt;BR /&gt;&lt;BR /&gt;Be careful though, you don't want to open youself up for becoming a spam relay site.&lt;BR /&gt;&lt;BR /&gt;Okay, you need to check /etc/access&lt;BR /&gt;&lt;BR /&gt;192.168.0.30                    RELAY&lt;BR /&gt;&lt;BR /&gt;This lets my Exchange server relay mail or the Linux to relay it.&lt;BR /&gt;&lt;BR /&gt;I can't be specific on the firewall because ipchains is the default install on Red Hat 7.3 and I upgraded to iptables.&lt;BR /&gt;&lt;BR /&gt;Last, you need my handy dandy little mail configuration builder to make these changes work right.&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;# A script designed to rebuild all relavent mail databases after a configuration&lt;BR /&gt;# change.&lt;BR /&gt;#&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;newaliases&lt;BR /&gt;cd /etc/mail&lt;BR /&gt;makemap -r -v hash access.db &amp;lt; access&lt;BR /&gt;makemap -r -v hash domaintable.db &amp;lt; domaintable&lt;BR /&gt;makemap -r -v hash genericstable.db &amp;lt; genericstable&lt;BR /&gt;makemap -r -v hash mailertable.db &amp;lt; mailertable&lt;BR /&gt;makemap -r -v hash virtusertable.db &amp;lt; virtusertable&lt;BR /&gt;cp /etc/sendmail.cf /root&lt;BR /&gt;m4 /etc/mail/sendmail.mc &amp;gt; /etc/sendmail.cf&lt;BR /&gt;&lt;BR /&gt;vi /etc/sendmail.cf&lt;BR /&gt;/etc/init.d/sendmail restart&lt;BR /&gt;&lt;BR /&gt;If by chance your Linux server is sending mail to the internet, it needs a fully qualified domain name to get mail onto aol's and yahoo's mail server. yahoo will accept it but not deliver it.  aol will reject it in an kind of in your face manner.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Two ways to do this, make your hostname a real domain name registered with netsol et al.&lt;BR /&gt;&lt;BR /&gt;hostname command will return&lt;BR /&gt;servername.mydomain.com&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;in /etc/sendmail.cf&lt;BR /&gt;# my official doma&lt;BR /&gt;# ... define this&lt;BR /&gt;#Dj$w.Foo.COM&lt;BR /&gt;&lt;BR /&gt;uncomment the Dj line, overwrite starting with the $ with your official domain name.&lt;BR /&gt;&lt;BR /&gt;Now, understand, aol can tell if you don't own the domain name.  Your ISP needs to give the IP addresses valid names related to your domain or you could still have trouble getting mail into aol.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now as far as exchange goes, you as noted above need to authorize relay because the default is to NOT accept relay mail.&lt;BR /&gt;&lt;BR /&gt;I also recommend btw cold exchange database backkups.  That script is not accessible to me from the net so repost if you want it.  I have a good backup/restore procedure that really works. I used it two days ago.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;More than you expected or wanted.&lt;BR /&gt;&lt;BR /&gt;Sorry, but sendmail is fun and I need to get a life.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
    <pubDate>Fri, 10 Jan 2003 18:49:06 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-01-10T18:49:06Z</dc:date>
    <item>
      <title>sendmail on RedHat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-on-redhat-8/m-p/2875777#M77974</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'm configuring sendmail on Redhat 8, the /etc/hosts looks like this:&lt;BR /&gt;&lt;BR /&gt; # Do not remove the following line, or various programs  &lt;BR /&gt; # that require network functionality will fail.          &lt;BR /&gt; 127.0.0.1       redhat  localhost.localdomain   localhost&lt;BR /&gt; 129.6.6.48      redhat  redhat.localdomain.com                 &lt;BR /&gt; 129.6.2.15      exchange.localdomain.com          &lt;BR /&gt;&lt;BR /&gt;I think I need to change the first line (localhost.localdomain) to:&lt;BR /&gt; 127.0.0.1       localhost  localhost.localdomain   localhost   &lt;BR /&gt;&lt;BR /&gt;According to our HP-UX 11.0  /etc/hosts I have (sendmail is working properly here):&lt;BR /&gt;&lt;BR /&gt; 127.0.0.1       localhost      loopback                 &lt;BR /&gt; 129.6.2.39      hpux           hpux.localdomain.com       &lt;BR /&gt; 129.6.2.15      exchange.localdomain.com          &lt;BR /&gt;&lt;BR /&gt; this is working without DNS and using the file /etc/nsswitch.conf with the entry: "hosts: files [NOTFOUND=continue]"&lt;BR /&gt;&lt;BR /&gt;In Redhat Linux /etc/nsswitch.conf I have:&lt;BR /&gt;                                           &lt;BR /&gt;bootparams: nisplus [NOTFOUND=return] files&lt;BR /&gt;                                           &lt;BR /&gt;ethers:     files                          &lt;BR /&gt;netmasks:   files                          &lt;BR /&gt;networks:   files                          &lt;BR /&gt;protocols:  files nisplus                  &lt;BR /&gt;rpc:        files                          &lt;BR /&gt;services:   files nisplus                  &lt;BR /&gt;                                           &lt;BR /&gt;netgroup:   files nisplus                  &lt;BR /&gt;                                           &lt;BR /&gt;publickey:  nisplus                        &lt;BR /&gt;                                           &lt;BR /&gt;automount:  files nisplus                  &lt;BR /&gt;aliases:    files nisplus&lt;BR /&gt;&lt;BR /&gt;1 - Do I need to add: hosts: "files [NOTFOUND=return]" for Linux ? &lt;BR /&gt;2 - Do I need to modify the first line in the redhat:/etc/hosts file ?&lt;BR /&gt;3 - What other settings I should do to configure sendmail on redhat 8 ?&lt;BR /&gt;4 - What is the difference between the two versions ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; Thanks.....&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Jan 2003 07:03:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-on-redhat-8/m-p/2875777#M77974</guid>
      <dc:creator>Khalid A. Al-Tayaran</dc:creator>
      <dc:date>2003-01-07T07:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail on RedHat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-on-redhat-8/m-p/2875778#M77975</link>
      <description>Good detailed post, missing one thing though.  What's your goal?&lt;BR /&gt;&lt;BR /&gt;1) Nope.&lt;BR /&gt;2) Yup.  You've got two host entries for the machine 'redhat'.  The localhost entry shoudl be enough as:&lt;BR /&gt;&lt;BR /&gt;127.0.0.1 localhost.localdomain localhost&lt;BR /&gt;&lt;BR /&gt;3) see opening satement.&lt;BR /&gt;4) of sendmail?  Find out what versions of each they are (RH8's is 8.12.5), and check 'changelog' entries at &lt;A href="http://www.sendmail.org." target="_blank"&gt;www.sendmail.org.&lt;/A&gt;</description>
      <pubDate>Tue, 07 Jan 2003 22:41:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-on-redhat-8/m-p/2875778#M77975</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-01-07T22:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail on RedHat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-on-redhat-8/m-p/2875779#M77976</link>
      <description>&lt;BR /&gt; Hi,&lt;BR /&gt;&lt;BR /&gt; Thanks... &lt;BR /&gt;&lt;BR /&gt; I'm trying to receive emails from the Linux box. Currently I'm not receiving anything....&lt;BR /&gt;&lt;BR /&gt; What is the problem ?? &lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jan 2003 11:01:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-on-redhat-8/m-p/2875779#M77976</guid>
      <dc:creator>Khalid A. Al-Tayaran</dc:creator>
      <dc:date>2003-01-08T11:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail on RedHat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-on-redhat-8/m-p/2875780#M77977</link>
      <description>&lt;BR /&gt; I forgot to add:&lt;BR /&gt; &lt;BR /&gt; I'm emailing to exchange server (relay) and accessing via outlook.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jan 2003 13:07:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-on-redhat-8/m-p/2875780#M77977</guid>
      <dc:creator>Khalid A. Al-Tayaran</dc:creator>
      <dc:date>2003-01-08T13:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail on RedHat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-on-redhat-8/m-p/2875781#M77978</link>
      <description>Does your Exchange server know about the Linux box?  If the Exchange server is the corporate e-mail or smart host, depending on your configuration, you will need to tell your Exchange server about this Linux server.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jan 2003 13:41:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-on-redhat-8/m-p/2875781#M77978</guid>
      <dc:creator>Johan Nielsen</dc:creator>
      <dc:date>2003-01-08T13:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail on RedHat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-on-redhat-8/m-p/2875782#M77979</link>
      <description>also... you should be able to look at the /var/log/maillog and see if a connection is even being attempted.  You can also test sendmail by telneting to port 25 just to make sure that it does answer.</description>
      <pubDate>Wed, 08 Jan 2003 13:44:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-on-redhat-8/m-p/2875782#M77979</guid>
      <dc:creator>Johan Nielsen</dc:creator>
      <dc:date>2003-01-08T13:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail on RedHat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-on-redhat-8/m-p/2875783#M77980</link>
      <description>It sounds like you need to set up an MX record in DNS.    An MX record is needed when mail is sent to one host, but needs to be forwarded on to a different host.  For example, if you want incoming mail to be addressed as user@host1.com but the mail application (such as exchange) is actually located on host2.com, you need to define an MX record  as follows:&lt;BR /&gt;&lt;BR /&gt;host1.com IN MX 0 host2.com.&lt;BR /&gt;&lt;BR /&gt;Now mail sent to user@host1.com will be forwarded to user@host2.com.</description>
      <pubDate>Wed, 08 Jan 2003 15:27:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-on-redhat-8/m-p/2875783#M77980</guid>
      <dc:creator>Dave Palica</dc:creator>
      <dc:date>2003-01-08T15:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail on RedHat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-on-redhat-8/m-p/2875784#M77981</link>
      <description>&lt;BR /&gt; Hi guys:&lt;BR /&gt;&lt;BR /&gt; Out exchange servers don't know anything about UNIX/Linux servers. sendmail on HP-UX is working fine and I'm receiving from unix mail as being sent from root@hostname.company.com&lt;BR /&gt;&lt;BR /&gt;since I wrote in /etc/hosts;&lt;BR /&gt;&lt;BR /&gt;server_IP   hostname   company.com&lt;BR /&gt;&lt;BR /&gt;Also, the /var/log/mail had these entries: &lt;BR /&gt;&lt;BR /&gt;Jan  9 16:11:04 redhat sendmail[4316]: h074xwd4002346: to=&lt;MY_EMAIL&gt;,&lt;BR /&gt; &lt;BR /&gt;ctladdr=&lt;ROOT&gt; (0/0), delay=2+08:11:06, xdelay=00:01:02, &lt;BR /&gt;mailer=relay, pri=5160447, relay=129.6.2.15, dsn=4.0.0, stat=Deferred: Name serv&lt;BR /&gt;er: 129.6.2.15: host name lookup failure&lt;/ROOT&gt;&lt;/MY_EMAIL&gt;</description>
      <pubDate>Thu, 09 Jan 2003 13:56:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-on-redhat-8/m-p/2875784#M77981</guid>
      <dc:creator>Khalid A. Al-Tayaran</dc:creator>
      <dc:date>2003-01-09T13:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail on RedHat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-on-redhat-8/m-p/2875785#M77982</link>
      <description>You still have some issues.&lt;BR /&gt;&lt;BR /&gt;If you want to actually accept outside mail on the Linux box, you need to edit /etc/mail/sendmail.mc and authorize that with the following entry.&lt;BR /&gt;&lt;BR /&gt;DAEMON_OPTIONS(`Port=smtp,Addr=66.92.143.101, Name=MTA')&lt;BR /&gt;&lt;BR /&gt;You also need to make sure the firewall on the Linux box allows traffic on port 25.&lt;BR /&gt;&lt;BR /&gt;Be careful though, you don't want to open youself up for becoming a spam relay site.&lt;BR /&gt;&lt;BR /&gt;Okay, you need to check /etc/access&lt;BR /&gt;&lt;BR /&gt;192.168.0.30                    RELAY&lt;BR /&gt;&lt;BR /&gt;This lets my Exchange server relay mail or the Linux to relay it.&lt;BR /&gt;&lt;BR /&gt;I can't be specific on the firewall because ipchains is the default install on Red Hat 7.3 and I upgraded to iptables.&lt;BR /&gt;&lt;BR /&gt;Last, you need my handy dandy little mail configuration builder to make these changes work right.&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;# A script designed to rebuild all relavent mail databases after a configuration&lt;BR /&gt;# change.&lt;BR /&gt;#&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;newaliases&lt;BR /&gt;cd /etc/mail&lt;BR /&gt;makemap -r -v hash access.db &amp;lt; access&lt;BR /&gt;makemap -r -v hash domaintable.db &amp;lt; domaintable&lt;BR /&gt;makemap -r -v hash genericstable.db &amp;lt; genericstable&lt;BR /&gt;makemap -r -v hash mailertable.db &amp;lt; mailertable&lt;BR /&gt;makemap -r -v hash virtusertable.db &amp;lt; virtusertable&lt;BR /&gt;cp /etc/sendmail.cf /root&lt;BR /&gt;m4 /etc/mail/sendmail.mc &amp;gt; /etc/sendmail.cf&lt;BR /&gt;&lt;BR /&gt;vi /etc/sendmail.cf&lt;BR /&gt;/etc/init.d/sendmail restart&lt;BR /&gt;&lt;BR /&gt;If by chance your Linux server is sending mail to the internet, it needs a fully qualified domain name to get mail onto aol's and yahoo's mail server. yahoo will accept it but not deliver it.  aol will reject it in an kind of in your face manner.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Two ways to do this, make your hostname a real domain name registered with netsol et al.&lt;BR /&gt;&lt;BR /&gt;hostname command will return&lt;BR /&gt;servername.mydomain.com&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;in /etc/sendmail.cf&lt;BR /&gt;# my official doma&lt;BR /&gt;# ... define this&lt;BR /&gt;#Dj$w.Foo.COM&lt;BR /&gt;&lt;BR /&gt;uncomment the Dj line, overwrite starting with the $ with your official domain name.&lt;BR /&gt;&lt;BR /&gt;Now, understand, aol can tell if you don't own the domain name.  Your ISP needs to give the IP addresses valid names related to your domain or you could still have trouble getting mail into aol.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now as far as exchange goes, you as noted above need to authorize relay because the default is to NOT accept relay mail.&lt;BR /&gt;&lt;BR /&gt;I also recommend btw cold exchange database backkups.  That script is not accessible to me from the net so repost if you want it.  I have a good backup/restore procedure that really works. I used it two days ago.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;More than you expected or wanted.&lt;BR /&gt;&lt;BR /&gt;Sorry, but sendmail is fun and I need to get a life.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 10 Jan 2003 18:49:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-on-redhat-8/m-p/2875785#M77982</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-10T18:49:06Z</dc:date>
    </item>
  </channel>
</rss>

