<?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 challenge!!!!! validate dns in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881675#M935009</link>
    <description>The answer is somewhat dependent on the version of sendmail you run, so I'll give you a couple of examples:&lt;BR /&gt;&lt;BR /&gt;8.11.1&lt;BR /&gt;Kresolve host -a&lt;OK&gt; -T&lt;TEMP&gt;&lt;BR /&gt;&lt;BR /&gt;Make sure the above ruleset is uncommented.  You should get this by default unless you built sendmail.cf with accept_unresolvable_domains.&lt;BR /&gt;&lt;BR /&gt;8.9.3  Uncomment these rulesets under check_mail&lt;BR /&gt;&lt;BR /&gt;# lookup IP address (reverse mapping available?)&lt;BR /&gt;# R$*&amp;lt;@[$+]&amp;gt;$*  $: $1 &amp;lt; @ $[ [ $2 ] $] &amp;gt; $3&lt;BR /&gt;# no DNS entry? this is dangerous!&lt;BR /&gt;# R$*&amp;lt;@$*$~P&amp;gt;$* $#error $@ 4.1.8 $: 418 unresolvable host name $2$3, check your&lt;BR /&gt;configuration.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(At this point, you should have enabled all of the anti-spam rulesets in sendmail.cf for 8.9.3).&lt;/TEMP&gt;&lt;/OK&gt;</description>
    <pubDate>Tue, 14 Jan 2003 16:44:31 GMT</pubDate>
    <dc:creator>Christopher Caldwell</dc:creator>
    <dc:date>2003-01-14T16:44:31Z</dc:date>
    <item>
      <title>sendmail challenge!!!!! validate dns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881670#M935004</link>
      <description>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;Regards,&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2003 15:56:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881670#M935004</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-14T15:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail challenge!!!!! validate dns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881671#M935005</link>
      <description>sendmail.mc&lt;BR /&gt;&lt;BR /&gt;I know the changes have to be partially here, so I'll give you  astarting point.&lt;BR /&gt;&lt;BR /&gt;Sorry no attachment, don't have that kind of access.&lt;BR /&gt;&lt;BR /&gt;The names if the innocent IP addresses have been randomized.&lt;BR /&gt;&lt;BR /&gt;FEATURE(use_cw_file)dnl&lt;BR /&gt;FEATURE(use_ct_file)dnl&lt;BR /&gt;dnl The '-t' option will retry delivery if e.g. the user runs over his quota.&lt;BR /&gt;FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl&lt;BR /&gt;FEATURE(`access_db',`hash -o /etc/mail/access.db')dnl&lt;BR /&gt;FEATURE(`blacklist_recipients')dnl&lt;BR /&gt;EXPOSED_USER(`root')dnl&lt;BR /&gt;dnl This changes sendmail to only listen on the loopback device 127.0.0.1&lt;BR /&gt;dnl and not on any other network devices. Comment this out if you want&lt;BR /&gt;dnl to accept email over the network.&lt;BR /&gt;DAEMON_OPTIONS(`Port=smtp,Addr=69.92.183.164, Name=MTA')&lt;BR /&gt;DAEMON_OPTIONS(`Port=smtp,Addr=69.92.183.167, Name=MTA')&lt;BR /&gt;dnl NOTE: binding both IPv4 and IPv6 daemon to the same port requires&lt;BR /&gt;dnl       a kernel patch&lt;BR /&gt;dnl DAEMON_OPTIONS(`port=smtp,Addr=::1, Name=MTA-v6, Family=inet6')&lt;BR /&gt;dnl We strongly recommend to comment this one out if you want to protect&lt;BR /&gt;dnl yourself from spam. However, the laptop and users on computers that do&lt;BR /&gt;dnl not have 24x7 DNS do need this.&lt;BR /&gt;# FEATURE(`accept_unresolvable_domains')dnl&lt;BR /&gt;FEATURE(`relay_based_on_MX')dnl&lt;BR /&gt;MAILER(smtp)dnl&lt;BR /&gt;MAILER(procmail)dnl&lt;BR /&gt;Cwinvestmenttool.com&lt;BR /&gt;Cwisnamerica.comdnl DOMAIN(investmenttool.com) dnl&lt;BR /&gt;MASQUERADE_AS(investmenttool.com)dnl&lt;BR /&gt;MASQUERADE_DOMAIN(investmenttool.com)dnl&lt;BR /&gt;MASQUERADE_DOMAIN(isnamerica.com)dnl</description>
      <pubDate>Tue, 14 Jan 2003 16:00:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881671#M935005</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-14T16:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail challenge!!!!! validate dns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881672#M935006</link>
      <description>Hi Steve,&lt;BR /&gt;&lt;BR /&gt;some points:&lt;BR /&gt;&lt;BR /&gt;- which version of sendmail are you using / do you plan to use?&lt;BR /&gt;&lt;BR /&gt;- testing the part in the from: header does not protect against spammers at all since spammers are used to forge headers&lt;BR /&gt;&lt;BR /&gt;- what you want is validating if the ip address of the system connecting to your sendmail can be resolved. and from sendmail 8.9.3 upwards this check is done always except you disable it (I think its option 9 in the sendmail gen_cf script: allow unresolvable domains).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;   Joche</description>
      <pubDate>Tue, 14 Jan 2003 16:06:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881672#M935006</guid>
      <dc:creator>Jochen Heuer</dc:creator>
      <dc:date>2003-01-14T16:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail challenge!!!!! validate dns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881673#M935007</link>
      <description>I want to do this on a HP-UX machine and a Linux machine.&lt;BR /&gt;&lt;BR /&gt;Believe it or not, I never tried it on HP-UX yet.&lt;BR /&gt;&lt;BR /&gt;I'll backup and try it on HP-UX it might give me the directives I need for Linux as well.&lt;BR /&gt;&lt;BR /&gt;Sendmail versions.&lt;BR /&gt;&lt;BR /&gt;Probably the latest.&lt;BR /&gt;&lt;BR /&gt;[1832#] what /usr/sbin/sendmail&lt;BR /&gt;/usr/sbin/sendmail:&lt;BR /&gt;         Copyright (c) 1998 HEWLETT PACKARD COMPANY and its licensors,&lt;BR /&gt;             including Sendmail, Inc., and the Regents of the&lt;BR /&gt;             University of California.  All rights reserved.&lt;BR /&gt;        version.c       8.9.3.1 (Berkeley) 8/10/2001 (PHNE_25184)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Since there is no what command on Linux, I can't answer that question so eaily.</description>
      <pubDate>Tue, 14 Jan 2003 16:14:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881673#M935007</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-14T16:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail challenge!!!!! validate dns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881674#M935008</link>
      <description>Hi Steve,&lt;BR /&gt;&lt;BR /&gt;I am not sure about Linux sendmail but doing a telnet to port 25 provides the version of sendmail / config file and the active patch level on HP-UX.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;   Jochen</description>
      <pubDate>Tue, 14 Jan 2003 16:17:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881674#M935008</guid>
      <dc:creator>Jochen Heuer</dc:creator>
      <dc:date>2003-01-14T16:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail challenge!!!!! validate dns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881675#M935009</link>
      <description>The answer is somewhat dependent on the version of sendmail you run, so I'll give you a couple of examples:&lt;BR /&gt;&lt;BR /&gt;8.11.1&lt;BR /&gt;Kresolve host -a&lt;OK&gt; -T&lt;TEMP&gt;&lt;BR /&gt;&lt;BR /&gt;Make sure the above ruleset is uncommented.  You should get this by default unless you built sendmail.cf with accept_unresolvable_domains.&lt;BR /&gt;&lt;BR /&gt;8.9.3  Uncomment these rulesets under check_mail&lt;BR /&gt;&lt;BR /&gt;# lookup IP address (reverse mapping available?)&lt;BR /&gt;# R$*&amp;lt;@[$+]&amp;gt;$*  $: $1 &amp;lt; @ $[ [ $2 ] $] &amp;gt; $3&lt;BR /&gt;# no DNS entry? this is dangerous!&lt;BR /&gt;# R$*&amp;lt;@$*$~P&amp;gt;$* $#error $@ 4.1.8 $: 418 unresolvable host name $2$3, check your&lt;BR /&gt;configuration.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(At this point, you should have enabled all of the anti-spam rulesets in sendmail.cf for 8.9.3).&lt;/TEMP&gt;&lt;/OK&gt;</description>
      <pubDate>Tue, 14 Jan 2003 16:44:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881675#M935009</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2003-01-14T16:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail challenge!!!!! validate dns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881676#M935010</link>
      <description>Its obvious I probably need a Linux post to work this out.&lt;BR /&gt;&lt;BR /&gt;A couple of interesing things.&lt;BR /&gt;&lt;BR /&gt;# FEATURE(`accept_unresolvable_domains')dnl&lt;BR /&gt;&lt;BR /&gt;I should not accept mail from unresolvable domains.  Trust me, my Linux server is getting mail from unresolvable domains.&lt;BR /&gt;&lt;BR /&gt;Is this due to forged headers?&lt;BR /&gt;&lt;BR /&gt;I'll do that.&lt;BR /&gt;&lt;BR /&gt;on UX though.&lt;BR /&gt;&lt;BR /&gt; /usr/newconfig/etc/mail/cf/cf/gen_cf&lt;BR /&gt;&lt;BR /&gt; The configuration file is: sendmail.cf.gen&lt;BR /&gt;&lt;BR /&gt; Press Return key to continue....&lt;BR /&gt;&lt;BR /&gt;I hit return&lt;BR /&gt;&lt;BR /&gt;Select the options below with space   as the separator&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1:  generate sendmail.cf with Relay ON [ Includes 9 10 13 options ]&lt;BR /&gt;2:  generate sendmail.cf with Relay OFF [ Default sendmail.cf file ]&lt;BR /&gt;3:  generate sendmail.cf with Relay_entire_domain&lt;BR /&gt;4:  generate sendmail.cf with Relay_based_on_MX&lt;BR /&gt;5:  generate sendmail.cf with Relay_hosts_only&lt;BR /&gt;6:  generate sendmail.cf with Access_db&lt;BR /&gt;7:  generate sendmail.cf with Relay_local_from&lt;BR /&gt;8:  generate sendmail.cf with Blacklist_recipients&lt;BR /&gt;9:  generate sendmail.cf with Accept_unresolvable_domains&lt;BR /&gt;10: generate sendmail.cf with Accept_unqualified_senders&lt;BR /&gt;11: generate sendmail.cf with Realtime Blackhole List&lt;BR /&gt;12: generate sendmail.cf with Loose_relay_check&lt;BR /&gt;13: generate sendmail.cf with Promiscuous_relay&lt;BR /&gt;&lt;BR /&gt;h:  Help [ Number ] [all]&lt;BR /&gt;x:  Exit from selection&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;choose option 9'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;9&lt;BR /&gt;Including accept_unresolvable_domains&lt;BR /&gt;cat: Cannot open generic-hpux10.changed: No such file or directory&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; Building .. sendmail.cf.gen  file&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/bin/m4:-:1 can't open file&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Kind of wondering whats going on here.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 14 Jan 2003 16:45:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881676#M935010</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-14T16:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail challenge!!!!! validate dns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881677#M935011</link>
      <description>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;As is the usual case, more bleeding edge.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 14 Jan 2003 16:48:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881677#M935011</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-14T16:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail challenge!!!!! validate dns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881678#M935012</link>
      <description>It would seem painfully obvious that my Linux and HP-UX mail environments should already be able to do what I want them to do.&lt;BR /&gt;&lt;BR /&gt;The Linux one is not.&lt;BR /&gt;&lt;BR /&gt;I will have to go home, and run some tests on the mail I've sucked off the server into outlook, because I don't have any examples yet.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 14 Jan 2003 17:01:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881678#M935012</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-14T17:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail challenge!!!!! validate dns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881679#M935013</link>
      <description>Few things to help - &lt;BR /&gt;&lt;BR /&gt;-give or take, the Linux and HP-UX sendmail.cf files should be _very_ similar.  The difference is mainly in delivery agents.  The rulesets you're concerned with should be the same.&lt;BR /&gt;&lt;BR /&gt;-you _don't_ want to enable this feature: &lt;BR /&gt;# FEATURE(`accept_unresolvable_domains')dnl &lt;BR /&gt;&lt;BR /&gt;-the configs are easier to see and understand on 8.11.1&lt;BR /&gt;&lt;BR /&gt;-IIRC, 8.11.1 has two checks/points of control ... 1 to see if the IP of the relay is resolvable, 1 to see if the domain portion of the sender's e-mail is resolvable</description>
      <pubDate>Tue, 14 Jan 2003 18:59:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881679#M935013</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2003-01-14T18:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail challenge!!!!! validate dns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881680#M935014</link>
      <description>The problem is not with name resolution, but spoofing.  I can forge mail from anyone, and spammers mail packages can do it better than I.&lt;BR /&gt;&lt;BR /&gt;I used to use the RBL, and it works like a champ.  There is another product called PerlMX (I think it has a new name now).  This product is an anti-spam package which I think does reverse lookups (because this is the failure), as well as spam filtering from good/valid domains.  A friend of mine just went off of the RBL sendmail options and onto perlMX.  His company bought 3 licenses and support for 3 years they were so happy with it.&lt;BR /&gt;&lt;BR /&gt;On the down side, it's a pay-for product.  On the up-side his company has reduced spam by 80%.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Tue, 14 Jan 2003 20:48:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881680#M935014</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-01-14T20:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail challenge!!!!! validate dns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881681#M935015</link>
      <description>&lt;BR /&gt;config problem:&lt;BR /&gt;&lt;BR /&gt;# FEATURE(`accept_unresolvable_domains')dnl&lt;BR /&gt;&lt;BR /&gt;In m4 template files, # does not comment out macros. Use dnl like so:&lt;BR /&gt;&lt;BR /&gt;dnl FEATURE(`accept_unresolvable_domains')dnl&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Or delete the line completely and rebuild the cf file.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Jan 2003 18:06:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-challenge-validate-dns/m-p/2881681#M935015</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2003-01-15T18:06:14Z</dc:date>
    </item>
  </channel>
</rss>

