<?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: turn off linux sendmail daemon in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944864#M46450</link>
    <description>Shalom Rick,&lt;BR /&gt;&lt;BR /&gt;The sendmail daemon handles the inbound mail. The daemon has to be running to handle inbound smtp traffic.&lt;BR /&gt;&lt;BR /&gt;The server will still be able to send mail using the sendmail binary.&lt;BR /&gt;&lt;BR /&gt;In order to disable this feature, you will need to rename or disable the binary.&lt;BR /&gt;&lt;BR /&gt;This will cause problems, because on Linux root cron delivers mail to root. &lt;BR /&gt;&lt;BR /&gt;To get a connection refused on localhost, modify the /etc/mail/access &lt;BR /&gt;&lt;BR /&gt;file and go for REJECT instead of relay.&lt;BR /&gt;&lt;BR /&gt;At this point, the system will not be able to email itself.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Wed, 07 Dec 2005 10:14:17 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2005-12-07T10:14:17Z</dc:date>
    <item>
      <title>turn off linux sendmail daemon</title>
      <link>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944859#M46445</link>
      <description>Hi all:&lt;BR /&gt;&lt;BR /&gt;Working with RH 3.0EL.&lt;BR /&gt;Working on shutting off various services &amp;amp; daemons. One is the sendmail process.&lt;BR /&gt;&lt;BR /&gt;Example, on HPUX you can have sendmail daemon turned off and email will still be delivered from the system. Receiving email is not allowed with sendmail daemon is off.&lt;BR /&gt;&lt;BR /&gt;Want the same on Linux. What I get is the maillog is;&lt;BR /&gt;stat=Deferred: Connection refused by [127.0.0.1]&lt;BR /&gt;&lt;BR /&gt;I would like to have the sendmail daemon turned off and deliver email.</description>
      <pubDate>Tue, 06 Dec 2005 12:28:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944859#M46445</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-12-06T12:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: turn off linux sendmail daemon</title>
      <link>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944860#M46446</link>
      <description>It seems that your sendmail is configured to pass the mail to some other program on localhost. Maybe amavis?&lt;BR /&gt;&lt;BR /&gt;You could also simply bind sendmail only to localhost.</description>
      <pubDate>Tue, 06 Dec 2005 17:47:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944860#M46446</guid>
      <dc:creator>Ralf Hildebrandt</dc:creator>
      <dc:date>2005-12-06T17:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: turn off linux sendmail daemon</title>
      <link>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944861#M46447</link>
      <description>so, after a service sendmail stop - you can't send outgoing?&lt;BR /&gt;&lt;BR /&gt;You could try setting the DS macro in the sendmail file - pointing to your mail server.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 06 Dec 2005 23:50:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944861#M46447</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-12-06T23:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: turn off linux sendmail daemon</title>
      <link>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944862#M46448</link>
      <description>Tried setting DS macro. Started sendmail so the config would be re-read. Send out mail fine.&lt;BR /&gt;&lt;BR /&gt;Turn off sendmail (service sendmail stop) and the email does not go out. The maillog says "Deferred: Connection refused by 127.0.0.1"&lt;BR /&gt;&lt;BR /&gt;What is missing?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Dec 2005 09:55:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944862#M46448</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-12-07T09:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: turn off linux sendmail daemon</title>
      <link>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944863#M46449</link>
      <description>Some addition info;&lt;BR /&gt;&lt;BR /&gt;Once you hit the . (dot) key to send the mail, it acts like it is gone. The mailq command will show there is no mail.&lt;BR /&gt;&lt;BR /&gt;Start the sendmail service and the message will be delivered. With the subject and body intact.</description>
      <pubDate>Wed, 07 Dec 2005 10:06:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944863#M46449</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-12-07T10:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: turn off linux sendmail daemon</title>
      <link>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944864#M46450</link>
      <description>Shalom Rick,&lt;BR /&gt;&lt;BR /&gt;The sendmail daemon handles the inbound mail. The daemon has to be running to handle inbound smtp traffic.&lt;BR /&gt;&lt;BR /&gt;The server will still be able to send mail using the sendmail binary.&lt;BR /&gt;&lt;BR /&gt;In order to disable this feature, you will need to rename or disable the binary.&lt;BR /&gt;&lt;BR /&gt;This will cause problems, because on Linux root cron delivers mail to root. &lt;BR /&gt;&lt;BR /&gt;To get a connection refused on localhost, modify the /etc/mail/access &lt;BR /&gt;&lt;BR /&gt;file and go for REJECT instead of relay.&lt;BR /&gt;&lt;BR /&gt;At this point, the system will not be able to email itself.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 07 Dec 2005 10:14:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944864#M46450</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-12-07T10:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: turn off linux sendmail daemon</title>
      <link>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944865#M46451</link>
      <description>Run chkconfig to remove the sendmail entries&lt;BR /&gt;from the rc?.d directtories.  This will &lt;BR /&gt;prevent it from starting. &lt;BR /&gt;&lt;BR /&gt;You will want to add crontab entry to run the&lt;BR /&gt;sendmail queue processing proces.&lt;BR /&gt;&lt;BR /&gt;Sendmail is can be quite difficult to&lt;BR /&gt;configure.  I use exim which provides&lt;BR /&gt;the same functionality with much simpler &lt;BR /&gt;configuration.&lt;BR /&gt;&lt;BR /&gt;There are a couple of simple sendmail&lt;BR /&gt;replacements that will process local mail&lt;BR /&gt;and forward it off to a mail hub. &lt;BR /&gt;This may be more what you want.&lt;BR /&gt;&lt;BR /&gt;Check the Debian security documentation.&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Dec 2005 10:37:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944865#M46451</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2005-12-07T10:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: turn off linux sendmail daemon</title>
      <link>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944866#M46452</link>
      <description>By default, sendmail in red hat linux won't accept mail from outside and won't bind to any network interfaces, except 127.0.0.1. So, you can have it running and no one will be able to connect to the server port except the localhost.</description>
      <pubDate>Wed, 07 Dec 2005 13:05:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944866#M46452</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-12-07T13:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: turn off linux sendmail daemon</title>
      <link>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944867#M46453</link>
      <description>For outgoing mail you will need to modify /etc/mail/submit.cf (or submit.mc).&lt;BR /&gt;&lt;BR /&gt;Last line in /etc/mail/submit.mc says&lt;BR /&gt;&lt;BR /&gt;FEATURE(`msp', `[127.0.0.1]')dnl&lt;BR /&gt;&lt;BR /&gt;Change it to&lt;BR /&gt;&lt;BR /&gt;FEATURE(`msp', `[&lt;IP_ADDRESS_OF_YOUR_EMAIL_RELAY&gt;]')&lt;BR /&gt;&lt;BR /&gt;Then run&lt;BR /&gt;&lt;BR /&gt;# m4 /etc/mail/submit.mc &amp;gt; /etc/mail/submit.cf&lt;BR /&gt;&lt;BR /&gt;Now you can shutdown sendmail and still send email outside.&lt;BR /&gt;&lt;BR /&gt;To check outgoing email queue run&lt;BR /&gt;&lt;BR /&gt;# mailq -Ac&lt;/IP_ADDRESS_OF_YOUR_EMAIL_RELAY&gt;</description>
      <pubDate>Thu, 08 Dec 2005 01:38:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944867#M46453</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-12-08T01:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: turn off linux sendmail daemon</title>
      <link>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944868#M46454</link>
      <description>Hi;&lt;BR /&gt;&lt;BR /&gt;To turn off linux sendmail daemon, u just need to type the following commands..&lt;BR /&gt;&lt;BR /&gt;#service sendmail stop&lt;BR /&gt;&lt;BR /&gt;u can also edit the sendmail.cf file and comment the line start with "DSxxx.com". Then type..&lt;BR /&gt;#service sendmail restart&lt;BR /&gt;&lt;BR /&gt;u can also configured firewall to disable sendmail..&lt;BR /&gt;#iptables -A INPUT -P TCP --dport 25 -J DENY&lt;BR /&gt;#iptables -A OUTPUT -P TCP --dport 25 -J DENY&lt;BR /&gt;&lt;BR /&gt;it should help u to resolve ur issue..&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;indrajit</description>
      <pubDate>Thu, 05 Jan 2006 12:44:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944868#M46454</guid>
      <dc:creator>Indrajit_1</dc:creator>
      <dc:date>2006-01-05T12:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: turn off linux sendmail daemon</title>
      <link>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944869#M46455</link>
      <description>Thanks all.</description>
      <pubDate>Tue, 10 Jan 2006 15:01:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/turn-off-linux-sendmail-daemon/m-p/4944869#M46455</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2006-01-10T15:01:57Z</dc:date>
    </item>
  </channel>
</rss>

