<?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: email for some, not for others in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/email-for-some-not-for-others/m-p/3057906#M138043</link>
    <description>Have a look at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.sendmail.org/~ca/email/restrict.html" target="_blank"&gt;http://www.sendmail.org/~ca/email/restrict.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
    <pubDate>Wed, 27 Aug 2003 15:25:39 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2003-08-27T15:25:39Z</dc:date>
    <item>
      <title>email for some, not for others</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/email-for-some-not-for-others/m-p/3057902#M138039</link>
      <description>I have a single HP-UX machine.  It is our sendmail server, and our main database server.&lt;BR /&gt;&lt;BR /&gt;All users have a unix account, and therefore email access - for internal company email.&lt;BR /&gt;&lt;BR /&gt;For certain "authorized by policy" users, there is an entry in sendmail's userdb, which gives them a pretty name to use for internet email (our login names are not pretty).&lt;BR /&gt;&lt;BR /&gt;Only those with a userdb entry are supposed to be sending/receiving outside the company.&lt;BR /&gt;&lt;BR /&gt;Is there a way in sendmail to enforce this?&lt;BR /&gt;&lt;BR /&gt;Some users only have unix access (terminals) and some have PCs that POP in for mail.&lt;BR /&gt;&lt;BR /&gt;Again, they all have email for internal use.&lt;BR /&gt;&lt;BR /&gt;My firewall already only allows mail packets to and from my unix server, so they have to go through it in any case.&lt;BR /&gt;&lt;BR /&gt;It's a bit complex because sendmail needs to relay for my own network but not others; needs to allow local email for all that have an account on the unix machine; but should only send or receive email to other networks (internet) if they have a userdb entry.&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Aug 2003 14:05:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/email-for-some-not-for-others/m-p/3057902#M138039</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2003-08-27T14:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: email for some, not for others</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/email-for-some-not-for-others/m-p/3057903#M138040</link>
      <description>I'm on course right now, so I'm not positive but, if you create an access.db (makemap hash) on /etc/mail/access with a list of all the ids:&lt;BR /&gt;&lt;BR /&gt;yourdomain.com REJECT&lt;BR /&gt;user1@yourdomain.com OK&lt;BR /&gt;user2@yourdomain.com OK&lt;BR /&gt;&lt;BR /&gt;That will reject everything except those you say OK for - not too sure if it stops them from sending though.....&lt;BR /&gt;&lt;BR /&gt;When I get a chance, I'll look further - unless someoneelse replies.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Aug 2003 14:15:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/email-for-some-not-for-others/m-p/3057903#M138040</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-08-27T14:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: email for some, not for others</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/email-for-some-not-for-others/m-p/3057904#M138041</link>
      <description>I think that will also stop them from using mail for local sending/receiving?  I have an access file already set up to stop some spam, so I'll test it in any case.&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Aug 2003 14:17:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/email-for-some-not-for-others/m-p/3057904#M138041</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2003-08-27T14:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: email for some, not for others</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/email-for-some-not-for-others/m-p/3057905#M138042</link>
      <description>Yes - that is correct - it will block your other users from local mail....sorry about that...wrong answer...&lt;BR /&gt;&lt;BR /&gt;I think you may have to write your own sendmail rulesets to accomplish what you want to do....&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 27 Aug 2003 14:38:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/email-for-some-not-for-others/m-p/3057905#M138042</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-08-27T14:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: email for some, not for others</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/email-for-some-not-for-others/m-p/3057906#M138043</link>
      <description>Have a look at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.sendmail.org/~ca/email/restrict.html" target="_blank"&gt;http://www.sendmail.org/~ca/email/restrict.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Aug 2003 15:25:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/email-for-some-not-for-others/m-p/3057906#M138043</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-08-27T15:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: email for some, not for others</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/email-for-some-not-for-others/m-p/3057907#M138044</link>
      <description>This function is normally handled in the /etc/mail/aliases file&lt;BR /&gt;&lt;BR /&gt;It has entries like this:&lt;BR /&gt;&lt;BR /&gt;schmobagel   stevenprotter@yourdomain.net&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Setting this and restarting sendmail should do the job.&lt;BR /&gt;&lt;BR /&gt;Sometimes however you won't get the right address on outbound mail under these circumstances.&lt;BR /&gt;&lt;BR /&gt;Then you need entries in:&lt;BR /&gt;&lt;BR /&gt;/etc/mail/virtusertable&lt;BR /&gt;&lt;BR /&gt;/etc/mail/genericstable&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;These are tab delimited and provide a user database to make sure outbound and inbound mail gets to the right user.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;virtusertable&lt;BR /&gt;stevenprotter@yourdomain.net  schmobagel&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;genericstable is the reverse&lt;BR /&gt;&lt;BR /&gt;schmobagel     stevenprotter@yourdomain.net  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To get these into the databases requires running the gen_cf utility that ships with HP-UX.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 27 Aug 2003 15:36:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/email-for-some-not-for-others/m-p/3057907#M138044</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-08-27T15:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: email for some, not for others</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/email-for-some-not-for-others/m-p/3057908#M138045</link>
      <description>Geoff,&lt;BR /&gt;&lt;BR /&gt;The article on sendmail.org is interesting - I looked at my sendmail.cf file and there already is a "Local_check_rcpt" rule ... it looks like this:&lt;BR /&gt;&lt;BR /&gt;SLocal_check_rcpt&lt;BR /&gt;Scheck_rcpt&lt;BR /&gt;R$*           $: $1 $| $&amp;gt;"Local_check_rcpt" $1&lt;BR /&gt;R$* $| $#$*   $#$2&lt;BR /&gt;.....etc......&lt;BR /&gt;&lt;BR /&gt;There's a note in that article about having more than one Local_check_rcpt, I'll need to read up on all this.&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Aug 2003 17:04:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/email-for-some-not-for-others/m-p/3057908#M138045</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2003-08-27T17:04:13Z</dc:date>
    </item>
  </channel>
</rss>

