<?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 anti-relaying in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-anti-relaying/m-p/2618331#M925335</link>
    <description>&lt;P&gt;Ohh ..&lt;BR /&gt;I misread your post. DOOH! ..&lt;BR /&gt;to test a mail hack from&lt;BR /&gt;telnet to your server to port 25.&lt;BR /&gt;&lt;BR /&gt;ip.add.of.server 25&lt;BR /&gt;you will get&lt;BR /&gt;Trying...&lt;BR /&gt;Connected to ip.add.of.server.&lt;BR /&gt;Escape character is '^]'.&lt;BR /&gt;&lt;BR /&gt;and then you will have a promt&lt;BR /&gt;type&lt;BR /&gt;helo mail.com&lt;BR /&gt;and you will get a hello back.&lt;BR /&gt;Then type&lt;BR /&gt;mail from:&lt;BR /&gt;you will get&lt;BR /&gt;250 ... Sender ok&lt;BR /&gt;&lt;BR /&gt;then type&lt;BR /&gt;rcpt to:&amp;lt;"yourname@domain.com"@[ip.of.mail.server]&amp;gt;&lt;BR /&gt;you will get&lt;BR /&gt;250 &amp;gt;... Recipient ok&lt;BR /&gt;type&lt;BR /&gt;data&lt;BR /&gt;you will get&lt;BR /&gt;354 Enter mail, end with "." on a line by itself&lt;BR /&gt;&lt;BR /&gt;then type your message end with a .&lt;BR /&gt;&lt;BR /&gt;test&lt;BR /&gt;.&lt;BR /&gt;250 PAA24408 Message accepted for delivery&lt;BR /&gt;quit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Or you can go to &lt;A href="http://www.ordb.org/" target="_blank" rel="noopener"&gt;http://www.ordb.org/&lt;/A&gt;&lt;BR /&gt;but if you fail then you will be denied..We were denied and I aplied that fix retested and passed,&lt;BR /&gt;let me know if you get it.&lt;/P&gt;</description>
    <pubDate>Tue, 18 May 2021 03:59:41 GMT</pubDate>
    <dc:creator>someone_4</dc:creator>
    <dc:date>2021-05-18T03:59:41Z</dc:date>
    <item>
      <title>sendmail anti-relaying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-anti-relaying/m-p/2618325#M925329</link>
      <description>Can someone tell me how to check anti-relaying in -bt mode? &lt;BR /&gt;If I enter &lt;BR /&gt;&lt;CHECK-RCPT somebody=""&gt;&lt;BR /&gt;it passes. Should I be using another ruleset?&lt;BR /&gt;&lt;BR /&gt;Is there another rule that could override the check_rcpt rule? I'm using 8.8.6.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/CHECK-RCPT&gt;</description>
      <pubDate>Wed, 21 Nov 2001 15:37:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-anti-relaying/m-p/2618325#M925329</guid>
      <dc:creator>Bob Davis</dc:creator>
      <dc:date>2001-11-21T15:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail anti-relaying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-anti-relaying/m-p/2618326#M925330</link>
      <description>Uncomment the spam rulesets in sendmail.cf (they're marked - search for Spam).&lt;BR /&gt;&lt;BR /&gt;It looks like you're missing check_relay/check_mail:&lt;BR /&gt;&lt;BR /&gt;#      The rules for supporting anti-spamming are check_mail, check_rcpt       #&lt;BR /&gt;#      and check_relay.&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Nov 2001 15:46:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-anti-relaying/m-p/2618326#M925330</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2001-11-21T15:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail anti-relaying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-anti-relaying/m-p/2618327#M925331</link>
      <description>Bob,&lt;BR /&gt;Upgrade to 8.9.3 and anti-relaying is automatic. You can then specify in the /etc/mail/relay-domains file which domains you want to relay if any. &lt;BR /&gt;&lt;BR /&gt;Even thought the patch for 8.9.3 has been recalled by HP, I would still use it. The reason it was recalled was that if it had more than 3000 concurrent connections it would fail. I don't know about you but our company is large and we don't get that may at a time.&lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;C</description>
      <pubDate>Wed, 21 Nov 2001 15:51:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-anti-relaying/m-p/2618327#M925331</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2001-11-21T15:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail anti-relaying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-anti-relaying/m-p/2618328#M925332</link>
      <description>The spam rulesets are uncommented, they're just not working. The same cf file blocks relaying on a test box. I can block users and domains, but the anti-relaying isn't working. It's as if the remove_local isn't working.</description>
      <pubDate>Wed, 21 Nov 2001 15:54:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-anti-relaying/m-p/2618328#M925332</guid>
      <dc:creator>Bob Davis</dc:creator>
      <dc:date>2001-11-21T15:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail anti-relaying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-anti-relaying/m-p/2618329#M925333</link>
      <description>I assume you stop/started sendmail?&lt;BR /&gt;&lt;BR /&gt;If so, why don't you post a sanitized version of sendmail.cf so we can have a look.</description>
      <pubDate>Wed, 21 Nov 2001 16:03:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-anti-relaying/m-p/2618329#M925333</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2001-11-21T16:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail anti-relaying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-anti-relaying/m-p/2618330#M925334</link>
      <description>ok I just did this fix on 8.8.6. &lt;BR /&gt;&lt;BR /&gt;Here is what you need to add and this will stop the relay.&lt;BR /&gt;Comment everything that you have for Scheck_rcpt and add this:&lt;BR /&gt;&lt;BR /&gt;Scheck_rcpt&lt;BR /&gt;# first: get client addr&lt;BR /&gt;R$+                     $: $(dequote "" $&amp;amp;{client_addr} $) $| $1&lt;BR /&gt;R0 $| $*                $@ ok                   no client addr: directly invoked&lt;BR /&gt;R$={LocalIP}$* $| $*    $@ ok                   from here&lt;BR /&gt;# not local, check rcpt&lt;BR /&gt;R$* $| $*               $: $&amp;gt;3 $2&lt;BR /&gt;# remove local part, maybe repeatedly&lt;BR /&gt;R$+                     $:$&amp;gt;removelocal $1&lt;BR /&gt;# still something left?&lt;BR /&gt;R$*&amp;lt;@$+&amp;gt;$*              $#error $@ 5.7.1 $: 550 we do not relay&lt;BR /&gt;&lt;BR /&gt;Sremovelocal&lt;BR /&gt;# remove RelayTo part (maybe repeatedly)&lt;BR /&gt;R$*&amp;lt;@$*$={RelayTo}.&amp;gt;$*  $&amp;gt;3 $1 $4&lt;BR /&gt;R$*&amp;lt;@$=w.&amp;gt;$*            $: $&amp;gt;removelocal $&amp;gt;3 $1 $3&lt;BR /&gt;R$*&amp;lt;@$*&amp;gt;$*              $@ $1&amp;lt;@$2&amp;gt;$3&lt;BR /&gt;# dequote local part&lt;BR /&gt;R$-                     $: $&amp;gt;3 $(dequote $1 $)&lt;BR /&gt;R$*&amp;lt;@$*&amp;gt;$*              $: $&amp;gt;removelocal $1&amp;lt;@$2&amp;gt;$3&lt;BR /&gt;&lt;BR /&gt;Also you can set up LocalIP and Local names dont forget to restart sendmail.&lt;BR /&gt;If you have problems post them. And make sure you back up your sendmail.cf file&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Nov 2001 16:24:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-anti-relaying/m-p/2618330#M925334</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2001-11-21T16:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail anti-relaying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-anti-relaying/m-p/2618331#M925335</link>
      <description>&lt;P&gt;Ohh ..&lt;BR /&gt;I misread your post. DOOH! ..&lt;BR /&gt;to test a mail hack from&lt;BR /&gt;telnet to your server to port 25.&lt;BR /&gt;&lt;BR /&gt;ip.add.of.server 25&lt;BR /&gt;you will get&lt;BR /&gt;Trying...&lt;BR /&gt;Connected to ip.add.of.server.&lt;BR /&gt;Escape character is '^]'.&lt;BR /&gt;&lt;BR /&gt;and then you will have a promt&lt;BR /&gt;type&lt;BR /&gt;helo mail.com&lt;BR /&gt;and you will get a hello back.&lt;BR /&gt;Then type&lt;BR /&gt;mail from:&lt;BR /&gt;you will get&lt;BR /&gt;250 ... Sender ok&lt;BR /&gt;&lt;BR /&gt;then type&lt;BR /&gt;rcpt to:&amp;lt;"yourname@domain.com"@[ip.of.mail.server]&amp;gt;&lt;BR /&gt;you will get&lt;BR /&gt;250 &amp;gt;... Recipient ok&lt;BR /&gt;type&lt;BR /&gt;data&lt;BR /&gt;you will get&lt;BR /&gt;354 Enter mail, end with "." on a line by itself&lt;BR /&gt;&lt;BR /&gt;then type your message end with a .&lt;BR /&gt;&lt;BR /&gt;test&lt;BR /&gt;.&lt;BR /&gt;250 PAA24408 Message accepted for delivery&lt;BR /&gt;quit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Or you can go to &lt;A href="http://www.ordb.org/" target="_blank" rel="noopener"&gt;http://www.ordb.org/&lt;/A&gt;&lt;BR /&gt;but if you fail then you will be denied..We were denied and I aplied that fix retested and passed,&lt;BR /&gt;let me know if you get it.&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 03:59:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-anti-relaying/m-p/2618331#M925335</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2021-05-18T03:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail anti-relaying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-anti-relaying/m-p/2618332#M925336</link>
      <description>BTW,&lt;BR /&gt;To test the anti-relaying ruleset on host A, you'll have to &lt;BR /&gt;1) be on host B that's not permitted to relay by hosta A&lt;BR /&gt;2) send a test e-mail that won't eventually get delivered to host A (i.e. host A would act as a relay).&lt;BR /&gt;&lt;BR /&gt;If you're on host A (a.com), and you gen a message from someone@b.com to someone@c.com where neither b.com or c.com are considered local by host A, you won't trip the relay rulesets, since e-mail generated locally and delivered remotely won't be considered relayed, despite what envelope headers might indicate.</description>
      <pubDate>Wed, 21 Nov 2001 18:12:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-anti-relaying/m-p/2618332#M925336</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2001-11-21T18:12:40Z</dc:date>
    </item>
  </channel>
</rss>

