<?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: problem sending email on redhat 8 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973622#M4683</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;there are some points to be noted.&lt;BR /&gt;&lt;BR /&gt;one is /etc/mail/acces file which tells address to be access the mail service.&lt;BR /&gt;&lt;BR /&gt;check in rh73 server whether the ipaddress of rh8 is added and made has ACCEPT.&lt;BR /&gt;&lt;BR /&gt;another one is firewall rules.&lt;BR /&gt;check whether u have any firewall rules which does not allow rh8 network to rh73&lt;BR /&gt;&lt;BR /&gt;radhakrishnan</description>
    <pubDate>Thu, 15 May 2003 03:31:07 GMT</pubDate>
    <dc:creator>Radhakrishnan Venkatara</dc:creator>
    <dc:date>2003-05-15T03:31:07Z</dc:date>
    <item>
      <title>problem sending email on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973620#M4681</link>
      <description>Has any run into problem with sendmail on redhat 8. My mail server is on rh73, but I can't sendmail from rh8. Here's the err:&lt;BR /&gt; echo "test" | mail -v perlknight@hotmail.com&lt;BR /&gt;perlknight@hotmail.com... Connecting to localhost via relay...&lt;BR /&gt;perlknight@hotmail.com... Deferred: Connection refused by localhost.&lt;BR /&gt;&lt;BR /&gt;Any idea? Thanks</description>
      <pubDate>Wed, 14 May 2003 19:04:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973620#M4681</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2003-05-14T19:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: problem sending email on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973621#M4682</link>
      <description>Its your /etc/mail/access file.&lt;BR /&gt;&lt;BR /&gt;It probably no longer contains localhost RELAY entry.&lt;BR /&gt;&lt;BR /&gt;If I'm right add an entry that says localhost then a tab then relay.  Then run this linux script to rebuild your hash database.&lt;BR /&gt;&lt;BR /&gt;the script is attached.&lt;BR /&gt;&lt;BR /&gt;if the post helps, please assign points.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 14 May 2003 22:19:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973621#M4682</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-05-14T22:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: problem sending email on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973622#M4683</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;there are some points to be noted.&lt;BR /&gt;&lt;BR /&gt;one is /etc/mail/acces file which tells address to be access the mail service.&lt;BR /&gt;&lt;BR /&gt;check in rh73 server whether the ipaddress of rh8 is added and made has ACCEPT.&lt;BR /&gt;&lt;BR /&gt;another one is firewall rules.&lt;BR /&gt;check whether u have any firewall rules which does not allow rh8 network to rh73&lt;BR /&gt;&lt;BR /&gt;radhakrishnan</description>
      <pubDate>Thu, 15 May 2003 03:31:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973622#M4683</guid>
      <dc:creator>Radhakrishnan Venkatara</dc:creator>
      <dc:date>2003-05-15T03:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: problem sending email on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973623#M4684</link>
      <description>so you send mail from rh8 and use rh7.3 as mailrelay?&lt;BR /&gt;&lt;BR /&gt;Does this rh7.3 accept mail from other sources?</description>
      <pubDate>Thu, 15 May 2003 05:20:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973623#M4684</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2003-05-15T05:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: problem sending email on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973624#M4685</link>
      <description>hi&lt;BR /&gt;first check if sendmail is running and listening.&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep sendmail.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;then see if localhost is allowed to relay. &lt;BR /&gt;&lt;BR /&gt;cat /etc/mail/access&lt;BR /&gt;localhost.localdomain           RELAY&lt;BR /&gt;localhost                       RELAY&lt;BR /&gt;127.0.0.1                       RELAY&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;then make the access db.&lt;BR /&gt;&lt;BR /&gt;makemap hash access &amp;lt; access.&lt;BR /&gt;&lt;BR /&gt;then check if sendmail can deliver your email address.&lt;BR /&gt;&lt;BR /&gt;sendmail -bv email@dot.com&lt;BR /&gt;&lt;BR /&gt;it should say how the mail will be deliverd. and then check by sending a mail.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;-balaji</description>
      <pubDate>Thu, 15 May 2003 05:36:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973624#M4685</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-05-15T05:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: problem sending email on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973625#M4686</link>
      <description>By default, RH8 has sendmail configured to deliver mail to sendmail on localhost.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you don't have sendmail running as a deamon on your machine, then you get the message "Connection refused by localhost".&lt;BR /&gt;&lt;BR /&gt;Start sendmail via &lt;BR /&gt;&lt;BR /&gt;chkconfig sendmail on&lt;BR /&gt;&lt;BR /&gt;Assuming you have an appropriate MX record for your mail server or have set up your mail relay in /etc/mail/sendmail.cf, you shoudl be good to go.</description>
      <pubDate>Thu, 15 May 2003 16:00:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973625#M4686</guid>
      <dc:creator>Bill Douglass</dc:creator>
      <dc:date>2003-05-15T16:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: problem sending email on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973626#M4687</link>
      <description>All,&lt;BR /&gt;Let me clarify the question. My mail server is working properly. All my Linux servers are working properly, they're sending email via our mailserver. However, I found that server running redhat 8.0 does not sent email via the mail server, you noticed when I tried sending mail via sendmail or mail it's trying to contact localhost via relay instead of "Connecting to mymailserver-name. via esmtp...". I fixed the problem by copying my sendmail.cf file from rh7.3 to this server. Then move out submit.cf. The submit.cf file does not exist in  rh7.3. All is working. There must be somenthing in the submit .cf file which is cuasing to contact itself and trying to relay the mail instead of contacting the mail server via esmtp. Does any one have any idea? Thanks.</description>
      <pubDate>Thu, 15 May 2003 16:04:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973626#M4687</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2003-05-15T16:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: problem sending email on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973627#M4688</link>
      <description>it is a security feature, introduced. by default sendmail runs as a daemon on port 25 and delivers mail(SMTP). this uses sendmail.cf&lt;BR /&gt;&lt;BR /&gt;and when a mail needs to be sent by user or program, when sendmail is invoked, it runs as a mail submission program(MSP) with minimal privileges. this uses submit.cf&lt;BR /&gt;&lt;BR /&gt;read more at &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.sendmail.org/secure-install.html" target="_blank"&gt;http://www.sendmail.org/secure-install.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;-balaji</description>
      <pubDate>Fri, 16 May 2003 05:15:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973627#M4688</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-05-16T05:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem sending email on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973628#M4689</link>
      <description>I thought that I discovered this prior to 8.0 like in 7.3 but:&lt;BR /&gt;&lt;BR /&gt;Take a look in sendmail.cf for a line:&lt;BR /&gt;O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA&lt;BR /&gt;&lt;BR /&gt;Make it look like:&lt;BR /&gt;&lt;BR /&gt;O DaemonPortOptions= Name=MTA&lt;BR /&gt;&lt;BR /&gt;Take out the Port=smtp,Addr=127.0.0.1,&lt;BR /&gt;&lt;BR /&gt;Look for this around line 264..&lt;BR /&gt;&lt;BR /&gt;This also might restrict incomming mail.. I forget..&lt;BR /&gt;Sorry..</description>
      <pubDate>Fri, 16 May 2003 12:58:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973628#M4689</guid>
      <dc:creator>Lawrence Staberg</dc:creator>
      <dc:date>2003-05-16T12:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: problem sending email on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973629#M4690</link>
      <description>Yes, I am trying to relay my mail from rh8 to our mail server rh7. This works properly when I did my test (No sendmail service was running on rh8 server).  Apparently when mail are being sent by cron, it tries to delivered mail locally to rh8 server which offcourse got deferred because there is local sendmail daemon is not started.  Here's a snippet of mail header waiting in clientmqueue dir:&lt;BR /&gt;V6&lt;BR /&gt;T1068224760&lt;BR /&gt;K1068224761&lt;BR /&gt;N1&lt;BR /&gt;P30253&lt;BR /&gt;MDeferred: Connection refused by localhost.localdomain.&lt;BR /&gt;Fbs&lt;BR /&gt;$_mqm@localhost&lt;BR /&gt;${daemon_flags}c u&lt;BR /&gt;Smqm&lt;BR /&gt;Amqm@xxxx.mydomain [address of rh8 server]&lt;BR /&gt;MDeferred: Connection refused by localhost.localdomain.&lt;BR /&gt;C:mqm&lt;BR /&gt;rRFC822; mqm@xxx.mydomain [address of rh8 server]&lt;BR /&gt;RPFD:mqm&lt;BR /&gt;H?P?Return-Path: &amp;lt;&lt;BR /&gt;&lt;BR /&gt;Any idea, how to get locally delivered mailed to be forwarded to mail server. Thanks.</description>
      <pubDate>Fri, 07 Nov 2003 12:16:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973629#M4690</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2003-11-07T12:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: problem sending email on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973630#M4691</link>
      <description>when I started sendmail, all mail works.  I did not have to do this when running rh7.x.  It seems the new sendmail implementation is not allowing me to sendmail out if sendmail is not running on the box. Is there a way to send mail out on the box w/o having to run sendmail daemon?  Thanks.</description>
      <pubDate>Mon, 28 Feb 2005 17:57:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973630#M4691</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2005-02-28T17:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: problem sending email on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973631#M4692</link>
      <description>as far as I remember, you should run sendmail in modern RH linuxes in order to send emails outside.&lt;BR /&gt;BUT - I don't see security problem here because in default configuration sendmail listen only to 127.0.01 == localhost.</description>
      <pubDate>Tue, 01 Mar 2005 02:09:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973631#M4692</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2005-03-01T02:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: problem sending email on redhat 8</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973632#M4693</link>
      <description>Thanks. I was hoping to get away w/o having to start up sendmail service when sending email out.</description>
      <pubDate>Tue, 01 Mar 2005 15:06:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-sending-email-on-redhat-8/m-p/2973632#M4693</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2005-03-01T15:06:05Z</dc:date>
    </item>
  </channel>
</rss>

