<?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: Blocking mail in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055147#M907802</link>
    <description>If you want to stop mail from going to a whole domain, you could set up a dns record for that domain on your internal DNS server.  Point it at a local linux box and all the mail will go there instead of externally.&lt;BR /&gt;&lt;BR /&gt;Just a wild alternative.  The access file should be manipulated to do the job though.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Mon, 25 Aug 2003 13:34:41 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-08-25T13:34:41Z</dc:date>
    <item>
      <title>Blocking mail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055139#M907794</link>
      <description>I am running Sendmail with the access_db configured as a relay. I want to drop email going to a specific address located further in the mail system. I know that I can use the access component to drop mail coming from specific addresses but I don't see anyway to drop mail going to an address. Does any one have any ideas?</description>
      <pubDate>Fri, 22 Aug 2003 17:05:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055139#M907794</guid>
      <dc:creator>David Crowe</dc:creator>
      <dc:date>2003-08-22T17:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking mail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055140#M907795</link>
      <description>You can add specific ip addresses or email addresses to your acess text database and build a new access_db.&lt;BR /&gt;&lt;BR /&gt;example:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sabra2564i86@yahoo.com          550 Spam reject. We charge $500/spam message.&lt;BR /&gt;&lt;BR /&gt;After running the script gen_cf on the HP box this address anything coming from it will generate and automated reply requesting a storage fee of $500.&lt;BR /&gt;&lt;BR /&gt;Pretty mean.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 22 Aug 2003 18:33:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055140#M907795</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-08-22T18:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking mail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055141#M907796</link>
      <description>That would work if I was trying to block email FROM a domain. What I am trying to do is block email going TO a specific address i.e. admin@yourdomain.com located inside your relay.</description>
      <pubDate>Fri, 22 Aug 2003 18:39:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055141#M907796</guid>
      <dc:creator>David Crowe</dc:creator>
      <dc:date>2003-08-22T18:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking mail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055142#M907797</link>
      <description>Easy, in /etc/mail/acces&lt;BR /&gt;&lt;BR /&gt;admin@yourdomain.com reject&lt;BR /&gt;&lt;BR /&gt;Then makemap your access db and restart sendmail.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 25 Aug 2003 11:43:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055142#M907797</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-08-25T11:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking mail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055143#M907798</link>
      <description>I tried that using the DISCARD option and it didn't work. It seems to work only on originating addresses not destination addresses. Does the REJECT option work different than the DISCARD?</description>
      <pubDate>Mon, 25 Aug 2003 12:51:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055143#M907798</guid>
      <dc:creator>David Crowe</dc:creator>
      <dc:date>2003-08-25T12:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking mail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055144#M907799</link>
      <description>Yes - reject is different then discard.&lt;BR /&gt;&lt;BR /&gt;You could also block your entire domain and then explicitly grant only certain id's:&lt;BR /&gt;&lt;BR /&gt;yourdomain.com reject&lt;BR /&gt;you@yourdomian.com allow&lt;BR /&gt;someoneelse@yourdomain.com allow&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 25 Aug 2003 13:23:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055144#M907799</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-08-25T13:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking mail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055145#M907800</link>
      <description>The logic that checks "From:" address is in the check_relay ruleset.  There's no corresponding check in check_rcpt for the "To:" address.  You'd have to write a rule and add it--good luck.  Sendmail.cf rules make me dizzy after looking at one for more than a few minutes.&lt;BR /&gt;&lt;BR /&gt;What I generally do in this instance is to go to the local delivery SMTP server for the address and forward its mail to an undeliverable address like "returntosender@mydomain.com".  How to do this depends on what kind of MTA it is.  With sendmail, it's /etc/mail/aliases.  With Groupwise, you can do it with the admin interface.</description>
      <pubDate>Mon, 25 Aug 2003 13:27:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055145#M907800</guid>
      <dc:creator>W.C. Epperson</dc:creator>
      <dc:date>2003-08-25T13:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking mail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055146#M907801</link>
      <description>Geoff,&lt;BR /&gt;&lt;BR /&gt;It's "OK", not "allow", with the default sendmail rulesets, isn't it?</description>
      <pubDate>Mon, 25 Aug 2003 13:28:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055146#M907801</guid>
      <dc:creator>W.C. Epperson</dc:creator>
      <dc:date>2003-08-25T13:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking mail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055147#M907802</link>
      <description>If you want to stop mail from going to a whole domain, you could set up a dns record for that domain on your internal DNS server.  Point it at a local linux box and all the mail will go there instead of externally.&lt;BR /&gt;&lt;BR /&gt;Just a wild alternative.  The access file should be manipulated to do the job though.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 25 Aug 2003 13:34:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055147#M907802</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-08-25T13:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking mail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055148#M907803</link>
      <description>Oh, and as SEP advises, use a 500 series smtp error code, e.g. "user@domain.com 571 Not around here, you don't".  500 series is permanent error/rejection.  If not used, the delivering relay may regard the error as transient and keep banging on the door (if it's not RFC-compliant, it may do so anyway).</description>
      <pubDate>Mon, 25 Aug 2003 13:38:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055148#M907803</guid>
      <dc:creator>W.C. Epperson</dc:creator>
      <dc:date>2003-08-25T13:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking mail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055149#M907804</link>
      <description>Ah yes - that is right - should be OK not allow...for:&lt;BR /&gt;&lt;BR /&gt;you@yourdomain.com OK&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 25 Aug 2003 15:54:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055149#M907804</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-08-25T15:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking mail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055150#M907805</link>
      <description>Hooks for the To address can be accessed via virtusertable&lt;BR /&gt;and&lt;BR /&gt;virtuser_entire_domain&lt;BR /&gt;rulesets.&lt;BR /&gt;&lt;BR /&gt;On the relay host, define each user in virtusertable:&lt;BR /&gt;&lt;BR /&gt;you@yourdomain.com   !&lt;BR /&gt;me@yourdomain.com error:nouser No Such User&lt;BR /&gt;@yourdomain.com  error:nouser No Such User&lt;BR /&gt;&lt;BR /&gt;If the first entry appears as a To: address, the mail will be passed through the sendmail relay untouched (forwarded).&lt;BR /&gt;&lt;BR /&gt;Mail to the second entry will be rejected outright before delivery (no cost of handling or queueing).&lt;BR /&gt;&lt;BR /&gt;The third entry rejects all mail not explicitly referenced by an ealier entry (it's a terminating entry).  Use that entry to keep spam "exploration" to a minimum on the relay server.&lt;BR /&gt;&lt;BR /&gt;User the virtuser-domain database to tell sendmail to apply virtusertable on the relay server.  The entry would read as follows:&lt;BR /&gt;&lt;BR /&gt;yourdomain.com&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To make this work, be familiar with generating new sendmail.cf files.  Instructions can be found in /usr/contrib/sendmail/usr/newconfig/etc/mail/cf.&lt;BR /&gt;&lt;BR /&gt;The technique assumes sendmail 8.10 or greater.</description>
      <pubDate>Tue, 26 Aug 2003 14:02:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-mail/m-p/3055150#M907805</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2003-08-26T14:02:36Z</dc:date>
    </item>
  </channel>
</rss>

