<?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 question. in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sendmail-question/m-p/2881843#M3343</link>
    <description>Stewart's right but I'll add a note to his smtp conversation comments - be sure you're not doing it from somewhere that is approved for other reasons.&lt;BR /&gt;&lt;BR /&gt;Ie usually the box itself is allowed to relay based on its IP address, so your unresolvable domain won't even get checked.  To make your test valid, do it from somewhere you are sure you haven't allowed relay based on source address.  Ie telnet to port 25 from some external box.</description>
    <pubDate>Wed, 15 Jan 2003 13:53:42 GMT</pubDate>
    <dc:creator>Trever Furnish</dc:creator>
    <dc:date>2003-01-15T13:53:42Z</dc:date>
    <item>
      <title>sendmail question.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-question/m-p/2881841#M3341</link>
      <description>How to I verify that my sendmail daemon only accepts messages from valid domain names?&lt;BR /&gt;&lt;BR /&gt;I think I have that right.&lt;BR /&gt;&lt;BR /&gt;How do I make sure its doing reverse lookups to validate the IP address of senders.&lt;BR /&gt;&lt;BR /&gt;I want to screw things down tight.&lt;BR /&gt;&lt;BR /&gt;recommend changes to make sendmail daemon validate that the domain sending the mail actually exists. &lt;BR /&gt;&lt;BR /&gt;So that if schmobagel@aol.com sends me mail its accepted because aol.com exists &lt;BR /&gt;&lt;BR /&gt;But if shmuel@schmobagel.com sends me mail its rejected. &lt;BR /&gt;&lt;BR /&gt;This would be a very effective spam filter. &lt;BR /&gt;&lt;BR /&gt;What I need is as follows: &lt;BR /&gt;&lt;BR /&gt;1) A tested scenario. This means you've actually done it. I'll give points for suggestions, but if you want 10 you need to provide a tested, step by step plan run on either HP-UX or Linux. &lt;BR /&gt;&lt;BR /&gt;2) Details &lt;BR /&gt;&lt;BR /&gt;For example, add following directives to senmail.mc rebuild the hash db(I know how but does everyone else?) &lt;BR /&gt;&lt;BR /&gt;If you don't think this is possible, try sending mail to aol from an unregistered domain name, even if the sending email address is perfectly valid. Do it on the command line and see what response you get. &lt;BR /&gt;/usr/sbin/sendmail -v -d8.99 -d38.99 stevenprotter"at"juf.org (hpux mod it for linux) choose a real aol.com email address btw. &lt;BR /&gt;&lt;BR /&gt;I will not follow the rules and say this in a shout. &lt;BR /&gt;&lt;BR /&gt;I WANT MY SERVER TO DO THAT! &lt;BR /&gt;&lt;BR /&gt;Red Hat 7.3&lt;BR /&gt;&lt;BR /&gt;Linux Version number &lt;BR /&gt;&lt;BR /&gt;220 investmenttool.com ESMTP Sendmail 8.11.6/8.11.6; Tue, 14 Jan 2003 10:46:42 - &lt;BR /&gt;0600 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'm hopefully looking for TESTED sendmail.mc directives.&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2003 18:42:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-question/m-p/2881841#M3341</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-14T18:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail question.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-question/m-p/2881842#M3342</link>
      <description>I'm assuming you do *NOT* have the "FEATURE(`accept_unresolvable_domains')" un-commented in your /etc/mail/sendmail.mc ?&lt;BR /&gt;&lt;BR /&gt;Short of pumping in SMTP commands to test (which is how we do it, but then again, I like doing things by hand), I'm unsure of the best way to test things.&lt;BR /&gt;&lt;BR /&gt;About the closest thing I can see to testing senders without manually typing in SMTP conversations (two lines to get that far btw), is to use '/usr/lib/sendmail -bt', turn on resovler debugging (type '-d38.20'), then issue '/canon &lt;DOMAIN&gt;'.  It'll show the steps, and show if it fails to resovle a given domain.&lt;BR /&gt;&lt;BR /&gt;Other than that, 'telnet &lt;HOST&gt; 25', 'helo blah', then 'mail from: &lt;SOME&gt;'.  It'll reject it there if it fails.&lt;BR /&gt;&lt;BR /&gt;Hope this helps a little.&lt;/SOME&gt;&lt;/HOST&gt;&lt;/DOMAIN&gt;</description>
      <pubDate>Tue, 14 Jan 2003 22:42:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-question/m-p/2881842#M3342</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-01-14T22:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail question.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-question/m-p/2881843#M3343</link>
      <description>Stewart's right but I'll add a note to his smtp conversation comments - be sure you're not doing it from somewhere that is approved for other reasons.&lt;BR /&gt;&lt;BR /&gt;Ie usually the box itself is allowed to relay based on its IP address, so your unresolvable domain won't even get checked.  To make your test valid, do it from somewhere you are sure you haven't allowed relay based on source address.  Ie telnet to port 25 from some external box.</description>
      <pubDate>Wed, 15 Jan 2003 13:53:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-question/m-p/2881843#M3343</guid>
      <dc:creator>Trever Furnish</dc:creator>
      <dc:date>2003-01-15T13:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail question.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-question/m-p/2881844#M3344</link>
      <description>Thank you, keep the ideas coming.  I'm still trying things out.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 15 Jan 2003 13:53:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-question/m-p/2881844#M3344</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-15T13:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail question.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-question/m-p/2881845#M3345</link>
      <description>Run network sniffer to analyse DNS queries.&lt;BR /&gt;tcpdump or ethereal is my choice.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Jan 2003 04:56:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-question/m-p/2881845#M3345</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2003-01-16T04:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail question.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-question/m-p/2881846#M3346</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;To trace DNS lookups run sendmail in this debugmode.&lt;BR /&gt;&lt;BR /&gt;#sendmail -d8.8&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Fri, 17 Jan 2003 04:40:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-question/m-p/2881846#M3346</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2003-01-17T04:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail question.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-question/m-p/2881847#M3347</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Run this command&lt;BR /&gt;&lt;BR /&gt;#echo '/map host [202.156.33.23]' | sendmail -bt -d8.8&lt;BR /&gt;&lt;BR /&gt;let 202.156.33.23 be one of the server in  domain &lt;BR /&gt;you have authorised . So i reverse lookup is working properly then the DNS name of the above IP address will returned by the above command.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Jan 2003 07:37:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-question/m-p/2881847#M3347</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2003-01-17T07:37:11Z</dc:date>
    </item>
  </channel>
</rss>

