<?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 and relaying in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-relaying/m-p/2547517#M27665</link>
    <description>I believe I have solved it.&lt;BR /&gt;&lt;BR /&gt;Using gen_cf I chose options 2 (relay off) and 6 (access db).  Moved that new cf file into place, added the few local modifications that I normally require.&lt;BR /&gt;&lt;BR /&gt;Then I created /etc/mail/access, with one line in it:&lt;BR /&gt; mydomain.com RELAY&lt;BR /&gt;&lt;BR /&gt;Then I ran the command:&lt;BR /&gt; makemap dbm /etc/mail/access \&amp;lt; /etc/mail/access&lt;BR /&gt;&lt;BR /&gt;Then, started and stopped sendmail.&lt;BR /&gt;&lt;BR /&gt;Seems to be OK this way; PCs on my network can now POP/SMTP the sendmail server, and I tried logging in to the server to relay mail from someplace else and got denied.&lt;BR /&gt;</description>
    <pubDate>Mon, 02 Jul 2001 19:14:09 GMT</pubDate>
    <dc:creator>Fred Martin_1</dc:creator>
    <dc:date>2001-07-02T19:14:09Z</dc:date>
    <item>
      <title>sendmail and relaying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-relaying/m-p/2547512#M27660</link>
      <description>I've used the cf_gen script, choosing the "relay off" option.  Now outsiders can't relay email, but neither can the PC hosts on my own network (they use POP/SMTP on my sendmail server).&lt;BR /&gt;&lt;BR /&gt;I've tried "relay_entire_domain" and "relay_based_on_MX" and still, my PC hosts can't relay.&lt;BR /&gt;&lt;BR /&gt;What am I missing here?  All my PC hosts are on the same network; my goal is to stop other networks from relaying mail via my server.&lt;BR /&gt;&lt;BR /&gt;So far anything I've tried also shuts out my own hosts.</description>
      <pubDate>Mon, 02 Jul 2001 13:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-relaying/m-p/2547512#M27660</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2001-07-02T13:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail and relaying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-relaying/m-p/2547513#M27661</link>
      <description>Ok, it appears that the $=m class macro is the issue - if I choose the "relay_entire_domain" option, it needs a definition through that macro and I'm sure it's not defined.&lt;BR /&gt;&lt;BR /&gt;How do I do that?&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Jul 2001 14:17:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-relaying/m-p/2547513#M27661</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2001-07-02T14:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail and relaying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-relaying/m-p/2547514#M27662</link>
      <description>what version of sendmail are you using?&lt;BR /&gt;I usual vi sendmail.cf and make the changes.&lt;BR /&gt;Then stop and start sendmail.&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Mon, 02 Jul 2001 15:59:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-relaying/m-p/2547514#M27662</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2001-07-02T15:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail and relaying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-relaying/m-p/2547515#M27663</link>
      <description>I'm running 8.9.3 ... but I need details on exactly what to change in the cf file.  According to the gen_cf script, under "Relay Entire Domain" it says:&lt;BR /&gt;&lt;BR /&gt;Setting this option will allow any host in your domain as defined by the 'm' class macro ($=m) to relay.  By default only hosts listed as RELAY in the access db file will be allowed to relay.&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Jul 2001 16:58:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-relaying/m-p/2547515#M27663</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2001-07-02T16:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail and relaying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-relaying/m-p/2547516#M27664</link>
      <description>Have been doing some reading.&lt;BR /&gt;&lt;BR /&gt;Ok, so the $m macro is internal.  If I run sendmail with -d0.4 it tells me this, among other things:&lt;BR /&gt;&lt;BR /&gt; (subdomain name) $m = com                 &lt;BR /&gt;&lt;BR /&gt;Surely there must be something wrong with that.  If so, perhaps that is my problem?  Any ideas here?&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Jul 2001 18:10:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-relaying/m-p/2547516#M27664</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2001-07-02T18:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail and relaying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-relaying/m-p/2547517#M27665</link>
      <description>I believe I have solved it.&lt;BR /&gt;&lt;BR /&gt;Using gen_cf I chose options 2 (relay off) and 6 (access db).  Moved that new cf file into place, added the few local modifications that I normally require.&lt;BR /&gt;&lt;BR /&gt;Then I created /etc/mail/access, with one line in it:&lt;BR /&gt; mydomain.com RELAY&lt;BR /&gt;&lt;BR /&gt;Then I ran the command:&lt;BR /&gt; makemap dbm /etc/mail/access \&amp;lt; /etc/mail/access&lt;BR /&gt;&lt;BR /&gt;Then, started and stopped sendmail.&lt;BR /&gt;&lt;BR /&gt;Seems to be OK this way; PCs on my network can now POP/SMTP the sendmail server, and I tried logging in to the server to relay mail from someplace else and got denied.&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Jul 2001 19:14:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-relaying/m-p/2547517#M27665</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2001-07-02T19:14:09Z</dc:date>
    </item>
  </channel>
</rss>

