<p>IIRC this was never detailed in the main site, but rather in the wiki (<a href="http://wiki.mailscanner.info">http://wiki.mailscanner.info</a>)... Somewhere under the docs for the respective MTA...<br>
The script you refer to was most likely for Postfix, but ISTR someone adapting that for Sendmail use, but the bottom line is that nowadays... Neither MTA needs that hack. In Sendmail, use a milter (there are more than one that will do this, at least some that are FOSS;-), in Postfix use the docs for recipient verification as found in the postconf man page/ob the <a href="http://postfix.org">postfix.org</a> site (it might still be in the sender address verification doc there... don&#39;t do that, just the recipient bit)... Or, as said, look in the wiki (might be slightly dated info there;-).</p>

<p>Having said all that, I personally still use a homegrown script around the open-ldap tools and postmap, more for historical reasons/lazyness tgan anything else. The reason for it all dates back to the time when I was protecting an Exchange 5.5 which was managed by a contrary fellow who wouldn&#39;t even try make it correctly reject unknown recipients. Now... I&#39;m in charge of the Exchange bit too, and the defaults for that MTA has changed, so it will reject as expected (that too changed quite a few versions back...  In Exchange 2000, IIRC:-).</p>

<p>Cheers<br>
-- <br>
-- Glenn</p>
<div class="gmail_quote">Den 21 nov 2012 23:24 skrev &quot;Jonas Lilja&quot; &lt;<a href="mailto:jonas.lilja@sigma.se">jonas.lilja@sigma.se</a>&gt;:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div lang="SV" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US">Hi, for a couple of years ago there was a guide on <a href="http://mailscanner.info" target="_blank">mailscanner.info</a> about restricting the MTA (Sendmail) to only deliver email to valid users in an Exchange environment. This made the performance of the server much better
 because either MailScanner or Spamassassin need to process invalid emails.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I remember that there was a perl-script which picked up the content from a textfile (with all smtp-addresses in the domain) and then build a special file in /etc/mail/<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I can’t find this guide on the site. Anyone who can help me?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">BR /Jonas Lilja<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
<br></blockquote></div>