<?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 - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057516#M305503</link>
    <description>Still no luck.&lt;BR /&gt;&lt;BR /&gt;I have recreated the access file with &lt;TAB&gt; in between the field(old file also same&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Then tried this also.&lt;BR /&gt;makemap hash access.db &amp;lt; access&lt;BR /&gt;&lt;/TAB&gt;</description>
    <pubDate>Wed, 22 Aug 2007 04:40:43 GMT</pubDate>
    <dc:creator>Ganesan R</dc:creator>
    <dc:date>2007-08-22T04:40:43Z</dc:date>
    <item>
      <title>Sendmail need to block incoming mails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057508#M305495</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:43:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057508#M305495</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2007-08-21T05:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail need to block incoming mails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057509#M305496</link>
      <description>---&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;test@abc.com REJECT &amp;lt;--- external address&lt;BR /&gt;---&lt;BR /&gt;Thats internal mail, try to send a mail from an other server (external).</description>
      <pubDate>Tue, 21 Aug 2007 05:50:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057509#M305496</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-08-21T05:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail need to block incoming mails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057510#M305497</link>
      <description>Hi Robert,&lt;BR /&gt;&lt;BR /&gt;Thanks for your response.&lt;BR /&gt;&lt;BR /&gt;I want to reject both internal as well as external mails.</description>
      <pubDate>Tue, 21 Aug 2007 05:55:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057510#M305497</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2007-08-21T05:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail need to block incoming mails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057511#M305498</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;check the /var/adm/mail.log file and see if the traffic is even passing through the server in question.&lt;BR /&gt;&lt;BR /&gt;It could be relayed through an smtp gateway elsewhere on the network.&lt;BR /&gt;&lt;BR /&gt;Your configuration steps to date are correct. You could in addition try to block the traffic by hostname, if the user has a specific hostname.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 21 Aug 2007 06:06:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057511#M305498</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-21T06:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail need to block incoming mails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057512#M305499</link>
      <description>Hi SEP,&lt;BR /&gt;&lt;BR /&gt;This is the entry from /var/adm/syslog/mail.log&lt;BR /&gt;&lt;BR /&gt;Aug 21 06:15:52 il06depo sendmail[15787]: GAA15787: from=root, size=162, class=0                                             , pri=30162, nrcpts=1, msgid=&amp;lt;200708211115.GAA15787@il06depo.corp.mot.com&amp;gt;, rela                                             y=root@localhost&lt;BR /&gt;Aug 21 06:15:52 il06depo sendmail[15789]: GAA15787: to=test@il06depo.corp.mot.co                                             m, ctladdr=root (0/3), delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent&lt;BR /&gt;&lt;BR /&gt;Here the host name is il06depo.corp.mot.com instead of abc.com</description>
      <pubDate>Tue, 21 Aug 2007 06:22:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057512#M305499</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2007-08-21T06:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail need to block incoming mails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057513#M305500</link>
      <description>Hi Ganesan,&lt;BR /&gt;&lt;BR /&gt;the issue is likely to be your access file. &lt;BR /&gt;&lt;BR /&gt;# more /etc/mail/access &lt;BR /&gt;test@abc.com REJECT &lt;BR /&gt;           ^^^&lt;BR /&gt;&lt;BR /&gt;You need to use tabs to separate the fields.&lt;BR /&gt;&lt;BR /&gt;You also should use the following syntax if you just want to block inbound emails. Just be careful as you'll have issues if email ever bounces.&lt;BR /&gt;&lt;BR /&gt;To:test@abc.com &lt;TAB&gt; REJECT &lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Philip.&lt;/TAB&gt;</description>
      <pubDate>Tue, 21 Aug 2007 19:59:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057513#M305500</guid>
      <dc:creator>Philip Gunter</dc:creator>
      <dc:date>2007-08-21T19:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail need to block incoming mails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057514#M305501</link>
      <description>&lt;!--!*#--&gt;Oops forgot to add retain formatting&lt;BR /&gt;&lt;BR /&gt;# more /etc/mail/access &lt;BR /&gt;test@abc.com REJECT &lt;BR /&gt;           ^^^&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Aug 2007 20:01:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057514#M305501</guid>
      <dc:creator>Philip Gunter</dc:creator>
      <dc:date>2007-08-21T20:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail need to block incoming mails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057515#M305502</link>
      <description>Hi,&lt;BR /&gt;you can try this way&lt;BR /&gt;&lt;BR /&gt;vi /etc/mail/access&lt;BR /&gt;test@abc.com    REJECT ( here no space, use tab)&lt;BR /&gt;&lt;BR /&gt;then,&lt;BR /&gt;makemap hash access.db &amp;lt; access&lt;BR /&gt;Restart sendmail daemon&lt;BR /&gt;&lt;BR /&gt;Hopefully it will work&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;&lt;BR /&gt;A.Aashique</description>
      <pubDate>Tue, 21 Aug 2007 23:48:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057515#M305502</guid>
      <dc:creator>Aashique</dc:creator>
      <dc:date>2007-08-21T23:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail need to block incoming mails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057516#M305503</link>
      <description>Still no luck.&lt;BR /&gt;&lt;BR /&gt;I have recreated the access file with &lt;TAB&gt; in between the field(old file also same&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Then tried this also.&lt;BR /&gt;makemap hash access.db &amp;lt; access&lt;BR /&gt;&lt;/TAB&gt;</description>
      <pubDate>Wed, 22 Aug 2007 04:40:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057516#M305503</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2007-08-22T04:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail need to block incoming mails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057517#M305504</link>
      <description>Hi Ganesan,&lt;BR /&gt;&lt;BR /&gt;can you post your sendmail.cf?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Philip.</description>
      <pubDate>Wed, 22 Aug 2007 16:17:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-need-to-block-incoming-mails/m-p/4057517#M305504</guid>
      <dc:creator>Philip Gunter</dc:creator>
      <dc:date>2007-08-22T16:17:09Z</dc:date>
    </item>
  </channel>
</rss>

