<?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: receive but no send in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sendmail-receive-but-no-send/m-p/3379753#M14078</link>
    <description>&lt;BR /&gt;You can generate .mc file with &lt;BR /&gt;FEATURE(relay-domain) and make the&lt;BR /&gt;file empty and put the domins you wanted&lt;BR /&gt;in access file. &lt;BR /&gt;&lt;BR /&gt;This will solve your problem.</description>
    <pubDate>Wed, 22 Sep 2004 05:28:41 GMT</pubDate>
    <dc:creator>sambaiah</dc:creator>
    <dc:date>2004-09-22T05:28:41Z</dc:date>
    <item>
      <title>Sendmail: receive but no send</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-receive-but-no-send/m-p/3379750#M14075</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Currently I have a webmail server that can send and receive from anywhere. I'd like to shutdown all sending of email, and receive only on a couple specified domains. &lt;BR /&gt;&lt;BR /&gt;For the receiving, can I just DENY all domains by default in access.db and ACCEPT only the domains I want to receive from? &lt;BR /&gt;&lt;BR /&gt;Any ideas on what to do about stopping all sending?&lt;BR /&gt;&lt;BR /&gt;Thanks for any tips!&lt;BR /&gt;&lt;BR /&gt;CH</description>
      <pubDate>Wed, 15 Sep 2004 13:43:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-receive-but-no-send/m-p/3379750#M14075</guid>
      <dc:creator>Chris H_3</dc:creator>
      <dc:date>2004-09-15T13:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail: receive but no send</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-receive-but-no-send/m-p/3379751#M14076</link>
      <description>Interesting question.  I did a little looking and it doesn't seem like there's an easy way to reject all incoming mail.  The only suggestion I saw in my quick research was to add something like&lt;BR /&gt;&lt;BR /&gt;connect:1  REJECT&lt;BR /&gt;connect:2  REJECT&lt;BR /&gt;connect:3  REJECT&lt;BR /&gt;...&lt;BR /&gt;connect:255  REJECT&lt;BR /&gt;&lt;BR /&gt;to your access file.  You'd then add some OK entries to override the REJECTS for the domains you want to accept mail from.  I don't have a way to check any of this right now, so I've got no idea if it will really work.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Seth</description>
      <pubDate>Wed, 15 Sep 2004 22:27:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-receive-but-no-send/m-p/3379751#M14076</guid>
      <dc:creator>Seth Parker</dc:creator>
      <dc:date>2004-09-15T22:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail: receive but no send</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-receive-but-no-send/m-p/3379752#M14077</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Yes, you can use "access.db" file to ACCEPT or DENY the recieving mails.&lt;BR /&gt;&lt;BR /&gt;You can also use the same "access.db" file for stopping the sending mails. &lt;BR /&gt;&lt;BR /&gt;By default the later versions of sendmail the RELAYs only the localhost. You cannot send mails to any other the domains other than the same domain. That is, For eg. if your domain is  abc.com you can only send mails to the abc.com from abc.com you cannot send mails to the other domains. If you want to do so, you can add an entry in the access file as&lt;BR /&gt;&lt;BR /&gt;&lt;LOCALNETWORK ip=""&gt;    RELAY&lt;BR /&gt;&lt;BR /&gt;For eg. if your network is 200.10.1.X then the /etc/mail/access file entry will look like:&lt;BR /&gt;&lt;BR /&gt;200.10.1   RELAY&lt;BR /&gt;&lt;BR /&gt;First 3 values of the IP Address is enough. This will allow all the mails  sending from this network.&lt;BR /&gt;&lt;BR /&gt;As your need, By default it should only allow localhost to RELAY the mails. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;NOTE: After entering an entry in th /etc/mail/access file  don't forget to give&lt;BR /&gt;&lt;BR /&gt;#cd /etc/mail/&lt;BR /&gt;#makemap hash access.db&lt;ACCESS&gt;&lt;/ACCESS&gt;&lt;BR /&gt;This will create the access.db file. After that restart the sendmail service&lt;BR /&gt;&lt;BR /&gt;#/etc/rc.d/init.d/sendmail restart&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Senthil Murugan&lt;BR /&gt;&lt;/LOCALNETWORK&gt;</description>
      <pubDate>Wed, 15 Sep 2004 22:54:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-receive-but-no-send/m-p/3379752#M14077</guid>
      <dc:creator>Senthilmurugan</dc:creator>
      <dc:date>2004-09-15T22:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail: receive but no send</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-receive-but-no-send/m-p/3379753#M14078</link>
      <description>&lt;BR /&gt;You can generate .mc file with &lt;BR /&gt;FEATURE(relay-domain) and make the&lt;BR /&gt;file empty and put the domins you wanted&lt;BR /&gt;in access file. &lt;BR /&gt;&lt;BR /&gt;This will solve your problem.</description>
      <pubDate>Wed, 22 Sep 2004 05:28:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-receive-but-no-send/m-p/3379753#M14078</guid>
      <dc:creator>sambaiah</dc:creator>
      <dc:date>2004-09-22T05:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail: receive but no send</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-receive-but-no-send/m-p/3379754#M14079</link>
      <description>Best way to do this is by changing the sendmail.mc file and adding appropriate entries to the /etc/mail/access database.&lt;BR /&gt;&lt;BR /&gt;The script I'm attaching will process the .mc file, build a sendmail.cf file and the access.db database.&lt;BR /&gt;&lt;BR /&gt;For more on the access.db file &lt;A href="http://www.sendmail.org" target="_blank"&gt;http://www.sendmail.org&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 22 Sep 2004 09:36:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-receive-but-no-send/m-p/3379754#M14079</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-09-22T09:36:52Z</dc:date>
    </item>
  </channel>
</rss>

