<?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 need to block incoming mails in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sendmail-need-to-block-incoming-mails/m-p/5064081#M48942</link>
    <description>this looks to be a duplicate thread.</description>
    <pubDate>Tue, 21 Aug 2007 08:35:46 GMT</pubDate>
    <dc:creator>Anshumali</dc:creator>
    <dc:date>2007-08-21T08:35:46Z</dc:date>
    <item>
      <title>Sendmail need to block incoming mails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-need-to-block-incoming-mails/m-p/5064078#M48939</link>
      <description>Hi Freinds,&lt;BR /&gt;&lt;BR /&gt;I need to block incoming mail for a particular user where that user can send only outgoing mails. We are using sendmail 8.9.3 with PHNE_35950. The steps I performed are below.&lt;BR /&gt;1.Using /usr/newconfig/etc/mail/cf/cf/gen_cf script, created new sendmail.cf.gen file and copied to /etc/mail/sendmail.cf to enable &lt;BR /&gt;   the blocklist recipients feature. &lt;BR /&gt;&lt;BR /&gt;2. Then I create the /etc/mail/access file manually and put the below entry. &lt;BR /&gt;    # more /etc/mail/access &lt;BR /&gt;       test@abc.com      REJECT &lt;BR /&gt;&lt;BR /&gt;3.Then I created database map using the below command &lt;BR /&gt;    #makemap dbm /etc/mail/access &amp;lt; /etc/mail/access &lt;BR /&gt;&lt;BR /&gt;4.Restarted the sendmail daemon. &lt;BR /&gt;&lt;BR /&gt;But still the user "test" is receiving mail if i send test mail from root user. &lt;BR /&gt;&lt;BR /&gt;# mailx test@abc.com&lt;BR /&gt;Subject: test mail&lt;BR /&gt;test mail&lt;BR /&gt;.&lt;BR /&gt;EOT&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;Your valuable advice pls..</description>
      <pubDate>Tue, 21 Aug 2007 05:23:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-need-to-block-incoming-mails/m-p/5064078#M48939</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2007-08-21T05:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail need to block incoming mails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-need-to-block-incoming-mails/m-p/5064079#M48940</link>
      <description>Did you try sending a mail from another system?</description>
      <pubDate>Tue, 21 Aug 2007 07:17:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-need-to-block-incoming-mails/m-p/5064079#M48940</guid>
      <dc:creator>Anshumali</dc:creator>
      <dc:date>2007-08-21T07:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail need to block incoming mails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-need-to-block-incoming-mails/m-p/5064080#M48941</link>
      <description>Check if you have enabled FEATURE(`blacklist_recipients')dnl&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Aug 2007 07:53:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-need-to-block-incoming-mails/m-p/5064080#M48941</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-08-21T07:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail need to block incoming mails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-need-to-block-incoming-mails/m-p/5064081#M48942</link>
      <description>this looks to be a duplicate thread.</description>
      <pubDate>Tue, 21 Aug 2007 08:35:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-need-to-block-incoming-mails/m-p/5064081#M48942</guid>
      <dc:creator>Anshumali</dc:creator>
      <dc:date>2007-08-21T08:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail need to block incoming mails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-need-to-block-incoming-mails/m-p/5064082#M48943</link>
      <description>The following works for me:&lt;BR /&gt;&lt;BR /&gt;cd /etc/mail&lt;BR /&gt;&lt;BR /&gt;vi access&lt;BR /&gt;...&lt;BR /&gt;To:refuse@mshome.net              REJECT&lt;BR /&gt;&lt;BR /&gt;make&lt;BR /&gt;&lt;BR /&gt;ls -lrt |tail&lt;BR /&gt;&lt;BR /&gt;-rw-r--r--    1 root     root          617 Aug 21 21:05 access&lt;BR /&gt;-rw-r-----    1 root     root        12288 Aug 21 21:05 access.db&lt;BR /&gt;&lt;BR /&gt;service sendmail restart&lt;BR /&gt;&lt;BR /&gt;tail /var/log/maillog&lt;BR /&gt;&lt;BR /&gt;Aug 21 21:51:50 router sendmail[9867]: l7LJpog9009867: ruleset=check_rcpt, arg1=&lt;REFUSE&gt;, relay=pallieter.mshome.net [192.168.30.34], reject=550 5.2.1 &lt;REFUSE&gt;... Mailbox disabled for this recipient&lt;BR /&gt;&lt;BR /&gt;Mayby the following could do the trick? In case the mail domain would not be properly known in DNS?&lt;BR /&gt;&lt;BR /&gt;grep mshome.net /etc/hosts&lt;BR /&gt;...&lt;BR /&gt;192.168.4.31    mshome.net&lt;BR /&gt;&lt;/REFUSE&gt;&lt;/REFUSE&gt;</description>
      <pubDate>Tue, 21 Aug 2007 15:04:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-need-to-block-incoming-mails/m-p/5064082#M48943</guid>
      <dc:creator>Geert Van Pamel</dc:creator>
      <dc:date>2007-08-21T15:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail need to block incoming mails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-need-to-block-incoming-mails/m-p/5064083#M48944</link>
      <description>Sorry friends,&lt;BR /&gt;&lt;BR /&gt;By mistake I have put this thread here instead of in HP-UX. &lt;BR /&gt;&lt;BR /&gt;Anyway thanks for all your responses.</description>
      <pubDate>Wed, 22 Aug 2007 01:58:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-need-to-block-incoming-mails/m-p/5064083#M48944</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2007-08-22T01:58:09Z</dc:date>
    </item>
  </channel>
</rss>

