<?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: Linux /etc/mail.rc &amp;amp; mail command... in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-etc-mail-rc-amp-mail-command/m-p/3427840#M14997</link>
    <description>You need to run 'sendmail' in it's default mode (listening on 127.0.0.1 only).&lt;BR /&gt;&lt;BR /&gt;Either run it like that, or completely reconfigure the sendmail subsystems (you good at configuring sendmail m4's?).&lt;BR /&gt;&lt;BR /&gt;RH's sendmail has been that way since RH8.</description>
    <pubDate>Mon, 22 Nov 2004 16:53:40 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2004-11-22T16:53:40Z</dc:date>
    <item>
      <title>Linux /etc/mail.rc &amp; mail command...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-etc-mail-rc-amp-mail-command/m-p/3427839#M14996</link>
      <description>I am trying to use the 'mail' command to send mail on a RedHat AS 3.0 box.  I am able to use it to send mail when sendmail is running but it just gets deferred mails when sendmail is not running. &lt;BR /&gt;&lt;BR /&gt;I need to be able to send mail without running sendmail.  We use a smarthost, i.e. another server to relay mail.  That is in the sendmail.cf, but unfortunately the 'mail' command line utility won't use that if sendmail is not running.  I've tried the mail.rc file in /etc but haven't been able to get anything working right... &lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
      <pubDate>Mon, 22 Nov 2004 13:57:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-etc-mail-rc-amp-mail-command/m-p/3427839#M14996</guid>
      <dc:creator>Jayson Hurd_2</dc:creator>
      <dc:date>2004-11-22T13:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Linux /etc/mail.rc &amp; mail command...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-etc-mail-rc-amp-mail-command/m-p/3427840#M14997</link>
      <description>You need to run 'sendmail' in it's default mode (listening on 127.0.0.1 only).&lt;BR /&gt;&lt;BR /&gt;Either run it like that, or completely reconfigure the sendmail subsystems (you good at configuring sendmail m4's?).&lt;BR /&gt;&lt;BR /&gt;RH's sendmail has been that way since RH8.</description>
      <pubDate>Mon, 22 Nov 2004 16:53:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-etc-mail-rc-amp-mail-command/m-p/3427840#M14997</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-11-22T16:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Linux /etc/mail.rc &amp; mail command...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-etc-mail-rc-amp-mail-command/m-p/3427841#M14998</link>
      <description>I've done some reconfiguration in the sendmail.cf file, but nothing too crazy.  We only relay mails through a 'smarthost' due to security restrictions. This is the 'DS' parameter in sendmail.cf.&lt;BR /&gt;&lt;BR /&gt;I guess the bottom line is that we need to run sendmail on the server in order to relay mail using the 'mail' program?  I tried changing the port in sendmail.cf, but then mail won't send.  Our security guys just don't like sendmail to be running.</description>
      <pubDate>Tue, 23 Nov 2004 09:50:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-etc-mail-rc-amp-mail-command/m-p/3427841#M14998</guid>
      <dc:creator>Jayson Hurd_2</dc:creator>
      <dc:date>2004-11-23T09:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Linux /etc/mail.rc &amp; mail command...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-etc-mail-rc-amp-mail-command/m-p/3427842#M14999</link>
      <description>I agree with your security guys, as when we enhanced our security sendmail was one of the first to go. However, this is in a Tru64 environment. I have a RH9 Linux system here, and I'm trying to get an answer to you about this a.s.a.p.&lt;BR /&gt;&lt;BR /&gt;Currently on Tru64, the sendmail daemon doesn't have to be running for mail to be sent. The mail program starts sendmail automatically when it needs to send a mail, and directly after sending it kills sendmail again. However, how this happens I'm still figuring out :-).&lt;BR /&gt;&lt;BR /&gt;I'll try my best to get you an answer quick.</description>
      <pubDate>Tue, 23 Nov 2004 10:04:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-etc-mail-rc-amp-mail-command/m-p/3427842#M14999</guid>
      <dc:creator>Paul_504</dc:creator>
      <dc:date>2004-11-23T10:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Linux /etc/mail.rc &amp; mail command...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-etc-mail-rc-amp-mail-command/m-p/3427843#M15000</link>
      <description>I think that /bin/mail uses /etc/mail/submit.cf. You can create submit.cf from submit.mc using m4.&lt;BR /&gt;&lt;BR /&gt;Currently in /etc/mail/submit.mc you probably have the following line.&lt;BR /&gt;&lt;BR /&gt;FEATURE(`msp', `[127.0.0.1]')dnl&lt;BR /&gt;&lt;BR /&gt;Modify 127.0.0.1 to IP address of your smart host (relay).&lt;BR /&gt;&lt;BR /&gt;FEATURE(`msp', `[&lt;IP_ADDRESS_OF_SMART_HOST&gt;&lt;/IP_ADDRESS_OF_SMART_HOST&gt;&lt;BR /&gt;I think you will have to install sendmail-cf rpm for the following to work (m4 needs /usr/share/sendmail-cf/m4/cf.m4 which is in sendmail-cf).&lt;BR /&gt;&lt;BR /&gt;# m4 /etc/mail/submit.mc &amp;gt; /etc/mail/submit.cf&lt;BR /&gt;&lt;BR /&gt;Now /bin/mail should forward email to your smart host.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Nov 2004 20:23:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-etc-mail-rc-amp-mail-command/m-p/3427843#M15000</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2004-11-23T20:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Linux /etc/mail.rc &amp; mail command...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-etc-mail-rc-amp-mail-command/m-p/3427844#M15001</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;The last entry about the submit.mc and submit.cf files do work. I've just tested it. However, does your system only need to send mail, or should it receive mail too.&lt;BR /&gt;&lt;BR /&gt;I've sent a mail to the system on which I configured submit, and I'm still waiting for it. It could be slow mail servers, but I'm 99% sure it won't receive mail without an MTA running. &lt;BR /&gt;&lt;BR /&gt;Just a thought.</description>
      <pubDate>Wed, 24 Nov 2004 02:27:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-etc-mail-rc-amp-mail-command/m-p/3427844#M15001</guid>
      <dc:creator>Paul_504</dc:creator>
      <dc:date>2004-11-24T02:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Linux /etc/mail.rc &amp; mail command...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-etc-mail-rc-amp-mail-command/m-p/3427845#M15002</link>
      <description>The submit.cf thing did it.  I had noticed in the mail log that mail was using 127.0.0.1 when the sendmail was not running.  Changing the submit.cf entry to use my remote mail server did the trick so that we can send mails without running sendmail.&lt;BR /&gt;&lt;BR /&gt;Thanks!!!!!!</description>
      <pubDate>Wed, 24 Nov 2004 08:54:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-etc-mail-rc-amp-mail-command/m-p/3427845#M15002</guid>
      <dc:creator>Jayson Hurd_2</dc:creator>
      <dc:date>2004-11-24T08:54:32Z</dc:date>
    </item>
  </channel>
</rss>

